[FreeNX-kNX] Successful connection, but then nothing?

zaven gzaven at gmail.com
Wed Apr 4 07:11:02 UTC 2007


Hi all,

I'm hoping someone here can help, since I'm *so* close to having this
work :-) I have nxclient 2.1.0-17 on my RHEL5 box, and nxserver
1.4.0-44 on my FC4 X station. I access the server by tunneling through
a trusted gateway like so:
    ssh -L 1234:Xserver:22 me at gateway

Everything seems to work fine; I can authenticate successfully and the
vxclient GUI closes after displaying [Established X server
connection].  Then I see a new window with a list of current sessions.
(I can even successfully terminate an existing session!) I select
"New" to make a new session. The problem is... I never see a desktop,
or any windows, or any visual clue that anything has happened.
vxclient returns rc=0. If I select "run the console", I don't even get
a console window.

I've tried both floating window- and virtual-screen-mode.

The only weird line I'm seeing in runlog is:
[Tue Apr 3 23:24:54 2007]: Received line from nxssh process [NX> 105
/usr/bin/nxserver: line 880:  6457 Terminated              ( sleep
$AGENT_STARTUP_TIMEOUT; exit 1 )
] with code [105]

Any clues here? What am I supposed to do to actually see my desktop? TIA...

Below are the last several lines of my runlog:
[Tue Apr 3 23:26:35 2007]: ProgressDialog::printNxStatus:
[Initializing X protocol compression]
[Tue Apr 3 23:26:35 2007]: NXProxyProtocol::receiveData('Info: Using
ZLIB stream compression 6/6.')
[Tue Apr 3 23:26:35 2007]: NXProxyProtocol::receiveData('Info: No
suitable cache file found.')
[Tue Apr 3 23:26:35 2007]: NXProxyProtocol::receiveData('Session:
Session started at 'Tue Apr  3 23:26:35 2007'.')
[Tue Apr 3 23:26:35 2007]: LoginDialog::ShowConnectionStatus
code=[247] str=[Established X server connection] error=[0]
[Tue Apr 3 23:26:35 2007]: ProgressDialog::printNxStatus: [Established
X server connection]
[Tue Apr 3 23:26:35 2007]: NXProxyProtocol: StopTimeout
[Tue Apr 3 23:26:35 2007]: NXFileMonitor::readData
[Tue Apr 3 23:26:35 2007]: NXFileMonitor::readData
[Tue Apr 3 23:26:35 2007]: NXFileMonitor::readData
[Tue Apr 3 23:26:35 2007]: LoginDialog: slotAgentTimer
[Tue Apr 3 23:26:35 2007]: LoginDialog: Agent found closing windows...
[Tue Apr 3 23:26:35 2007]: LoginDialog: Slotsingleapplication: setting
automatic reconnect to true.
[Tue Apr 3 23:26:35 2007]: Settings::flush
[Tue Apr 3 23:26:35 2007]: Settings::flush
[Tue Apr 3 23:26:35 2007]: LoginDialog: closeEvent received!
[Tue Apr 3 23:26:35 2007]: NXFileMonitor::readData
[Tue Apr 3 23:26:35 2007]: NXFileMonitor::readData
[Tue Apr 3 23:26:35 2007]: LoginDialog::destructor called begin
[Tue Apr 3 23:26:35 2007]: LoginDialog: stopAllTimers
[Tue Apr 3 23:26:35 2007]: LoginDialog: stopProgressTimer
[Tue Apr 3 23:26:35 2007]: Utility::getPreferencesFile: 'nxclient' ->
'/home/zaven/.nx/config/nxclient.cfg'
[Tue Apr 3 23:26:35 2007]: Settings::flush
[Tue Apr 3 23:26:35 2007]: LoginDialog::destructor called end
[zaven 9545]$


Processes on client:
$ ps -ef | grep nx
zaven     9670     1  0 23:35 pts/3    00:00:00 /usr/NX/bin/nxssh -nx
-p 4949 -i /home/zaven/.nx/temp/9637/keylog nx at localhost -x -2 -o
RhostsAuthentication no -o PasswordAuthentication no -o
RSAAuthentication no -o RhostsRSAAuthentication no -o
PubkeyAuthentication yes -B -E
zaven     9687     1  0 23:36 pts/3    00:00:00 /usr/NX/bin/nxssh -nx
-p 4949 -i /home/zaven/.nx/temp/9677/keylog nx at localhost -x -2 -o
RhostsAuthentication no -o PasswordAuthentication no -o
RSAAuthentication no -o RhostsRSAAuthentication no -o
PubkeyAuthentication yes -B -E
zaven     9698  3949  0 23:39 pts/3    00:00:00 grep nx

Processes on server:
$ ps -ef | grep nx
root      4152  3164  0 00:06 ?        00:00:00 sshd: nx [priv]
nx        4154  4152  0 00:06 ?        00:00:00 sshd: nx at notty
nx        4155  4154  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxserver -c /usr/bin/nxserver
nx        4326  4155  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxserver -c /usr/bin/nxserver
nx        4328  4326  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxserver -c /usr/bin/nxserver
nx        4330  4326  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxserver -c /usr/bin/nxserver
nx        4331  4328  0 00:06 ?        00:00:00 /usr/bin/expect
/usr/bin/nxnode-login -- ssh zaven 22 /usr/bin/nxnode --startsession
nx        4332  4328  0 00:06 ?        00:00:00 cat -
nx        4333  4331  0 00:06 pts/1    00:00:00 ssh -2 -x -l zaven
127.0.0.1 -o NumberOfPasswordPrompts 1 -p 22 /usr/bin/nxnode
--startsession
zaven     4341  4340  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxnode --startsession
zaven     4490  4341  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxnode --startsession
zaven     4492  4490  0 00:06 ?        00:00:00 tail -n1 -f
/auto/home/zaven/.nx/C-foo-1003-BDF9BB0B796CC7654A227A1BC24209BE/session
zaven     4493  4490  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxnode --startsession
zaven     4497  4341  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxnode --startsession
zaven     4498  4341  0 00:06 ?        00:00:00 /bin/bash
/usr/bin/nxnode --startsession
zaven     4504  4497  0 00:06 ?        00:00:00 /usr/lib/NX/nxproxy -C :1003
nx        4558  4155  0 00:06 ?        00:00:00 nc 127.0.0.1 5003
zaven     4615  4584  0 00:08 pts/2    00:00:00 grep nx


-- 

^Z



More information about the FreeNX-kNX mailing list