Dear Oleksandr,
Am Mittwoch, den 17.12.2008, 12:06 +0100 schrieb Oleksandr Shneyder:
> Paul Menzel schrieb:
>
> > $ /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,
> >
>
>
> This is your problem. Normal ouput should look like:
Now I also see the error message.
> $ 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 '7417'.
> Session: Starting session at 'Wed Dec 17 11:32:30 2008'.
> Info: Waiting for connection from any host on port '4008'.
>
>
> You have a problem creating/binding socket. I think, it is system error,
> not nxproxy. It can be problem of network configuration, name
> resolution, system library, etc. Try to search in internet "tcp error 99
> Cannot assign requested address". You can also try it with older version
> of nxproxy, but I think, it will not working.
You were right. It was a configuration problem. You can add
$ ip link show
My loopback device (lo) was not configured, because I had
deleted /etc/network/interfaces while trying to get a Internet
connection with pppoeconf and Network Manager did not complain, so I did
not notice.
Anyway adding interfaces again and getting lo back did the trick and I
am happy.
Thank you for your great support and frohe Weihnachten,
Paul
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:
>
> 1. check your ssh connection between client and server (use same
> username as in x2goclient)
Works. (ssh -XC 192.168.x.x)
> 2. 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.
> 3. If you can, try to connect to other server.
Sorry, I do not have another server. So I cannot test that.
> 4. If you can, install qt version of x2goclient and test it.
I will do that, if the information below are not helpful.
> 5. 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
> 6. 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
Dear list and dear Oleksandr,
actually I wanted to report a different problem yesterday.
On the one portable computer I get the following error messages. But
this is since installation time on the weekend.
Do you have any ideas? Can I provide other information?
I am using the GTK-Client and get the following pop-ups.
1. Details-Window.
[…] NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '5044'.
Session: Starting session at 'Tue Dec 16 21:54:05 2008'.
Info: Connecting to remote host 'localhost:30001'.
I do not know if or what is displayed afterwards. It shows the pop-ups
and show the login screen again.
2. Pop-up.
Verbindung fehlgeschlagen
192.168.x.x:
cat: /home/x/.x2go/C-x-50-1229460545_stRTERMINAL_dp32/cmdoutput: Datei
oder Verzeichnis nicht gefunden
3. Pop-up.
Could not yet establish the connection to the remote proxy. Do you
want to terminate the current session?
I did not change anything in the setup. So it should not be a firewall
problem [1].
It does not matter if I select Ja or Nein it pops up every half minute
or so. Killing x2goagent(?) helps.
4. Pop-up (or third one)
Verbindung fehlgeschlagen
192.168.x.x:
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ...
or kill -l [sigspec]
$ LANG=C dpkg -l nxproxy
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==================-==================-====================================================
ii nxproxy 3.3.0-2-2 NX compression proxy
Thanks,
Paul
[1] http://www.mpipks-dresden.mpg.de/~mueller/docs/suse10.1/suselinux-manual_de…
Dear developers of x2go,
thank you for the great product.
I hope this is the correct list to contact. If not please tell me.
Upgrading to the new NX libraries with version 3.3 my clients (gtk)
cannot connect anymore.
Is that a known problem? It works with 3.2.0-1-1. Some information is in
the end.
Please tell me, if I can provide more information.
Thanks a lot,
Paul
$ cat .x2go/C-x-50-1229289525_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 '14701'.
Session: Starting session at 'Sun Dec 14 22:18:46 2008'.
Info: Proxy running in server mode with pid '14701'.
Info: Waiting for connection from 'localhost' on port '30001'.
Info: Aborting the procedure due to signal '15'.
Error: Aborting session with 'X2goagent: Unable to open display 'nx/nx,options=/home/x/.x2go/C-x-50-1229289525_stDGNOME_dp32/options:50''.
Session: Aborting session at 'Sun Dec 14 22:18:51 2008'.
Session: Session aborted at 'Sun Dec 14 22:18:51 2008'.
$ LANG=C dpkg -l x2go* # server and test machine for new client not working
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii x2goagent 3.3.0-3-1 Special NX-ized client, was developed by NoM
un x2goclient <none> (no description available)
ii x2goclient-cli 2.0.1-1 x2goclient-cli command line client for x2go
ii x2goclient-gtk 0.0.1-7 x2goclient gtk client
ii x2goserver 2.0.1-16 x2goserver (daemon and tools)
$ LANG=C dpkg -l nx* # server and non-working client
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii nxclient 3.2.0-14 NX Client
ii nxcomp 3.3.0-3-1 NX compression library
ii nxcompext 3.3.0-2-1 Xcompext Library for nxagent
ii nxcompshad 3.3.0-2-1 nx based library needed by the x2go system
un nxnode <none> (no description available)
ii nxproxy 3.3.0-2-1 NX compression proxy
$ LANG=C dpkg -l x2go* # working client
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii x2goclient 2.0.1-24 x2goclient qt4 client
ii x2goclient-gtk 0.0.1-6 x2goclient gtk client
$ LANG=C dpkg -l nx* # working client
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii nxclient 3.2.0-14 NX Client
ii nxproxy 3.2.0-1-1 NX X compression library