<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Mike,</div><div><br></div><div>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.</div><div><br></div><div>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:</div><div><br></div><div><font class="Apple-style-span" face="'Courier New'">"x2gostartagent 800x600 adsl 16m-jpeg-9 unix-kde-depth_24 de pc105/de 1 D KDE" <br><br>search proxy win:  "X2GO-" <br>search proxy win:  "X2GO-" <br>search proxy win:  "X2GO-" <br>search proxy win:  "X2GO-" <br>search proxy win:  "X2GO-" <br>search proxy win:  "X2GO-" <br>Agent output: "51<br>b07796551fc3a7d0a558f21dc508e724<br>5841<br>bgd-51-1327672132_stDKDE_dp24<br>30006<br>30007<br>30008<br>" <br>starting nxproxy with:  "nxproxy -S nx/nx,options=/root/.x2go/S-bgd-51-1327672132_stDKDE_dp24/options:51" <br><br>"<br>NXPROXY - Version 3.3.0<br><br>Copyright (C) 2001, 2007 NoMachine.<br>See <a href="http://www.nomachine.com/">http://www.nomachine.com/</a> for more information.<br><br>Info: Proxy running in client mode with pid '5900'.<br>Session: Starting session at 'Fri Jan 27 14:48:53 2012'.<br>Info: Connecting to remote host 'localhost:31006'.<br>Info: Connection to remote proxy 'localhost:31006' established.<br>" <br><br>search proxy win:  "X2GO-bgd-51-1327672132_stDKDE_dp24" <br>"channel_open_forward failed" :  "Channel opening failure: channel 47 error (2) Connection refused" <br><br>"channel_write failed"  -  "Remote channel is closed" <br><br>"Error: The remote NX proxy closed the connection.<br>" <br><br>"Error: Failure negotiating the session in stage '7'.<br>Error: Wrong version or invalid session authentication cookie.<br>Session: Terminating session at 'Fri Jan 27 14:48:53 2012'.<br>Session: Session terminated at 'Fri Jan 27 14:48:53 2012'.<br>" <br><br>deleting proxy <br><br>nxproxy not running <br><br>proxy deleted <br><br>check command message <br><br></font></div><div><br></div><div>Any ideas?</div><div><br></div><div>Thx,</div><div>Bogdan<br><br></div><br>
<br><div><div>On 27.01.2012, at 09:18, Mike Gabriel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Bogdan-Andrei,<br><br>thanks a lot for your e-Mail.<br><br>On Fr 27 Jan 2012 09:07:27 CET Bogdan-Andrei Taru wrote:<br><br><blockquote type="cite">Hello everyone,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm fairly new to x2go, but I'm trying to package X2Go Client & Server for RedHat6 and I have the following suggestion/problem:<br></blockquote><br>Awesome!!!<br><br><blockquote type="cite">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?<br></blockquote><br>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<br><br>git clone <a href="git://code.x2go.org/x2goserver.git">git://code.x2go.org/x2goserver.git</a><br>git clone <a href="git://code.x2go.org/x2goclient.git">git://code.x2go.org/x2goclient.git</a><br>etc.<br><br>Modify the code and send the output of ,,git diff'' to this mailing list.<br><br>I will take a look at the Makefiles, but if you find time to send a patch, that will probably much quicker!!!<br><br><blockquote type="cite">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.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[...]<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">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?<br></blockquote><br>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?<br><br>The manual testing with x2gostartagent, x2goruncommand etc. is possible but I cannot explain that without digging into the client code.<br><br>@Heinz+Alex: if you can provide a manual session startup workflow, could you please document that in the wiki???<br><br>Thanks+Greets,<br>Mike<br><br><br><br><br>-- <br><br>DAS-NETZWERKTEAM<br>mike gabriel, dorfstr. 27, 24245 barmissen<br>fon: +49 (4302) 281418, fax: +49 (4302) 281419<br><br>GnuPG Key ID 0xB588399B<br>mail: <a href="mailto:mike.gabriel@das-netzwerkteam.de">mike.gabriel@das-netzwerkteam.de</a>, <a href="http://das-netzwerkteam.de">http://das-netzwerkteam.de</a><br><br>freeBusy:<br><a href="https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb">https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb</a><br>_______________________________________________<br>X2go-Dev mailing list<br>X2go-Dev@lists.berlios.de<br>https://lists.berlios.de/mailman/listinfo/x2go-dev<br></div></blockquote></div><br></body></html>