I recently had reported installing x2goserver on a totally new server machine and the x2goclient on a totally new client machine both running Ubuntu 12.04 beta 2 and the fact that when trying to start an x2go session it would always indicate "running" then immediately fail/terminate.
I've found out the following.
After adding the x2go PPA for debian/ubuntu
*sudo add-apt-repository ppa:x2go/stable sudo apt-get update*
In the past all I've had to do on the server was install x2goserver
*sudo apt-get install x2goserver*
then edit /etc/ssh/sshd_config and enable ChallengeResponseAuthentication to YES
*ChallengeResponseAuthentication yes*
However, with the new x2go versions apparently that is NOT they only module that needs to be installed.
On the server you now also must install x2goserver-xsession * sudo apt-get install x2goserver-xsession*
My best guess is that this was introduced when the new x2go versions implemented the ability to *published apps* on the x2go server without having to install any sort of desktop environment on the remote "server" machine.
After installing the x2goserver-xsession the x2goclient now successfully creates a remote desktop session with one caveate... I've had to setup the remote server for ssh automatic login
If using Ubuntu refer to: https://help.ubuntu.com/community/SSH/OpenSSH/Keys
If I do not do this then the login to the remote server will always fail due to some ssh failure but I am not sure if its the client or server side that fails but that is another problem to figure out later. At least I can get a remote desktop now.
I'm not sure if the above change was documented anywhere on the x2go wiki but I will check and add it if it doesn't exist yet.
Brian
Hi Brian,
On Mi 25 Apr 2012 00:01:16 CEST brian mullan wrote:
My best guess is that this was introduced when the new x2go versions implemented the ability to *published apps* on the x2go server without having to install any sort of desktop environment on the remote "server" machine.
x2goserver-xsession was introduced so that X2Go can be installed on
Debian Edu terminal servers and the sessions look like they do on
Debian Edu (aka Skolelinux) desktops.
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 Brian,
On Mi 25 Apr 2012 00:01:16 CEST brian mullan wrote:
then edit /etc/ssh/sshd_config and enable ChallengeResponseAuthentication to YES
*ChallengeResponseAuthentication yes*
I cannot confirm that this setting change in sshd_config is necessary.
I just tested Ubuntu precise with X2Go and server logins were
successful with x2goclient and pyhoca-gui without the above change
being applied.
Please check your setup again and remove the part in the wiki that
suggests the above named change. Or explain in more detail why you
think this is necessary. Let's track this down fully, so we get a
clearer sight on what is happening here.
On the server you now also must install x2goserver-xsession * sudo apt-get install x2goserver-xsession*
Thanks for reporting this. This indeed may have been a bug in
x2goruncommand. My patch is currently being discussed on the x2go-dev
ML:
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=c13ffe1cb2c39edf...
With the given patch applied, the x2goserver-xsession package becomes
optional again. Packages for testing will be available in the
nightly-builds soon.
So basically, I think, we should remove this part from the wiki again,
as well. But before doing that, we have to wait for acceptance of my
patch by the other developers.
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...