[X2Go-Dev] X2Go Server + NXLibs
Bogdan-Andrei Taru
bogdan.taru at gmail.com
Fri Feb 10 13:37:10 CET 2012
Hi,
I'm trying to connect to a self-compilted and rpm-packaged X2GO Server (the self-compiled/packaged NX LIbs are installed). I also liked x2goagent to nxagent:
[root at rhel6-64 x86_64]# ls -al /usr/lib/x2go/x2goagent
lrwxrwxrwx. 1 root root 16 Feb 4 04:01 /usr/lib/x2go/x2goagent -> /usr/bin/nxagent
But the connection still doesn't work. This is what the X2Go Server logs (debug mode):
Feb 4 04:08:23 rhel6-64 /usr/bin/x2gostartagent: x2gostartagent called with options: 800x600 adsl 16m-jpeg-9 unix-kde-depth_24 us pc105/de 1 D KDE
Feb 4 04:08:23 rhel6-64 /usr/bin/x2gosessionlimit[28283]: x2gosessionlimit has been called
Feb 4 04:08:23 rhel6-64 /usr/bin/x2golistsessions[28287]: x2golistsessions has been called with options: --all-servers
Feb 4 04:08:24 rhel6-64 /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS
Feb 4 04:08:24 rhel6-64 /usr/share/x2go/x2gofeature.d/x2goserver-compat.features: x2goserver-compat.features called with options: X2GO_RUN_EXTENSIONS
Feb 4 04:08:24 rhel6-64 /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Feb 4 04:08:24 rhel6-64 /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: bgd-50-1328324903_stDKDE_dp24 pre-start
Feb 4 04:08:24 rhel6-64 /usr/bin/x2gostartagent: successfully started X2Go agent session with ID bgd-50-1328324903_stDKDE_dp24
Feb 4 04:08:24 rhel6-64 /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS
Feb 4 04:08:24 rhel6-64 /usr/share/x2go/x2gofeature.d/x2goserver-compat.features: x2goserver-compat.features called with options: X2GO_RUN_EXTENSIONS
Feb 4 04:08:24 rhel6-64 /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Feb 4 04:08:24 rhel6-64 /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: bgd-50-1328324903_stDKDE_dp24 post-start
This is what the client logs on the console:
[bgd at rhel6-64 ~]$ x2goclient
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
ONMainWindow constructor
Can't load translator (:/x2goclient_en_us) !
Can't load translator :/qt_en_US
ONMainWindows constructor finished, home Directory is: "/home/bgd"
read 2 sessions from config file
start new ssh connection to server: "localhost" : "22" krb: false
ssh connection ok
continue normal x2go session
"x2gostartagent 800x600 adsl 16m-jpeg-9 unix-kde-depth_24 us pc105/de 1 D KDE"
Agent output: "50
bb89785cbd1b4977c1c63f09ed1fc09e
28455
bgd-50-1328324903_stDKDE_dp24
30003
30004
30005
"
starting nxproxy with: "nxproxy -S nx/nx,options=/home/bgd/.x2go/S-bgd-50-1328324903_stDKDE_dp24/options:50"
"
NXPROXY - Version 3.5.0
Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '28515'.
Session: Starting session at 'Sat Feb 4 04:08:24 2012'.
Info: Connecting to remote host 'localhost:31003'.
Info: Connection to remote proxy 'localhost:31003' established.
"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
"channel_open_forward failed" : "Channel opening failure: channel 45 error (2) Connection refused"
"channel_write failed" - "Remote channel is closed"
"Error: The remote NX proxy closed the connection.
Error: Failure negotiating the session in stage '7'.
Error: Wrong version or invalid session authentication cookie.
Session: Terminating session at 'Sat Feb 4 04:08:25 2012'.
Session: Session terminated at 'Sat Feb 4 04:08:25 2012'.
"
deleting proxy
nxproxy not running
proxy deleted
check command message
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
search proxy win: "X2GO-bgd-50-1328324903_stDKDE_dp24"
Any ideas?
Bogdan
On 10.02.2012, at 12:42, Milan Knížek wrote:
> V Fri, 10 Feb 2012 11:22:35 +0100
> Bogdan-Andrei Taru <bogdan.taru at gmail.com> napsáno:
>
>> Hi Oliver,
>>
>> thanks for your reply! No, I had no idea I need a x2goagent wrapper.
>> I found one in the nx-libs-source/bin/ directory, but it doesn't make
>> any sense, because it calls another x2goagent:
>>
>> NX_LIBS=/usr/lib/nx
>> exec $NX_LIBS/../x2go/x2goagent "$@"
>>
>> How did you solve the problem?
>>
> Create a link to nxagent:
>
> ln -s /usr/lib/nx/nxagent /usr/lib/x2go/x2goagent
>
> I assume it is because of backward compatibility. The nxagent from
> nx-libs (NX redistributed) is patched so that it knows when it is run
> as "x2goagent" and when as "nxagent".
>
> You can also have a look at the debian package to see what is installed
> and where:
>
> http://packages.x2go.org/debian/pool/main/n/nx-libs/x2goagent_3.5.0.10-0+wheezy~main~250~build1_all.deb
>
> Do not use x2goagent version older then 3.5.0.10, since these
> were a separate binary, not just a wrapper to NX redistributed
> nxagent.
>
> Regards,
> Milan
>
> --
> http://www.milan-knizek.net/
> About linux and photography (Czech only)
> O linuxu a fotografování
More information about the x2go-dev
mailing list