[X2go-Dev] RPMs for RH6

Bogdan-Andrei Taru bogdan.taru at gmail.com
Fri Jan 27 09:07:27 CET 2012


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:

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?

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. 

Here's a snippet from a X2GO Session, first it works all right, then I disconnect and start again with a false password: 

------------------------------------------------------------------------------------------------------------------------------------
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
"Info: Using shared memory parameters 1/2048K.
" 

search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
search proxy win:  "X2GO-btaru-55-1326987931_stDGNOME_dp24" 
proxy win found: 69206095 
"Session: Terminating session at 'Fri Jan 27 08:42:52 2012'.
Session: Session terminated at 'Fri Jan 27 08:42:52 2012'.
" 

deleting proxy 

nxproxy not running 

proxy deleted 

check command message 

start new ssh connection to server: "vpn.myserver.de" : "22" krb:  false 

"Authentication failed"  -  "Access denied. Authentication that can continue: publickey,password" 
QThread: Destroyed while thread is still running
Segmentation fault (core dumped)
------------------------------------------------------------------------------------------------------------------------------------

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?

Thanks for your support,
Bogdan






More information about the x2go-dev mailing list