I've installed the latest no machine rpms from nomachine. Status shows that nx server is running:
Code:
[nisong@dadvml0117: ~]$ sudo /usr/NX/bin/nxserver --status
Password:
NX> 900 Connecting to server ...
NX> 110 NX Server is running.
NX> 999 Bye.
However, connecting from a windows client, I get the following:
Code:
NX> 203 NXSSH running with pid: 4460
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 10.229.175.54 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 3.4.0-8 - LFE
NX> 105 Hello NXCLIENT - Version 3.4.0
NX> 134 Accepted protocol: 3.4.0
NX> 105 Set shell_mode: shell
NX> 105 Set auth_mode: password
NX> 105 Login
NX> 101 User: nisong
NX> 102 Password: *************
NX> 103 Welcome to: dadvml0117 user: nisong
NX> 105 Listsession --user="nisong" --status="suspended\054running" --geometry="1920x1200x32+render" --type="unix-gnome"
NX> 127 Available sessions:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: nisong
NX> 105 Start session with: --link="wan" --backingstore="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="Linux" --type="unix-gnome" --geometry="1280x1024" --client="winnt" --keyboard="pc102\057en_US" --screeninfo="1280x1024x32+render"
NX> 280 Exiting on signal: 15
So I get past authentication, but it then times out during session download. And here's the output from /var/log/messages on the server:
Code:
Jan 4 17:14:21 dadvml0117 sudo: nisong : TTY=pts/1 ; PWD=/home/nisong ; USER=root ; COMMAND=/usr/NX/bin/nxserver --restart
Jan 5 01:15:28 dadvml0117 NXSERVER-3.4.0-8[7415]: User 'nisong' logged in from '130.35.50.39'. 'NXLogin::set'
Jan 5 01:15:28 dadvml0117 NXSERVER-3.4.0-8[7415]: Selected node host:localhost with port:22 'main::selectNode'
Jan 5 01:15:28 dadvml0117 NXSERVER-3.4.0-8[7415]: Current selected node: localhost is in status: running 'main::selectNode'
Jan 5 01:15:28 dadvml0117 NXSERVER-3.4.0-8[7415]: Selected session type: unix-gnome allowed in the profile of user: nisong 'NXShell::Static'
Jan 5 01:15:28 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: nxssh process exited with '255' 'NXNodeExec::exec'
Jan 5 01:16:28 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: Reached timeout of 60s. Operation in NX Node aborted. 'NXNodeExec::exec'
Jan 5 01:16:28 dadvml0117 NXSERVER-3.4.0-8[7415]: killing nxssh process '7468' with signal '9' 'NXNodeExec::exec'
Jan 5 01:16:30 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: process with pid '7468' has died 'WaitProcess::waitProcess'
Jan 5 01:16:30 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: nxssh process died with signal '9' 'NXNodeExec::exec'
Jan 5 01:16:30 dadvml0117 NXSERVER-3.4.0-8[7415]: Received 'PIPE' signal: this signal is ignored by NX Server 'main::Static'
Jan 5 01:16:31 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: (exception id 7ADC4741) Error: no 'CONNECTED' message from NX Node
Jan 5 01:16:31 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: (exception id 7ADC4741) NXNodeExec::exec('startsession', 'user=nisong&userip=130%2e35%2e50%2e39&uniqueid=36C6180EA849058C1...', 'localhost', 22) called at handlers/nxserver.pl line 3575
Jan 5 01:16:31 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: (exception id 7ADC4741) NXShell::handler_session_start('--link="wan" --backingstore="1" --cache="16M" --images="64M" --s...') called at NXShell.pm line 373
Jan 5 01:16:31 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: (exception id 7ADC4741) NXShell::handle_command('startsession', '--link="wan" --backingstore="1" --cache="16M" --images="64M" --s...') called at NXShell.pm line 145
Jan 5 01:16:31 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: (exception id 7ADC4741) NXShell::run() called at nxserver.pl line 4493
Jan 5 01:16:31 dadvml0117 NXSERVER-3.4.0-8[7415]: ERROR: (exception id 7ADC4741) eval {...} called at nxserver.pl line 4452
Jan 5 01:16:31 dadvml0117 NXSERVER-3.4.0-8[7415]: Received 'PIPE' signal: this signal is ignored by NX Server 'main::Static'
Jan 5 01:16:32 dadvml0117 NXNODE-3.4.0-6[7503]: ERROR: Failed to send message: NX> 1000 NXNODE - Version 3.4.0-6 : write to STDOUT failed: Broken pipe main::send_response_message nxnode 5525
The only strange thing I've noticed (other than the error messages) is that the log messages for NXServer/NXnode have a date of Jan 5, yet the correct system time should be Jan 4 as seen in the first message.
Any suggestions appreciated. Note this is happening on both my RHEL 4 and RHEL 5 machines.