[X2Go-Dev] x2go no longer works after reboot on CentOS 6.4

Anders Bruun Olsen abo at dsl.dk
Mon Jun 10 11:56:35 CEST 2013


On my systems it returns /usr/lib/x2go, which is where x2gologlevel.pm is
located. /usr/sbin/x2gocleansessions uses "x2gopath libexec" to get which
paths it needs to search for the needed perl modules. Why x2gopath returns
that path on your system is beyond me - I generally only run Ubuntu on my
systems :)
It is really quite weird, as /usr/bin/x2gopath (at least on my systems)
doesn't even seem capable of returning a path like the one you are getting.
A workaround would probably be to make /usr/libexec/x2go a symlink to
/usr/lib64/x2go. I do however think it would be a good idea to find out why
this is happening, as other CentOS users might run into the same problem,
and it might be preventable in the code.


2013/6/10 Jan Middelkoop <jan at recreatie-zorg.nl>

>  [root at local ~]# x2gopath libexec
> /usr/libexec/x2go
>
>
> Kindest regards,
>
> Jan Middelkoop
> Recreatie en Zorg Groep B.V.
>
> --
> Website: http://www.recreatie-zorg.nl/
> E-mail: jan at recreatie-zorg.nl
> Telephone: +31 10 714 22 97
>
>
> Op 10-06-13 11:31, Anders Bruun Olsen schreef:
>
> Hi Jan,
>
>  Can you post the output of: "x2gopath libexec"?
>
>
> 2013/6/10 Jan Middelkoop <jan at recreatie-zorg.nl>
>
>>  Hi Anders,
>>
>> Thank you for your reply.  Sorry for not getting back to you earlier.
>>
>> I definitely do not have an SSH proxy configured in the x2goclient.
>>
>> If you have any other suggestions or things I might try, please let me
>> know.
>>
>> Kindest regards,
>>
>> Jan Middelkoop
>> Recreatie en Zorg Groep B.V.
>>
>> --
>> Website: http://www.recreatie-zorg.nl/
>> E-mail: jan at recreatie-zorg.nl
>> Telephone: +31 10 714 22 97
>>
>>  Op 07-06-13 10:15, Anders Bruun Olsen schreef:
>>
>> Hi Jan,
>>
>>  The output from x2goclient indicates that it is trying to use an SSH
>> proxy. Can you double check that your x2go session doesn't have SSH
>> proxying enabled? (Go to Session Preferences and make sure that "Use Proxy
>> server for SSH connection" isn't chosen)
>>
>>
>> 2013/6/6 Jan Middelkoop <jan at recreatie-zorg.nl>
>>
>>> Hello!
>>>
>>> After not getting freenx working properly on a clean install of CentOS
>>> 6.4, someone advised me to install x2go server.  I was surprised by the
>>> ease of installation, using the RHEL6 repository.  Using an x2go client on
>>> Ubuntu 12.04 to connect, things worked fantastic out of the box.
>>>
>>> However, after a reboot of the CentOS 6.4 machine, the client can no
>>> longer connect.  I've presented this issue to #x2go on Freenode, where
>>> sunweaver was gracious enough to provide some useful information.  He
>>> advised me to post about my issue on this mailing list.
>>>
>>> After an unsuccessful connection attempt, this is in /var/log/syslog
>>> with debug log level:  http://pastebin.com/L3e4xP6g  The x2go client
>>> says:  http://pastebin.com/CiGatMeS  When I connect, I get those
>>> errors. When I re-connect it shows an active session, but I can't resume
>>> it.  I can start a new one, but then the same thing happens as the first
>>> time.  The error message shows up and next time there's 2 sessions in the
>>> session popup during login.
>>>
>>> Per sunweaver's suggestions, I've tried   rm -f
>>> /var/lib/x2go/x2go_sessions  and  x2godbadmin --createdb   but that didn't
>>> solve the problem.  There is also no process x2gocleansessions running.
>>>  There is nothing actually running with x2go in the name (ps aux | grep
>>> x2go returns nothing).  When starting x2gocleansessions manually, I get:
>>> http://pastebin.com/fExxSJ5p
>>>
>>> Another suggestion was to create a brand new user account, but there I
>>> get the same error as with the other user account.  I've tried a fresh
>>> account on both server and client.
>>>
>>> About the not locating x2gologlevel.pm bit (the x2gocleansessions
>>> error)... seems like it's include path is insufficient.  The file is in
>>> /usr/lib64/x2go/x2gologlevel.pm.  Not sure how to fix that and if it's
>>> indication of bigger problems.  Also interesting... in the sudoers file
>>> there's a reference to /usr/bin/x2gopgwrapper, but this executable does not
>>> exist.
>>>
>>> If you have any suggestions on things which I could try that might shed
>>> further light on this, please let me know.
>>>
>>> Also, the machine that's plagued with this issue is a fresh
>>> installation, with nothing sensitive, critical or even mildly important
>>> running there yet.  I could provide you with ssh access to this machine so
>>> you can have a look around and/or attempt to connect.  If that helps,
>>> please find me on irc.freenode.net in #x2go under nickname Hyperbyte,
>>> so we can work something out.
>>>
>>> Kindest regards,
>>> Jan Middelkoop
>>> _______________________________________________
>>> X2Go-Dev mailing list
>>> X2Go-Dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/x2go-dev
>>>
>>
>>
>>
>>  --
>> Anders Bruun Olsen
>> It-ansvarlig
>> Det Danske Sprog- og Litteraturselskab
>> (Society for Danish Language and Literature)
>>
>>
>> _______________________________________________
>> X2Go-Dev mailing listX2Go-Dev at lists.berlios.dehttps://lists.berlios.de/mailman/listinfo/x2go-dev
>>
>>
>>
>> _______________________________________________
>> X2Go-Dev mailing list
>> X2Go-Dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/x2go-dev
>>
>
>
>
>  --
> Anders Bruun Olsen
> It-ansvarlig
> Det Danske Sprog- og Litteraturselskab
> (Society for Danish Language and Literature)
>
>
> _______________________________________________
> X2Go-Dev mailing listX2Go-Dev at lists.berlios.dehttps://lists.berlios.de/mailman/listinfo/x2go-dev
>
>
>
> _______________________________________________
> X2Go-Dev mailing list
> X2Go-Dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev
>



-- 
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130610/97406ecc/attachment.html>


More information about the x2go-dev mailing list