Cannot connect to nxserver

Forums / NoMachine for Linux / Cannot connect to nxserver

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11958
    Avatarapigeon
    Participant

    Hi,

    I’m running the latest NX Server (5.1.42) on Red Hat Enterprise Linux Server release 7.1 (Maipo) and the client on Windows 8.1. Both are the free version. When I try to connect to the server, on the client side, it just hangs on “Connecting to <hostname>”. I’m using the default setting (and using the NX protocol – the SSH protocol is not supported with the free version). Below is a snippet from the nxserver.log. Any ideas?

     

    Thanks!

    nxserver.log

    2016-07-28 15:00:27 554.831 13124 NXSERVER User ‘myuser’ logged in from ‘10.143.123.456’ using authentication method password.

    2016-07-28 15:00:28 258.328 13141 NXSERVER ERROR! Failed to determine the client IP

    2016-07-28 15:00:28 258.425 13141 NXSERVER ERROR! Variables NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not provided.

    2016-07-28 15:00:28 258.479 13141 NXSERVER ERROR! Please set SSHDCheckIP=1 if you want to refuse the connection.

    2016-07-28 15:00:28 258.535 13141 NXSERVER ERROR! Failed to get remote port. Environment NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not set

    2016-07-28 15:00:28 258.617 13141 NXSERVER ERROR! Failed to get local IP. Remote IP is 0.

    2016-07-28 15:00:28 262.536 13141 NXSERVER ERROR! Wrong process id, received pid 0.

    2016-07-28 15:00:28 262.617 13141 NXSERVER WARNING! Could not get SSHD PID: Process 0 does not have expected name.

    2016-07-28 15:00:28 264.670 13141 NXSERVER ERROR! Cannot save forward server pid. ‘value’ for key sshdPid cannot be null

    2016-07-28 15:00:29 263.716 13158 NXNODE   ERROR! Application terminated too early.

    2016-07-28 15:00:30 103.217 13158 NXNODE   WARNING! nxclient –monitor is not running, sending message aborted.

    2016-07-28 15:00:30 103.549 13158 NXNODE   Previous message repeated 8 times

    2016-07-28 15:00:30 103.593 13158 NXNODE   ERROR! NXClient stopped during connect, skip change status.

    2016-07-28 15:00:30 103.941 13141 NXSERVER ERROR! Node reported monitor failure. Killing attached sessions.

    2016-07-28 15:00:31 105.725 13158 NXNODE   ERROR! PulseAudio with pid 13273 did not finish after terminate within ‘1’ second.

    2016-07-28 15:00:31 107.026 13158 NXNODE   WARNING! Process ‘/bin/pulseaudio –high-priority=no’ with pid ‘13273/13273’ finished with signal 9 after 2,104 seconds.

    2016-07-28 15:00:51 621.589 13124 NXSERVER User ‘myuser’ from ‘10.143.123.456’ logged out.

    2016-07-28 15:01:50 210.784 13628 NXSERVER User ‘myuser’ logged in from ‘10.143.123.456’ using authentication method password.

    2016-07-28 15:01:50 887.469 13645 NXSERVER ERROR! Failed to determine the client IP

    2016-07-28 15:01:50 887.556 13645 NXSERVER ERROR! Variables NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not provided.

    2016-07-28 15:01:50 887.612 13645 NXSERVER ERROR! Please set SSHDCheckIP=1 if you want to refuse the connection.

    2016-07-28 15:01:50 887.683 13645 NXSERVER ERROR! Failed to get remote port. Environment NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not set

    2016-07-28 15:01:50 887.804 13645 NXSERVER ERROR! Failed to get local IP. Remote IP is 0.

    2016-07-28 15:01:50 890.961 13645 NXSERVER ERROR! Wrong process id, received pid 0.

    2016-07-28 15:01:50 891.035 13645 NXSERVER WARNING! Could not get SSHD PID: Process 0 does not have expected name.

    2016-07-28 15:01:50 892.913 13645 NXSERVER ERROR! Cannot save forward server pid. ‘value’ for key sshdPid cannot be null

    2016-07-28 15:01:51 898.985 13662 NXNODE   ERROR! Application terminated too early.

    2016-07-28 15:01:52 790.589 13662 NXNODE   WARNING! nxclient –monitor is not running, sending message aborted.

    2016-07-28 15:01:52 790.959 13662 NXNODE   Previous message repeated 8 times

    2016-07-28 15:01:52 791.019 13662 NXNODE   ERROR! NXClient stopped during connect, skip change status.

    2016-07-28 15:01:52 791.951 13645 NXSERVER ERROR! Node reported monitor failure. Killing attached sessions.

    2016-07-28 15:01:53 793.092 13662 NXNODE   ERROR! PulseAudio with pid 13779 did not finish after terminate within ‘1’ second.

    2016-07-28 15:01:53 794.250 13662 NXNODE   WARNING! Process ‘/bin/pulseaudio –high-priority=no’ with pid ‘13779/13779’ finished with signal 9 after 2,167 seconds.

     

    #11967
    AvatarBritgirl
    Keymaster

    It looks as if you don’t have a desktop environment installed. NoMachine looks for the default desktop on Linux and configures everything for you. If you don’t have a DE you need to install one. You can either install a DE, then set the following key manually:

    DefaultDesktopCommand in node.cfg e.g DefaultDesktopCommand “/etc/gdm/Xsession gnome-session'”

    or if you don’t want to do it manually, you can uninstall NoMachine, install the DE such as Gnome or KDE, then reinstall NM.

    More information is available here: https://www.nomachine.com/AR10K00710

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.