Hello,
I'm trying to compile and RPM-package the X2GO Client, Server and the NX-Libs and I'm having a problem with the X2Go Server. I tried the following:
Fontconfig warning: no <cachedir> elements found. Check configuration. Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir> Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir> ONMainWindow constructor
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 de pc105/de 1 D KDE"
Agent output: "50 c6f8f50cdbe957633f362ac62f1811ee 25672 bgd-50-1328297898_stDKDE_dp24 30003 30004 30005 " starting nxproxy with: "nxproxy -S nx/nx,options=/home/bgd/.x2go/S-bgd-50-1328297898_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 '25732'. Session: Starting session at 'Fri Feb 3 20:38:19 2012'. Info: Connecting to remote host 'localhost:31003'. Info: Connection to remote proxy 'localhost:31003' established. "
search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" "channel_open_forward failed" : "Channel opening failure: channel 47 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 'Fri Feb 3 20:38:20 2012'. Session: Session terminated at 'Fri Feb 3 20:38:20 2012'. "
deleting proxy
nxproxy not running
proxy deleted
check command message
search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24"
Any ideas where the problem could be? Where does the X2GO Server log it's messages?
Thanks, Bogdan
Am 05.02.2012 21:53, schrieb Bogdan-Andrei Taru:
Hello,
Do you have x2goagent installed or at least a wrapper script arround nxagent named x2goagent? I had the same on Mageia, when building x2goserver.
I will most likely finish the package tommorow and submit it to the distribution build service. I can give you a linkt to my spec as soon as it is in svn, you can compare it to yours then.
Oliver
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?
Thanks, Bogdan
On 06.02.2012, at 02:09, Oliver Burger wrote:
Am 05.02.2012 21:53, schrieb Bogdan-Andrei Taru:
Hello,
Do you have x2goagent installed or at least a wrapper script arround nxagent named x2goagent? I had the same on Mageia, when building x2goserver.
I will most likely finish the package tommorow and submit it to the distribution build service. I can give you a linkt to my spec as soon as it is in svn, you can compare it to yours then.
Oliver
X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Am 10.02.2012 11:22, schrieb Bogdan-Andrei Taru:
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? You'll find my spec here: http://svnweb.mageia.org/packages/cauldron/x2goserver/current/SPECS/x2goserv...
But it's not quite ready yet. First of all I should build the real x2goagent (to be found here: http://code.x2go.org/releases/source/x2goagent/), but I didn't get it to build till now. But Mike told me, I would be without upstream support if I used nxagent instead of x2goagent. And second I'm just writing a systemd service file for it (something I never did before).
But those things said, my package does work :)
Oliver
Hi Oliver,
On Fr 10 Feb 2012 11:32:48 CET Oliver Burger wrote:
First of all I should build the real x2goagent (to be found here:
http://code.x2go.org/releases/source/x2goagent/), but I didn't get
it to build till now. But Mike told me, I would be without upstream
support if I used nxagent instead of x2goagent. And second I'm just writing a systemd service file for it (something
I never did before).
Just for the record, x2goagent is now provided in nx-libs.git, tarballs at http://code.x2go.org/releases/source/nx-libs
Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
V Fri, 10 Feb 2012 11:22:35 +0100 Bogdan-Andrei Taru <bogdan.taru@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+whe...
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í
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@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@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@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+whe...
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í
Hi Bogdan,
On Fr 10 Feb 2012 13:37:10 CET Bogdan-Andrei Taru wrote:
[root@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
Install the nxagent binary and the NX-X11 libraries to
/usr/lib/nx/
Create a symlink for x2goagent, pointing to nxagent (the binary, not
the wrapper):
/usr/lib/x2go/x2goagent -> /usr/lib/nx/nxagent
For x2goagent place a wrapper script that tweaks LD_LIBRARY_PATH into
/usr/bin/x2goagent, the following link shows a patch from our patchset
that places the x2goagent wrapper script into our source package:
http://code.x2go.org/gitweb?p=nx-libs.git;a=blob;f=debian/patches/023_add-x2...
Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi,
On Fr 10 Feb 2012 12:42:11 CET Milan Kní?ek wrote:
V Fri, 10 Feb 2012 11:22:35 +0100 Bogdan-Andrei Taru <bogdan.taru@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".
Also just for the record...
The above assumption is not as precise as it could be. The merge of
nxagent and x2goagent has only one reason. That is getting rid of 20mb
of forked code. The 20mb fork (formerly known as x2goagent.git on X2Go
Git, http://git.x2go.org) has now been reduced to 7-8 patch files
against NoMachine's original NX sources.
Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0xB588399B mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hello,
you can increase the logging verbosity level in /etc/x2go cong file and theb check syslog. Milan
Bogdan-Andrei Taru <bogdan.taru@gmail.com> napsal(a):
Hello,
I'm trying to compile and RPM-package the X2GO Client, Server and the NX-Libs and I'm having a problem with the X2Go Server. I tried the following:
- install the NX-Libs from the source
- install the X2Go Server from the source
- tried to create a X2GO database with 'x2godbadmin --createdb' (how can I really check if the database was successfully created?)
- started the X2Go server with the init-script (I see a process "/usr/bin/perl /usr/sbin/x2gocleansessions" running)
- I try to connect with the X2Go client to the server and I get the following output on the client's console:
Fontconfig warning: no <cachedir> elements found. Check configuration. Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir> Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir> ONMainWindow constructor
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 de pc105/de 1 D KDE"
Agent output: "50 c6f8f50cdbe957633f362ac62f1811ee 25672 bgd-50-1328297898_stDKDE_dp24 30003 30004 30005 " starting nxproxy with: "nxproxy -S nx/nx,options=/home/bgd/.x2go/S-bgd-50-1328297898_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 '25732'. Session: Starting session at 'Fri Feb 3 20:38:19 2012'. Info: Connecting to remote host 'localhost:31003'. Info: Connection to remote proxy 'localhost:31003' established. "
search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" "channel_open_forward failed" : "Channel opening failure: channel 47 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 'Fri Feb 3 20:38:20 2012'. Session: Session terminated at 'Fri Feb 3 20:38:20 2012'. "
deleting proxy
nxproxy not running
proxy deleted
check command message
search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24" search proxy win: "X2GO-bgd-50-1328297898_stDKDE_dp24"
Any ideas where the problem could be? Where does the X2GO Server log it's messages?
Thanks, Bogdan
X2Go-Dev mailing list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
-- Odesláno z mého telefonu s Androidem pomocí pošty K-9 Mail. Omluvte prosím mou stručnost.