[FreeNX-kNX] Mac client trouble on Leopard?

Thomas Backman serenity at exscape.org
Thu Feb 7 16:48:06 UTC 2008


Hey everyone,
First, I have no clue if:
* this output is of any use
* this is the right mailing list! Seems to be the only NX related one  
I could find.

Anyway. I just found out about NX yesterday, and set it up on my Linux  
server box. It works fine to connect from windows, but not from OS X.
It seems to connect, log in etc, but perhaps 10-15 seconds after  
launching X11.app the window closes, just after "established the  
display connection". 5 seconds later, a new window pops up with "The  
connection with the remote server was shut down. Please check the  
state of your network connection."
Well, the network connection is fine, since it works to connect from  
the same computer in Win XP (under VMware Fusion).

The full logs are a bit too much to post, but here's the seemingly  
important part of sshlog:

[...log in here, looks fine...]
NX> 105 Start session with: --link="lan" --backingstore="1" -- 
encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" -- 
strict="0" --composite="1" --media="0" --session="exscape.org" -- 
type="unix-gnome" --geometry="1024x768+208+27" --client="macosx" -- 
keyboard="query" --screeninfo="1024x768x32+render"
NX> 700 Session id: exscape.org-1012-4C404E118978099F1A32CB2D931FF0A2
NX> 705 Session display: 1012
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 4FD38112FB9E7F4873ED9F3F01E2C780
NX> 702 Proxy IP: 192.168.1.1
NX> 706 Agent cookie: 4FD38112FB9E7F4873ED9F3F01E2C780
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 708 Subscription: LFE/None/LFEN/None
NX> 710 Session status: running
NX> 105 Bye
NX> 999 Bye.
NX> 285 Identified internal connection
NX> 285 Using default mode encrypted
NX> 285 Identified options: nx/nx,options=/Users/serenity/.nx/S- 
exscape.org-1012-4C404E118978099F1A32CB2D931FF0A2/options:1012
NX> 286 Failed to set TCP_NODELAY on descriptor: 11
NX> 286 Failed to set IPTOS_LOWDELAY on descriptor: 11
NX> 280 Proxy opened with local: 11 remote: 12
NX> 285 Switching descriptors: 8 and: 9 to: 11
NX> 286 Failed to set TCP_NODELAY on descriptor: 8
NX> 286 Failed to set IPTOS_LOWDELAY on descriptor: 8
NX> 286 Failed to set TCP_NODELAY on descriptor: 9
NX> 286 Failed to set IPTOS_LOWDELAY on descriptor: 9

NX> 287 Redirected I/O to channel descriptors
NX> 280 Proxy in: 8 out: 9 transport in: 12 out: 12
Exited with status 0. User pressed Ok.

And runlog:

[... login here... looks good]
[Thu Feb 7 15:03:55 2008]: LoginDialog: createNewSession - trying to  
reuse running session
[Thu Feb 7 15:03:55 2008]: LoginDialog: runningInExistingProxy called
[Thu Feb 7 15:03:55 2008]: LoginDialog: customUnixSession is [0],  
virtualDesktop is [0]
[Thu Feb 7 15:03:55 2008]: LoginDialog: runningInExistingProxy returns  
sessionID = []
[Thu Feb 7 15:03:55 2008]: Start automatically the session with the  
parameters [startsession  --link="lan" --backingstore="1" -- 
encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" -- 
strict="0" --composite="1" --media="0" --session="exscape.org" -- 
type="unix-gnome" --geometry="1024x768+208+27" --client="macosx" -- 
keyboard="query" --screeninfo="1024x768x32+render"
]
...
[Thu Feb 7 15:04:00 2008]: Received line from nxssh process [NX> 710  
Session status: running] with code [710]
[Thu Feb 7 15:04:00 2008]: Received code[710]
[Thu Feb 7 15:04:00 2008]: LoginDialog::launchMountOperation
[Thu Feb 7 15:04:00 2008]: Received line from nxssh process [NX> 105]  
with code [105]
[Thu Feb 7 15:04:00 2008]: Received code[105]
[Thu Feb 7 15:04:00 2008]: Received line from nxssh process [Bye] with  
code [-1]
[Thu Feb 7 15:04:00 2008]: Received code[-1]
[Thu Feb 7 15:04:01 2008]: Received line from nxssh process [NX> 999  
Bye.] with code [999]
[Thu Feb 7 15:04:01 2008]: Received code[999]
[Thu Feb 7 15:04:01 2008]: LoginDialog: setEnvironmentForProxy
[Thu Feb 7 15:04:01 2008]: LoginDialog::ShowConnectionStatus  
code=[245] str=[Negotiating link parameters] error=[0]
[Thu Feb 7 15:04:01 2008]: ProgressDialog::printNxStatus: [Negotiating  
link parameters]
[Thu Feb 7 15:04:01 2008]: Writing: 'nx/ 
nx 
,cookie 
=4FD38112FB9E7F4873ED9F3F01E2C780,shmem=1,shpix=1,font=1,product=LFE/ 
None/LFEN/ 
None 
,encryption 
= 
1 
,session 
=session,id=exscape.org-1012-4C404E118978099F1A32CB2D931FF0A2,display=: 
0:1012
' to '/Users/serenity/.nx/S- 
exscape.org-1012-4C404E118978099F1A32CB2D931FF0A2/options'
[Thu Feb 7 15:04:01 2008]: file='/Users/serenity/.nx/S- 
exscape.org-1012-4C404E118978099F1A32CB2D931FF0A2/options'
[Thu Feb 7 15:04:01 2008]: Starting nxcomp with options: 'NX> 299  
Switch connection to: NX mode: encrypted options: nx/nx,options=/Users/ 
serenity/.nx/S-exscape.org-1012-4C404E118978099F1A32CB2D931FF0A2/ 
options:1012'.
[Thu Feb 7 15:04:01 2008]: Received line from nxssh process [NX> 285  
Identified internal connection] with code [285]
[Thu Feb 7 15:04:01 2008]: Received code[285]
[Thu Feb 7 15:04:01 2008]: Received line from nxssh process [NX> 285  
Using default mode encrypted] with code [285]
[Thu Feb 7 15:04:01 2008]: Received code[285]
[Thu Feb 7 15:04:01 2008]: Received line from nxssh process [NX> 285  
Identified options: nx/nx,options=/Users/serenity/.nx/S- 
exscape.org-1012-4C404E118978099F1A32CB2D931FF0A2/options:1012] with  
code [285]
[Thu Feb 7 15:04:01 2008]: Received code[285]
[Thu Feb 7 15:04:01 2008]: Received line from nxssh process [NX> 286  
Failed to set TCP_NODELAY on descriptor: 11] with code [286]
... etc.


The client version is 3.1.0-6 (both windows and OS X) and server 3.1.0  
(gentoo 3.1.0-r1 ebuild).
BTW, I can't connect to the testdrive servers from OS X either, but  
they too work in windows, so this has to be a client-side issue.
The client computer is a Macbook Pro (Core 2 Duo), running Leopard  
10.5.1.

Thanks in advance.
/Thomas



More information about the FreeNX-kNX mailing list