Forum Replies Created
February 27, 2017 at 08:48 in reply to: NoMachine on Centos – Centos desktop auto logs out, then login fails #13886powerblueParticipant
I’m connecting to NoMachine running on a Centos vps from NoMachine client running on Mac. I was able to login previously but now after rebooting the Centos vps, when I attempt to login there is an error: “Waiting for the desktop user to authorize your connection”.February 20, 2017 at 08:24 in reply to: Connect to NoMachine running on a Centos Linux vps, connecting from a Mac #13815powerblueParticipant
Thanks for the response. It appears to work now that I installed the new version, I didn’t have to change any configs at all for the nxserver.
//Install newest version:
tar xvzf nomachine_5.2.11_1_x86_64.tar.gz
//Open port 4000 in the firewall, I used WHM using CSF firewall plugin to do this.
//Check if the nxserver daemon is listening:
netstat -anlp | grep :4000
//Check if the nxserver is running:
ps aux | grep -i nxserver
//Commands to start, stop, and restart, if needed:
service nxserver start
service nxserver stop
//Since the free version of nxserver doesn’t support ssh connections you have to set up an ssh tunnel and use the NX protocol to connect instead. Using the terminal on local mac:
ssh -L 4003:localhost:4000 firstname.lastname@example.org
//Then open the NoMachine client (GUI) and edit the connection to use NX protocol and port 4000, then after trying to connect it worked for me perfectly.