Hi all! :-D
<blah> Recently i'm taking my time to get my Personal Computers in a more useable and productive state. A very important part of this process/project is getting X2go to run on my systems. </blah>
After installing X2go on my main machine (details: see below) i wanted to use it, of course. But when trying to start a session via x2goclient i get no further than while connecting an error dialog appears with this messeage: "Please install this program as SUID x2gouser!"
So i thought: maybe there is an issue with the installation process of the packets, and some rights have to be adjusted manually afterwards. But the problem seems to be that a file called "x2gouser" is missing at all!?
$> dpkg -L x2goagent x2goclient x2goserver x2goserver-extension
| grep x2gouser
...gives nothing.
Any help/hints on this is very much appreciated.
Best wishes, happy hacking and greetings to Treuchtlingen & Kiel! Patrick
ps: I `frankensteined´ the "perl-suid" package from "squeeze" using "Depends: perl (>= 5.10.1), libc6 (>= 2.4), libperl5.10 | libperl5.12 | libperl5.14" and installed this manually to get "x2goserver" installed on wheezy/sid. But this will go into another thread. ;-)
And now some technical details about my system/intallation...
System is Debian testing(Wheezy)/unstable; mainly testing due to "Apt::Default-Release testing". Other general/verbose info: o SSH-deamon is running (standard config) o respective users have been added to the group "x2gousers" o connection is made to 127.0.0.1:22 o RSA fingerprint is correct and was accepted
/etc/sources.list.d/x2go_org-debian.list # ---------------------------------------------------------------------- # What is x2go? # x2go is an open source terminal server project offering a comprehensive # "server based computing" solution. Combining the advantages of existing # systems it features ease of use, performance and scalability. # x2go provides you with access to your desktop as an individual as well # as a corporate user - from within your own network and via the internet. # x2go is not limited to any particular hardware, it supports a variety # of devices and architectures. x2go is open source and open minded. # The project also offers you a command line client for you to implement # your own client applications and ideas. # http://x2go.org | http://blog.x2go.org | http://wiki.x2go.org # # ( cf. http://wiki.x2go.org/adding_the_x2go_repository_debian ) # ----- secure apt ----- # 1. import key # #> gpg --keyserver keys.gnupg.net --recv-keys E1F958385BFE2B6E # #> gpg -a --export E1F958385BFE2B6E | apt-key add - # (or, as single command:) # #> apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E # 2. install keyring # #> aptitude install x2go-keyring # ----- binaries ----- deb http://packages.x2go.org/debian lenny main deb http://packages.x2go.org/debian squeeze main deb http://packages.x2go.org/debian wheezy main deb http://packages.x2go.org/debian sid main # ----- sources ------ deb-src http://packages.x2go.org/debian lenny main deb-src http://packages.x2go.org/debian squeeze main deb-src http://packages.x2go.org/debian wheezy main deb-src http://packages.x2go.org/debian sid main # ----------------------------------------------------------------------
/etc/apt/preferences Explanation: packages.x2go.org Explanation: zur Debian-Version passende Pakete nehmen Package: /x2go/ Pin: release n=wheezy Pin-Priority: 990
$> dpkg -l | grep x2go ii libxcompext3 1:3.5.0-1-0~x2go-bpo1+lenny~main~36~build1 ii libxcompshad3 3.5.0-2-0~x2go-bpo1+lenny~main~24~build1 ii nxproxy 3.5.0-1-0~x2go1+wheezy~main~30~build1 ii plasma-widget-x2go 3.0.1.2-0~x2go1+wheezy~main~8~build1 ii x2go-keyring 2011.04.19+wheezy~main~10~build1 ii x2goagent 3.4.0.5-0~x2go1+wheezy~main~35~build1 ii x2goclient 3.99.0.0-0~x2go1+wheezy~main~94~build1 ii x2goserver 3.0.99.5-0~x2go3+wheezy~main~78~build1 ii x2goserver-extensions 3.0.99.5-0~x2go3+wheezy~main~78~build1
Hi Patrick,
On Mi 27 Jul 2011 23:49:44 CEST Patrick Willam wrote:
Hi all! :-D
<blah> Recently i'm taking my time to get my Personal Computers in a more useable and productive state. A very important part of this process/project is getting X2go to run on my systems. </blah>
After installing X2go on my main machine (details: see below) i wanted to use it, of course. But when trying to start a session via x2goclient i get no further than while connecting an error dialog appears with this messeage: "Please install this program as SUID x2gouser!"
If you install on wheezy, please make sure to use the current nightly
builds, as they have a fix for this perl-suid dependency problem:
deb http://packages.x2go.org/debian wheezy heuler
Then do
apt-get update apt-get install x2go-keyring apt-get update apt-get x2goserver
The group x2gousers is obsolete with the new x2goserver version. So
currently, every user who can SSH to an X2go server can obtain an X2go
session.
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...
Mike Gabriel wrote:
On Mi 27 Jul 2011 23:49:44 CEST Patrick Willam wrote:
After installing X2go on my main machine (details: see below) i wanted to use it, of course. But when trying to start a session via x2goclient i get no further than while connecting an error dialog appears with this messeage: "Please install this program as SUID x2gouser!"
Now i see... I read this as "Please install this program as SUID: x2gouser!", but it is to be read as "Please make sure that the file of *this* executable (x2goclient) has the SUID-bit set and the user set to 'x2gouser'!"
Is it of any value to rephrase that error-message in the "main" version? ...Or will Heuler replace "main" very soonish anyway?
If you install on wheezy, please make sure to use the current nightly builds, as they have a fix for this perl-suid dependency problem:
deb http://packages.x2go.org/debian wheezy heuler
Then do
apt-get update apt-get install x2go-keyring apt-get update apt-get x2goserver
I did "aptitude purge (...x2go-related-packages...)" and after changing "main" to "heuler" installed the packages again.
All went very well. Now i have a working X2go. Thanks a lot! :-D
The group x2gousers is obsolete with the new x2goserver version. So currently, every user who can SSH to an X2go server can obtain an X2go session.
All "x2go...."-groups were automatically deleted at purging. Convenient. :-)
Best wishes, Patrick
Hi Patrick,
On Sa 30 Jul 2011 00:32:24 CEST Patrick Willam wrote:
Mike Gabriel wrote:
On Mi 27 Jul 2011 23:49:44 CEST Patrick Willam wrote:
After installing X2go on my main machine (details: see below) i wanted to use it, of course. But when trying to start a session via x2goclient i get no further than while connecting an error dialog appears with this messeage: "Please install this program as SUID x2gouser!"
Now i see... I read this as "Please install this program as SUID: x2gouser!", but it is to be read as "Please make sure that the file of *this* executable (x2goclient) has the SUID-bit set and the user set to 'x2gouser'!"
Is it of any value to rephrase that error-message in the "main" version? ...Or will Heuler replace "main" very soonish anyway?
YES, I highly recommend heuler to be moved towards ''main''.
And: /usr/lib/x2go/x2gsqlitewrapper (new path) is now installed SETGID
group. Also the error message has been removed completely.
All went very well. Now i have a working X2go. Thanks a lot! :-D
GREAT! 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...