Hi Mike,
thanks for the fast answer! I can package the X2GO Server all rite, but I run into the following error after installing it (I'm trying to test it). I'm a newbie to X2Go, so sorry for asking obvious questions.
I've installed X2GO, Postgres, I created the DB and User with x2godbadmin --createdb and --adduser, and I'm trying to connect with this user, but this results in the following error:
"x2gostartagent 800x600 adsl 16m-jpeg-9 unix-kde-depth_24 de pc105/de 1 D KDE"
search proxy win: "X2GO-" search proxy win: "X2GO-" search proxy win: "X2GO-" search proxy win: "X2GO-" search proxy win: "X2GO-" search proxy win: "X2GO-" Agent output: "51 b07796551fc3a7d0a558f21dc508e724 5841 bgd-51-1327672132_stDKDE_dp24 30006 30007 30008 " starting nxproxy with: "nxproxy -S nx/nx,options=/root/.x2go/S-bgd-51-1327672132_stDKDE_dp24/options:51"
" 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 '5900'. Session: Starting session at 'Fri Jan 27 14:48:53 2012'. Info: Connecting to remote host 'localhost:31006'. Info: Connection to remote proxy 'localhost:31006' established. "
search proxy win: "X2GO-bgd-51-1327672132_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 Jan 27 14:48:53 2012'. Session: Session terminated at 'Fri Jan 27 14:48:53 2012'. "
deleting proxy
nxproxy not running
proxy deleted
check command message
Any ideas?
Thx, Bogdan
On 27.01.2012, at 09:18, Mike Gabriel wrote:
Hi Bogdan-Andrei,
thanks a lot for your e-Mail.
On Fr 27 Jan 2012 09:07:27 CET Bogdan-Andrei Taru wrote:
Hello everyone,
I'm fairly new to x2go, but I'm trying to package X2Go Client & Server for RedHat6 and I have the following suggestion/problem:
Awesome!!!
Server: it's hard to package the X2GO Server as RPM because some paths (/etc/x2go) are hardcoded into the Makefiles and a "make PREFIX=/path install" still installs the files under /etc/x2go. Could anyone please change the Makefile so that the PREFIX option works?
You can definitely accelerate the process if you send a tested patch. Please send patches that apply for your code base in X2Go Git. To clone a project use
git clone git://code.x2go.org/x2goserver.git git clone git://code.x2go.org/x2goclient.git etc.
Modify the code and send the output of ,,git diff'' to this mailing list.
I will take a look at the Makefiles, but if you find time to send a patch, that will probably much quicker!!!
Client: in order to compile the client I downloaded the libssh-0.5.0-1 and libssh-devel-0.5.0-1 as RPMs and installed them (it's the same library as Debian's libssh-4, just a newer Version -- the one from Debian Squeeze is the version 0.4.5-3). The client basically works, but segfaults sometimes (not always) in "exception" cases, for example false authentication to the X2GO server.
[...]
Heinz suggested that I use the x2golistsessions, x2goruncommand, x2goagent over SSH (btw, the X2GO Server runs on Ubuntu, and the other clients work OK) and log their return codes -- but how can I do that? Just SSH in to the Ubuntu server and call these 3 tools from the command line, with echo $? after?
The segfaulting seems like Alex should take a look at that. Could you send exact versions (of every X2Go component) that you use for testing and packaging?
The manual testing with x2gostartagent, x2goruncommand etc. is possible but I cannot explain that without digging into the client code.
@Heinz+Alex: if you can provide a manual session startup workflow, could you please document that in the wiki???
Thanks+Greets, 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...
X2go-Dev mailing list X2go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev