Forum / NoMachine for Linux / Google Compute Engine Ubuntu 16.04 "Failed to determine the client IP"
Tagged: Google cloud
- This topic has 4 replies, 3 voices, and was last updated 8 years, 4 months ago by Britgirl.
-
AuthorPosts
-
August 12, 2016 at 11:06 #12073vvvParticipant
I am trying to get version NoMachine 5.1.44 free version working on Google Compute Engine. The client hangs with message “Connecting to …”. Version of ubuntu on client and server is 16.04, Gnome desktop is installed on the server (VNC/X11 forwarding works fine)
On the server nxerror.log
Info: Handler started with pid 20769 on Fri Aug 12 09:33:06 2016.
Info: Handling connection from XXX.XXX.XXX.XXX port 49138 on Fri Aug 12 09:33:06 2016.
20786 20786 09:33:24 999.951 Ancillary: ERROR! No socket connection in the given time.On the server nxserver.log
2016-08-12 09:33:09 455.953 20769 NXSERVER User ‘XXXXX’ logged in from ‘XXX.XXX.XXX.XXX’ using authentication method password.
2016-08-12 09:33:19 981.227 20786 NXSERVER ERROR! Failed to determine the client IP
2016-08-12 09:33:19 981.349 20786 NXSERVER ERROR! Variables NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not provided.
2016-08-12 09:33:19 981.413 20786 NXSERVER ERROR! Please set SSHDCheckIP=1 if you want to refuse the connection.
2016-08-12 09:33:19 981.474 20786 NXSERVER ERROR! Failed to get remote port. Environment NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not set
2016-08-12 09:33:19 981.530 20786 NXSERVER ERROR! Failed to get local IP. Remote IP is 0.
2016-08-12 09:33:19 985.208 20786 NXSERVER ERROR! Wrong process id, received pid 0.
2016-08-12 09:33:19 985.283 20786 NXSERVER WARNING! Could not get SSHD PID: Process 0 does not have expected name.
2016-08-12 09:33:19 987.393 20786 NXSERVER ERROR! Cannot save forward server pid. ‘value’ for key sshdPid cannot be null
2016-08-12 09:33:25 001.749 20786 NXSERVER ERROR! Cannot yield descriptor 9. Error is 0 Success No error
2016-08-12 09:33:25 001.911 20786 NXSERVER ERROR! Failed to yield descriptor FD#9 with socket path /tmp/session-E83C0F8D5CD8A6E0CEF2E883DFF641A4.
2016-08-12 09:33:25 001.993 20786 NXSERVER ERROR! Cannot start local node.
2016-08-12 09:33:25 005.990 20786 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: Last operation failed.’August 16, 2016 at 07:45 #12078vvvParticipantStrange, works fine if evaluation Workstation 5.1.44_2 version is used on the server instead of the free version.
August 16, 2016 at 07:49 #12084maxParticipantI’m getting the same error on Google Compute Engine (Ubuntu 14.04.5 LTS, xfce (configured ‘DefaultDesktopCommand “/usr/bin/X11/startxfce4″‘ like described here: https://www.nomachine.com/AR07K00676)). I would be super thankful for a solution.
2016-08-15 09:55:35 660.425 22963 NXSERVER ERROR! Failed to determine the client IP
2016-08-15 09:55:35 660.630 22963 NXSERVER ERROR! Variables NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not provided.
2016-08-15 09:55:35 660.737 22963 NXSERVER ERROR! Please set SSHDCheckIP=1 if you want to refuse the connection.
2016-08-15 09:55:35 660.850 22963 NXSERVER ERROR! Failed to get remote port. Environment NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not set
2016-08-15 09:55:35 660.949 22963 NXSERVER ERROR! Failed to get local IP. Remote IP is 0.
2016-08-15 09:55:35 664.559 22963 NXSERVER ERROR! Wrong process id, received pid 0.
2016-08-15 09:55:35 664.702 22963 NXSERVER WARNING! Could not get SSHD PID: Process 0 does not have expected name.
2016-08-15 09:55:35 666.873 22963 NXSERVER ERROR! Cannot save forward server pid. ‘value’ for key sshdPid cannot be null
2016-08-15 09:55:40 680.835 22963 NXSERVER ERROR! Cannot yield descriptor 9. Error is 0 Success No error
2016-08-15 09:55:40 681.066 22963 NXSERVER ERROR! Failed to yield descriptor FD#9 with socket path /tmp/session-3BC71485165ACD70ABA4DF25343E9913.
2016-08-15 09:55:40 681.239 22963 NXSERVER ERROR! Cannot start local node.
2016-08-15 09:55:40 685.105 22963 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: Last operation failed.’
2016-08-15 09:55:54 433.996 22849 NXSERVER ERROR! Cannot acquire descriptor from pid 22963. Error is: 2 ENOENT No such file or directory
2016-08-15 09:55:54 434.252 22849 NXSERVER WARNING! Failed to acquire descriptor from server 22963 and /tmp/session-3BC71485165ACD70ABA4DF25343E9913.
August 18, 2016 at 13:40 #12118BritgirlKeymasterThe problem with the connection to the server for Google Cloud is related to a bug in NoMachine. This is the same error in both cases on Ubuntu 16.04 with Gnome and Ubuntu 14.04 with Xface. A possible workaround is to set key EnableUPnP from “NX” to “none” in the server.cfg file.
August 22, 2016 at 08:28 #12141BritgirlKeymasterWe’ve opened a Trouble Report which you can see here: https://www.nomachine.com/TR08N07141. Check the ‘notify me’ box to know when a fix has been released.
-
AuthorPosts
This topic was marked as solved, you can't post.