Forum Replies Created
-
AuthorPosts
-
December 1, 2021 at 18:56 in reply to: Ooops! The connection with the server was shut down via webplayer #36508
irek
ParticipantHello ddrucker,
if the NoMachine network daemon (nxd) is configured on the server to listen on a different port, it’s necessary to modify the web connection settings as you probably already did.
But also it’s necessary to modify
client.crt
file.Assuming hots wasnt changed, and in Server Section is used
localhost
or127.0.0.1
,
but NXD port changed to 4400
”Update the client.crt file, on Linux
/var/NX/nxhtd/.nx/config/client.crt
, to have:Host:localhost 4400 -----BEGIN CERTIFICATE----- (...) -----END CERTIFICATE----- Host:127.0.0.1 4400 -----BEGIN CERTIFICATE----- (...) -----END CERTIFICATE-----
Please check article bellow for more details,
irek
ParticipantHello k.gorbachev,
ensure that ownership (nxhtd:nxhtd) and permissions (700, on Linux and Mac) are preserved for the new connection file.
Please check by executing:
ls -lah /usr/NX/share/config
To set proper ownership and permissions on Linux or Mac:
chown nxhtd:nxhtd cfm.nxs chmod 0700 cfm.nxs
For instructions please see: https://knowledgebase.nomachine.com/DT11R00193
irek
ParticipantHello Girgburg,
you wrote:
but when I try to replace “none” with “for users connecting with the NX protocol”
to be sure, can you please make sure that key
EnableUPnP
in server.cfg is set only toNX
,
so the whole line would looks like:EnableUPnP NX
if not, please change to be like above.
UPnP/NAT-PMP port mapping is enabled by default in NoMachine (free) version
Please also make sure that on your router device, UPnP is enabled.
If not, you will have to enable UPnP.Then on Windows: start cmd.exe as root (Administrator) and execute those commands
# To start port mapping:
"C:\Program Files (x86)\NoMachine\bin\nxserver.exe" --upnpmap
#To display status and ports:
"C:\Program Files (x86)\NoMachine\bin\nxserver.exe" --upnpstatus
irek
ParticipantHello jxu,
we would need to collect debug logs.
Restart router, wait till it finish and repeat all the steps on both machines, Linux and Mac:1 Enable debug and restart nxserver:
”
sudo /etc/NX/nxserver –debug –enable all
sudo /etc/NX/nxserver –restart
”2 Reproduce the problem
”
sudo /etc/NX/nxserver –upnpmap
sudo /etc/NX/nxserver –upnpstatus
”3 Collect logs and disable debug:
”
sudo /etc/NX/nxserver –debug –collect
sudo /etc/NX/nxserver –debug –disable all
sudo /etc/NX/nxserver –restart
”4 Please send to us also server.cfg files from both machines, Linux and Mac.
This article explains how to collect the logs: https://knowledgebase.nomachine.com/DT11R00181
Please attach logs to your reply here or you can send them to forum[at]nomachine[dot]com making sure to use the topic’s title in the subject.irek
ParticipantHello jxu,
– as first stop/disable zerotier service.
– then to disconnect its interface please try this command:
”
nmcli device disconnect ztbpamnldl
”– check if this interface id disconnected, by:
”
nmcli device status
”when all goes ok, and there will be only one interface enabled/connected,
restart nxserver, reproduce and please let us know if this helps:”
sudo /etc/NX/nxserver –restart
sudo /etc/NX/nxserver –upnpmap
sudo /etc/NX/nxserver –upnpstatus
“irek
ParticipantHello jxu,
on Linux machine I see those 2 interfaces
”
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.7 netmask 255.255.255.0 broadcast 192.168.0.255ztbpamnldl: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2800
inet 10.147.19.222 netmask 255.255.255.0 broadcast 10.147.19.255
”could you please, for test purpose, disable/remove ‘ztbpamnldl’ interface,
so there will be only one ‘wlp2s0’ like on Mac os.May I ask what is this ‘ztbpamnldl’ interface?
Then restart nxserver, reproduce and please let us know if this helps:
”
sudo /etc/NX/nxserver –restart
sudo /etc/NX/nxserver –upnpmap
sudo /etc/NX/nxserver –upnpstatus
“irek
ParticipantHello jxu,
we would need some more information:
Can you describe the network infrastructure
– router model / version
– is there more than one router / network interfaces on which Linux machine is connected?
– are both machines connected to the same router, both over wifi/lan or mixed?To list all interfaces on Mac and Linux, you can execute in terminal following command and show here the ouput:
”
ifconfig -a
“irek
ParticipantHello Fedour,
we do not support UPnP for IPv6
You will have to configure the router manually through its administrative interface and set there Port Opening/Port Forwarding.
Some general guidelines you can find in this article:
https://www.nomachine.com/AR10R01099#2.3irek
ParticipantHello cadavis22,
we could not reproduce this issue.
Could you try gather logs with steps from here?
https://www.nomachine.com/DT10O00162#1It must be done in cmd as administrator user.
After enabled logs, please reproduce issue, and then gather the logs.
Please send to us also htd.cfg and server.cfg configuration files.If it is possible, could you try nxplayer to connect to the same host,
to see if this works?Please send the logs to forum[at]nomachine[dot]com using the title of this forum’s thread as the mail’s subject.
irek
ParticipantHello ziomario,
There is known issue, when you change GW port from GUI, and after that changed service status, like restart/stop/start, it won’t save that port.
However, when you change GW port from GUI and then simply “go back”, without changing service’s status, it should works.
So if you could please try this one – open GUI, change GW port, and just after it simply “go back”. Then return to that section and check if changes was saved?
For other ways how to change GW port please refer to https://www.nomachine.com/AR10R01099#4.1
irek
ParticipantHello ziomario,
may I ask what version are you using, and if it is not not the latest one could you upgrade to the last one?
We recently fixed a problem with UPnP portOtherwise please tell us on what Os does it happen, how exactly do you change “Gateway” port,
and how do you check it use old one [ by calling ‘nxserver –upnpstatus’ command maybe? ].irek
ParticipantHello buzz,
this is a known issue and a fix should be in the next release.
irek
ParticipantHello bsper2,
unfortunately there is no other way.
It’s a client side setting, the only option is to change the CFG of all clients, wherever they are.
Maybe the best thing for you could be distributing a CFG for all users, so they could copy it in $HOME/.nx/config
on their side.
Please also remember to change that setting on server side for each and every user in their “$HOME/.nx/config” directory.irek
ParticipantHello bsper2,
I’ve logged into all five of our servers running NoMachine and confirmed that the “Don’t show other computers on the network” player preferences setting was already unchecked. Also verified all servers had the “Advertise this compute on the local network” setting unchecked.
It’s correct that the key “Advertise this compute on the local network” is unchecked.
However, another key “Don’t show other computers on the network” should be checked.
So please change that to be checked (like in the screenshot 2).
To stop all MDNS traffic, you should have on player’s services panel on each host like screenshot 1,
and on the Player preferences like screenshot 2.Are all your players and servers set to this?
The important thing is that you apply them an all machines of your network on which you don’t want to have mDNS.
Attachments:
irek
ParticipantHello bsper2,
We could not reproduce this issue in your evironment.
Please gather logs and send them to us. Please follow the article on how to enable debug:
https://www.nomachine.com/DT10O00163 (“How to gather debug logs for support requests”)
Then please do:
sudo /etc/NX/nxserver --restart
and reproduce the problem. Then please gather the logs either manually or by executing:
sudo /etc/NX/nxserver --debug --collect
Please send the logs to forum[at]nomachine[dot]com using the title of this forum’s thread as the mail’s subject.
-
AuthorPosts