LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-04-2010, 07:40 PM   #1
nsx241
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Nomachine on RHEL 4/5 - Timeout in session download


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.
 
Old 01-04-2010, 09:52 PM   #2
nsx241
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Some additional info from the nx session file:

Code:
ShadowMode=0
ServerStatusDump=NXSERVER - Version 3.4.0-8 - LFE?0aMon Jan  4 18:40:35 2010 run
ning as user: 'nx' (uid: 499, pid: 9415) on 'dadvml0117'?0aInfo: user login is n
isong (NXShell)?0aInfo: user password is '******' (NXShell)?0aInfo: using 'sshd
authentication' (NXShell)?0aInfo: selected user 'nisong' is authenticated (NXNod
eExec)?0aInfo: password for selected user is in 'text' mode (NXNodeExec)?0aInfo:
 preferred auth method is '' (NXNodeExec)?0aInfo: selected NX Node with host nam
e 'localhost', port '22' (NXNodeExec)?0aInfo: selected publickey method to login
 NX Node (NXNodeExec)?0aInfo: nxssh command line is '/usr/NX/bin/nxssh -nxserver
mode -l nisong localhost -p 22 -x -2 -i /usr/NX/etc/keys/node.localhost.id_dsa -
o 'PubkeyAuthentication yes' -o 'RSAAuthentication yes' -o 'RhostsAuthentication
 no' -o 'PasswordAuthentication no' -o 'RhostsRSAAuthentication no' -o 'StrictHo
stKeyChecking no' /usr/NX/bin/nxnode' (NXNodeExec)?0aInfo: nxssh child pid is: 9
465 (NXNodeExec)?0aInfo: received data in out channel from NX Node: 'NX?3e 204 A
uthentication failed.?0a' (NXNodeExec)?0aInfo: NX Node err channel was closed (N
XNodeExec)?0aError: received message 'Authentication Failure' from nxssh (NXNode
Exec)?0aInfo: closing nxssh's in, out, err FDs (flagfinished is: 1) (NXNodeExec)
?0aError: failed to authenticate on NX Node (NXNodeExec)?0aInfo: trying next aut
hentication method. (NXNodeExec)?0aInfo: selected NX Node with host name 'localh
ost', port '22' (NXNodeExec)?0aInfo: selected password method to login NX Node (
NXNodeExec)?0aInfo: now retrying to authenticate with 'password' on NX Node (NXN
odeExec)?0aInfo: nxssh command line is '/usr/NX/bin/nxssh -nxservermode -l nison
g localhost -p 22 -x -2 -o 'PasswordAuthentication yes' -o 'PubkeyAuthentication
 no' -o 'RhostsAuthentication no' -o 'RSAAuthentication no' -o 'RhostsRSAAuthent
ication no' -o 'StrictHostKeyChecking no' /usr/NX/bin/nxnode' (NXNodeExec)?0aInf
o: nxssh child pid is: 9468 (NXNodeExec)?0aInfo: received data in out channel fr
om NX Node: 'NX?3e 205 nisong@localhost's password: ' (NXNodeExec)?0aInfo: recei
ved request for password from nxssh, user password sent (NXNodeExec)?0aInfo: rec
eived data in out channel from NX Node: '?0a' (NXNodeExec)?0aInfo: Removing not
recognized buffer from stdout:?5b?0a?5d (NXNodeExec)?0aError: reached timeout of
 60s. Operation in NX Node aborted. (NXNodeExec)?0aError: no 'CONNECTED' message
 from NX Node (NXNodeExec)?0a
So it looks like it's looking for the "Connected" message for nxnode, but instead it's receiving '?0a' (?) and some other weird characters. What could be causing this? Missing fonts?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NOMACHINE: NX client error: 'connection timeout' cucolin@ Linux - Software 14 06-06-2013 06:37 PM
nomachine timeout jonniebigodes Linux - Software 1 06-08-2008 05:46 PM
Timeout session moinpasha Linux - Security 3 12-28-2006 10:21 AM
Samba session timeout ?? ALInux Linux - Networking 0 04-28-2006 04:01 PM
GnuCash via FreeNX (NoMachine) KDE session jst1 SUSE / openSUSE 0 08-19-2005 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration