Dear Oleksandr,
thank you for your fast reply.
Am Mittwoch, den 17.12.2008, 09:02 +0100 schrieb Oleksandr Shneyder:
Look like problem with ssh connection, or starting session command on server site.
You said "On the one portable computer", have you other computers that working good? Is there a difference between computers? Different versions of software, distros, etc.
Both are running Debian unstable. On the portable computer network-manager-gnome is managing the network connection.
The only difference I can think of between the working and non-working client is, that I had the NoMachine Client installed before on the *working* client.
You can also try following:
- check your ssh connection between client and server (use same username as in x2goclient)
Works. (ssh -XC 192.168.x.x)
- try to run other programm on server (as I understood, you want to run terminal). try with (kde/gnome/other programms such xclock, xeyes, xterm , etc. Specify absolute path, f.e. /usr/bin/xclock be sure, that this path exists on server)
Did not work.
- If you can, try to connect to other server.
Sorry, I do not have another server. So I cannot test that.
- If you can, install qt version of x2goclient and test it.
I will do that, if the information below are not helpful.
- see logs in ~/.x2go on server and client
### Client – non-working $ cat .x2go/S-50/stats $ cat .x2go/S-x-50-1229503676_stDxclock_dp32/options nx/nx,root=/home/x/.x2go,connect=localhost,cookie=09420756401696aab5a243d150570021,port=30001,errors=/home/x/.x2go/S-x-50-1229503676_stDxclock_dp32/sessions:50 $ cat .x2go/S-x-50-1229503676_stDxclock_dp32/sessions $ ps ux | grep x2 x 3559 0.9 5.7 39780 28972 pts/1 S 09:46 0:04 x2goclient_gtk x 4309 0.0 0.3 4304 1784 pts/1 S 09:49 0:00 /usr/lib/x2go/nxproxy -S nx/nx,options=/home/x/.x2go/S-x-50-1229503676_stDxclock_dp32/options:50 x 5281 1.1 3.1 29548 16044 pts/1 S 09:54 0:00 /usr/bin/x2goclient_gtk --dialog yesno --caption NX - 50 --message Could not yet establish the connection to the remote?proxy. Do you want to terminate the current session?? --local --parent 4309 --display :0
### Other client – working $ rm -rf .x2go* $ ls .x2go/ cache-unix-kde-depth_32 S-50 S-x-50-1229506371_stDGNOME_dp32 ssh $ ls .x2go/cache-unix-kde-depth_32/ $ cat .x2go/S-50/stats $ cat .x2go/S-x-50-1229506371_stDGNOME_dp32/options nx/nx,root=/home/x/.x2go,connect=localhost,cookie=9dc6cf0a9590ed39a94988e78dc105f2,port=30001,errors=/home/x/.x2go/S-x-50-1229506371_stDGNOME_dp32/sessions:50 $ cat .x2go/S-x-50-1229506371_stDGNOME_dp32/sessions Loop: WARNING! Disabling NX delta compression. Loop: WARNING! Disabling use of NX persistent cache. Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
### Server – non-working $ cat .x2go/C-x-50-1229503676_stDxclock_dp32/C-x-50-1229503676_stDxclock_dp32/stats $ cat .x2go/C-x-50-1229503676_stDxclock_dp32/session.log
NXAGENT - Version 3.3.0
Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.
Info: Agent running with pid '20681'. Session: Starting session at 'Wed Dec 17 09:47:57 2008'. Info: Proxy running in server mode with pid '20681'. Info: Waiting for connection from 'localhost' on port '30001'. Info: Aborting the procedure due to signal '1'. Error: Aborting session with 'X2goagent: Unable to open display 'nx/nx,options=/home/x/.x2go/C-x-50-1229503676_stDxclock_dp32/options:50''. Session: Aborting session at 'Wed Dec 17 09:48:38 2008'. Session: Session aborted at 'Wed Dec 17 09:48:38 2008'. $ cat .x2go/C-x-50-1229503676_stDxclock_dp32/options nx/nx,link=lan,pack=16m-jpeg-9,limit=0,root=/home/x/.x2go/C-x-50-1229503676_stDxclock_dp32,cache=8M,images=32M,type=unix-kde-depth_32,id=x-50-1229503676_stDxclock_dp32,cookie=09420756401696aab5a243d150570021,errors=/home/x/.x2go/C-x-50-1229503676_stDxclock_dp32/session.log,keyboard=de,kbtype=pc105/de,keybd=0,geometry=fullscreen,resize=1,fullscreen=1,accept=localhost,listen=30001:50
### Server – working $ ls .x2go/C-x-50-1229506371_stDGNOME_dp32/ cache-unix-kde-depth_32 C-x-50-1229506371_stDGNOME_dp32 session.log cmdoutput options $ cat .x2go/C-x-50-1229506371_stDGNOME_dp32/session.log
NXAGENT - Version 3.3.0
Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.
Info: Agent running with pid '27360'. Session: Starting session at 'Wed Dec 17 10:32:51 2008'. Info: Proxy running in server mode with pid '27360'. Info: Waiting for connection from 'localhost' on port '30001'. Info: Accepted connection from '127.0.0.1'. Info: Connection with remote proxy completed. Info: Using LAN link parameters 1536/24/1/0. Info: Using agent parameters 5000/0/50/0/0. Info: Using pack method '2m-jpeg-9' with session 'unix-kde-depth_32'. Info: Not using NX delta compression. Info: Not using ZLIB data compression. Info: Not using ZLIB stream compression. Info: Not using a persistent cache. Info: Listening to X11 connections on display ':50'. Info: Established X client connection. Info: Using shared memory parameters 1/1/1/2048K. Info: Using alpha channel in render extension. Info: Not using local device configuration changes. Session: Session started at 'Wed Dec 17 10:32:58 2008'. Session: Terminating session at 'Wed Dec 17 10:35:52 2008'. Info: Waiting the cleanup timeout to complete. Session: Session terminated at 'Wed Dec 17 10:35:52 2008'. $ cat .x2go/C-x-50-1229506371_stDGNOME_dp32/options nx/nx,link=lan,pack=2m-jpeg,limit=0,root=/home/x/.x2go/C-x-50-1229506371_stDGNOME_dp32,cache=8M,images=32M,type=unix-kde-depth_32,id=x-50-1229506371_stDGNOME_dp32,cookie=9dc6cf0a9590ed39a94988e78dc105f2,errors=/home/x/.x2go/C-x-50-1229506371_stDGNOME_dp32/session.log,keyboard=de,kbtype=pc105/de,keybd=0,geometry=fullscreen,resize=1,fullscreen=1,accept=localhost,listen=30001:50 $ cat .x2go/C-x-50-1229506371_stDGNOME_dp32/C-x-50-1229506371_stDGNOME_dp32/stats
- see if you can launch /usr/bin/nxproxy on client
$ dpkg -S nxproxy nxproxy: /usr/share/doc/nxproxy/README nxproxy: /usr/share/doc/nxproxy/copyright nxproxy: /usr/lib/x2go/nxproxy nxproxy: /usr/share/doc/nxproxy/README-IPAQ nxproxy: /usr/share/doc/nxproxy/changelog.Debian.gz nxproxy: /usr/share/doc/nxproxy/README-VALGRIND nxproxy: /usr/share/doc/nxproxy/changelog.gz nxproxy: /usr/share/doc/nxproxy nxproxy: /usr/share/doc/nxproxy/README.Debian nxproxy: /usr/bin/nxproxy
$ /usr/bin/nxproxy Error: Please specify either the -C or -S option. Session: Session terminated at 'Wed Dec 17 10:02:40 2008'. $ /usr/bin/nxproxy -C
NXPROXY - Version 3.3.0
Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.
Info: Proxy running in server mode with pid '7078'. Session: Starting session at 'Wed Dec 17 10:03:47 2008'. Info: Waiting for connection from any host on port '4008'. $ /usr/bin/nxproxy -S
NXPROXY - Version 3.3.0
Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '7119'. Session: Starting session at 'Wed Dec 17 10:03:59 2008'. Error: Call to bind failed for TCP port 4008. Error is 99 'Cannot assign requested address'. Session: Session terminated at 'Wed Dec 17 10:03:59 2008'.
By error report is good to know which distro is installed on server/client,
On both up-to-date Debian Sid/unstable.
also the versions of x2goclient/nxproxy/nxcomp on client
ii x2goclient-gtk 0.0.1-7 x2goclient gtk client ii nxproxy 3.3.0-2-2 NX compression proxy ii nxcomp 3.3.0-3-1 NX compression library
and x2goagent/x2goserver on server are important.
ii x2goagent 3.3.0-3-1 Special NX-ized client, was developed by NoM ii x2goserver 2.0.1-16 x2goserver (daemon and tools)
Bests,
Paul