[FreeNX-kNX] Nxproxy Panic with my Python NX Client

Christian Wore cwore at web.de
Fri Jun 1 10:45:13 UTC 2007


Hi *,

currently i hack the suspend function of the Python NX Client.

So on, it works all fine, expect the NXproxy Startup.

the options file in ~/home/.nx/$SessionID/ contains the Agent cookie.

here is my try so start the nxproxy

child = subprocess.Popen([proxy], bufsize=0,  shell=True, env={"PATH": 
"/usr/bin"})

proxy is this

/usr/bin/nxproxy -S 
options=/home/stefan/.nx/S-xen-bn-4-1000-A3ACD1D038EA304F95A0D74CEA3A669E/options:1000

after the nxproxy call the nxserver.log looks like this

Debug Print 2
xen-bn-4-1000-A3ACD1D038EA304F95A0D74CEA3A669E
Debug Print
xen-bn-4-1000-A3ACD1D038EA304F95A0D74CEA3A669E
Debug Print
/home/stefan
xen-bn-4-1000-A3ACD1D038EA304F95A0D74CEA3A669E
Debug Print
NX> 700 Session id: xen-bn-4-1000-A3ACD1D038EA304F95A0D74CEA3A669E
NX> 705 Session display: 1000
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: e526eeeb6c62ad94ac4214bc2724ede5
NX> 702 Proxy IP: 10.3.67.27
NX> 706 Agent cookie: e526eeeb6c62ad94ac4214bc2724ede5
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 0
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running

on the server side everything is perfect. but on the client side the 
nxproxy quits with an error:


Loop: PANIC! Can't read options from file 
'/home/stefan/.nx/S-xen-bn-4-1000-A3ACD1D038EA304F95A0D74CEA3A669E/options. 
Error is 0 'Success'.
Error: Can't read options from file 
'/home/stefan/.nx/S-xen-bn-4-1000-A3ACD1D038EA304F95A0D74CEA3A669E/options. 
Error is 0 'Success'.
/usr/bin/nxproxy -S 
options=/home/stefan/.nx/S-xen-bn-4-1000-A3ACD1D038EA304F95A0D74CEA3A669E/options:1000

And now, the confusing thing ever!

i take the options i call the nxproxy from the same or a another shell, 
it works. Thats the reason i think its almost an Python Problem. But i 
don't know where.

George: Did you had similar problems?

Or know anybody something about this error?

Thanks!











More information about the FreeNX-kNX mailing list