Forum Replies Created
-
AuthorPosts
-
kroyContributor
As you have in the link above: edit file rc.local (
sudo vim /etc/rc.local
) and add line:/sbin/iptables -P INPUT ACCEPT` to accept all inbound traffic
or add to rc.local only NoMachine ports:
/sbin/iptables -A INPUT -p udp -m multiport --dports 5353 -j ACCEPT /sbin/iptables -A INPUT -p tcp -m multiport --dports 4000 -j ACCEPT
kroyContributorProbably iptables isn’t started after installation. You can logout from the xfce desktop and run and it again (
startxfce4
or other command which you are using), then start nxserversudo /usr/NX/bin/nxserver --start
.kroyContributorHi.
Logs will no longer be necessary because it’s easily reproducible, but it is not NoMachine related.Please try that solution from crouton wiki: https://github.com/dnschneid/crouton/wiki/Running-servers-in-crouton.
Install iptables:
sudo apt-get install iptables
When service would start – restart nxserver:
sudo /usr/NX/bin/nxserver --restart
Then you should be able to find your machine in the local network and connect there.
kroyContributorDo you have enabled “Prevent computer from sleeping automatically when the display is off” in the Mac Energy Saver settings? It looks like your computer is set to sleep after 10 minutes. To avoid this enable that option.
Attachments:
kroyContributorWhat is your router model? Can you check if UPnP is enabled in router settings?
If problem still appears enable logs on server side (https://www.nomachine.com/DT10O00162#1), restart nxserver, open CMD as an administrator and execute commands:
cd %ProgramFiles(x86)%\NoMachine\bin nxserver --upnpmap
and send output and collected logs to forum[at]nomachine[dot]com.
January 7, 2020 at 11:54 in reply to: Problems connecting to office PC from Windows 10 at home #25116kroyContributorI cannot connect in either direction.
Something have broken, earlier you wrote that you could connect from office to home. Maybe IP was changed. Are you sure that you chose properly address?
Additionally please verify if the IP address which you are trying to connect is indeed that machine public IP (for example there: https://www.whatismyip.com/). If not – it could indicates that you have a double NAT networking. Which means that NoMachine has to go through two or more routers. In that case you need to set up separate port forwarding rules on each device.
It will be possible to skip these steps with NoMachine Network feature (https://www.nomachine.com/FR07J02731) which is coming soon.
kroyContributorSorry for that, it should be server.cfg file. It’s in the same place – InstallationDirectory/NoMachine/etc/.
kroyContributorAre you sure if you ware able to connect before update? If there wasn’t any changes with router configuration you should be still able to connect there.
Can you check if there is
EnableUPnP NX
set in the node.cfg file? You can find it in InstallationDirectory/NoMachine/etc/ folder and edit as text file. If there is “none” value or it is commented out (line is beginning with # char) – you need set there “NX” value or uncomment key (delete # from line beginning). Then restart nxserver (click on NoMachine icon on the system tray -> Show the service status -> Restart the nxserver)If this is not the case, please open cmd as an administrator, navigate to InstallationDirectory/NoMachine/bin and execute command
nxserver --upnpstatus
. It should print External IP and port which you should use to connect.December 30, 2019 at 11:05 in reply to: Problems connecting to office PC from Windows 10 at home #25048kroyContributorDo you have enabled UPnP function on the office router? If yes – you should follow instructions from “Using NoMachine for remote access to a computer over the internet” section on the https://www.nomachine.com/getting-started-with-nomachine. If no – you should ask administrator of your office network to forward port manually.
If you have permission to change your router configuration, you can just enable UPnP or forward port manually by passing traffic to port 4000 (NX protocol). Follow your router instruction to know how to do that (guide you can also find in the internet, for example from there: https://portforward.com/asus/rt-ac68p/).
kroyContributorStill you can get IP from there: https://www.nomachine.com/DT10O00155#2 (it should be done on remote machine). When connecting on local network – the server should be listed on connection list in the nxplayer on the connecting client (https://www.nomachine.com/finding-other-nomachine-computers-on-the-same-network). If client is on other network – you need to use external IP and port to connect.
kroyContributorIs it the same network? If yes – you need to connect on local IP, It you want to connect over internet. Take a look to the “Using NoMachine for remote access to a computer over the internet” section on https://www.nomachine.com/getting-started-with-nomachine.
kroyContributorAre you using external IP and port to connect?
Please refer to the instructions in “Using NoMachine for remote access to a computer over the internet” (https://www.nomachine.com/getting-started-with-nomachine) to get external IP and port.
Perfect solution for you may also be NoMachine Network feature (https://www.nomachine.com/FR07J02731) which is coming soon.
kroyContributorThere shouldn’t be any problem to connect if you are using a mobile network on the client side. The only condition is that you must have installed NoMachine on the server side and configured to have access to the desktop over the internet (https://www.nomachine.com/AR11L00827).
kroyContributorWhich audio framework do you have installed? Please try use workaround from the article:
kroyContributorThere probably remains of a previous installation. To remove NoMachine completely use commands:
sudo dpkg --purge nomachine
sudo rm -rvf /usr/NXThen check a machine hardware architecture:
uname -a
If it shows: x86_64 – you should install amd64.deb package. If for some reason problem shows again – logs you can find in /usr/NX/var/log.
-
AuthorPosts