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
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@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 <http://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@lists.berlios.de https://lists.berlios.de/**mailman/listinfo/x2go-dev<https://lists.berlios.de/mailman/listinfo/x2go-dev>
-- Anders Bruun Olsen It-ansvarlig Det Danske Sprog- og Litteraturselskab (Society for Danish Language and Literature)
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@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@recreatie-zorg.nl <mailto:jan@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 <http://x2gologlevel.pm> bit (the x2gocleansessions error)... seems like it's include path is insufficient. The file is in /usr/lib64/x2go/x2gologlevel.pm <http://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 <http://irc.freenode.net> in #x2go under nickname Hyperbyte, so we can work something out. Kindest regards, Jan Middelkoop _______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@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 list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Hi Jan,
Can you post the output of: "x2gopath libexec"?
2013/6/10 Jan Middelkoop <jan@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@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@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@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@lists.berlios.dehttps://lists.berlios.de/mailman/listinfo/x2go-dev
X2Go-Dev mailing list X2Go-Dev@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)
[root@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@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@recreatie-zorg.nl <mailto:jan@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@recreatie-zorg.nl <mailto:jan@recreatie-zorg.nl> Telephone:+31 10 714 22 97 <tel:%2B31%2010%20714%2022%2097> 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@recreatie-zorg.nl <mailto:jan@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 <http://x2gologlevel.pm> bit (the x2gocleansessions error)... seems like it's include path is insufficient. The file is in /usr/lib64/x2go/x2gologlevel.pm <http://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 <http://irc.freenode.net> in #x2go under nickname Hyperbyte, so we can work something out. Kindest regards, Jan Middelkoop _______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@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 list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@lists.berlios.de> https://lists.berlios.de/mailman/listinfo/x2go-dev
_______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@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 list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
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@recreatie-zorg.nl>
[root@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@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@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@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@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@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@lists.berlios.dehttps://lists.berlios.de/mailman/listinfo/x2go-dev
X2Go-Dev mailing list X2Go-Dev@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@lists.berlios.dehttps://lists.berlios.de/mailman/listinfo/x2go-dev
X2Go-Dev mailing list X2Go-Dev@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)
Hi Anders,
Thank you for your prompt reply.
As a note of interest, /usr/libexec/x2go is the correct directory it seems:
[root@local ~]# LC_ALL=C ls -al /usr/libexec/x2go total 92 drwxr-xr-x. 3 root root 4096 Jun 6 13:28 . drwxr-xr-x. 14 root root 4096 Jun 6 20:06 .. drwxr-xr-x. 16 root root 4096 May 23 01:19 extensions -rwxr-xr-x. 1 root root 1256 May 19 01:02 x2gochangestatus -rwxr-xr-x. 1 root root 1426 May 19 01:02 x2gocreatesession -rwxr-xr-x. 1 root root 1243 May 19 01:02 x2gogetagent -rwxr-xr-x. 1 root root 1266 May 19 01:02 x2gogetdisplays -rwxr-xr-x. 1 root root 1258 May 19 01:02 x2gogetports -rwxr-xr-x. 1 root root 1258 May 19 01:02 x2gogetstatus -rwxr-xr-x. 1 root root 1300 May 19 01:02 x2goinsertport -rwxr-xr-x. 1 root root 1311 May 19 01:02 x2goinsertsession -rwxr-xr-x. 1 root root 1572 May 19 01:02 x2golistsessions_sql -rwxr-xr-x. 1 root root 1036 May 19 01:02 x2gologlevel -rwxr-xr-x. 1 root root 1361 May 19 01:02 x2goresume -rwxr-xr-x. 1 root root 1278 May 19 01:02 x2gormport -rwxr-sr-x. 1 root x2gouser 5040 May 23 01:19 x2gosqlitewrapper -rwxr-xr-x. 1 root root 15160 May 19 01:02 x2gosqlitewrapper.pl -rwxr-xr-x. 1 root root 1273 May 19 01:02 x2gosuspend-agent -rwxr-xr-x. 1 root root 1232 May 19 01:02 x2gosyslog [root@local ~]#
However, there are also files in /usr/lib64/x2go/
[root@local ~]# LC_ALL=C ls -al /usr/lib64/x2go/ total 72 drwxr-xr-x. 2 root root 4096 Jun 6 13:28 . dr-xr-xr-x. 49 root root 36864 Jun 6 19:49 .. -rw-r--r--. 1 root root 20852 May 19 01:02 x2godbwrapper.pm -rw-r--r--. 1 root root 1834 May 19 01:02 x2gologlevel.pm [root@local ~]#
I think this is where things are getting interesting.
Kindest regards,
Jan Middelkoop Recreatie en Zorg Groep B.V.
-- Website: http://www.recreatie-zorg.nl/ E-mail: jan@recreatie-zorg.nl Telephone: +31 10 714 22 97
Op 10-06-13 11:56, Anders Bruun Olsen schreef:
On my systems it returns /usr/lib/x2go, which is where x2gologlevel.pm <http://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@recreatie-zorg.nl <mailto:jan@recreatie-zorg.nl>>
[root@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@recreatie-zorg.nl <mailto:jan@recreatie-zorg.nl> Telephone:+31 10 714 22 97 <tel:%2B31%2010%20714%2022%2097> 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@recreatie-zorg.nl <mailto:jan@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@recreatie-zorg.nl <mailto:jan@recreatie-zorg.nl> Telephone:+31 10 714 22 97 <tel:%2B31%2010%20714%2022%2097> 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@recreatie-zorg.nl <mailto:jan@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 <http://x2gologlevel.pm> bit (the x2gocleansessions error)... seems like it's include path is insufficient. The file is in /usr/lib64/x2go/x2gologlevel.pm <http://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 <http://irc.freenode.net> in #x2go under nickname Hyperbyte, so we can work something out. Kindest regards, Jan Middelkoop _______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@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 list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@lists.berlios.de> https://lists.berlios.de/mailman/listinfo/x2go-dev
_______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@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 list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@lists.berlios.de> https://lists.berlios.de/mailman/listinfo/x2go-dev
_______________________________________________ X2Go-Dev mailing list X2Go-Dev@lists.berlios.de <mailto:X2Go-Dev@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 list X2Go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
Hi Jan (Middelkoop), hi Jan (Engelhardt, RPM maintainer),
On Mo 10 Jun 2013 12:23:45 CEST Jan Middelkoop wrote:
Hi Anders,
Thank you for your prompt reply.
As a note of interest, /usr/libexec/x2go is the correct directory it seems:
[root@local ~]# LC_ALL=C ls -al /usr/libexec/x2go total 92 drwxr-xr-x. 3 root root 4096 Jun 6 13:28 . drwxr-xr-x. 14 root root 4096 Jun 6 20:06 .. drwxr-xr-x. 16 root root 4096 May 23 01:19 extensions -rwxr-xr-x. 1 root root 1256 May 19 01:02 x2gochangestatus -rwxr-xr-x. 1 root root 1426 May 19 01:02 x2gocreatesession -rwxr-xr-x. 1 root root 1243 May 19 01:02 x2gogetagent -rwxr-xr-x. 1 root root 1266 May 19 01:02 x2gogetdisplays -rwxr-xr-x. 1 root root 1258 May 19 01:02 x2gogetports -rwxr-xr-x. 1 root root 1258 May 19 01:02 x2gogetstatus -rwxr-xr-x. 1 root root 1300 May 19 01:02 x2goinsertport -rwxr-xr-x. 1 root root 1311 May 19 01:02 x2goinsertsession -rwxr-xr-x. 1 root root 1572 May 19 01:02 x2golistsessions_sql -rwxr-xr-x. 1 root root 1036 May 19 01:02 x2gologlevel -rwxr-xr-x. 1 root root 1361 May 19 01:02 x2goresume -rwxr-xr-x. 1 root root 1278 May 19 01:02 x2gormport -rwxr-sr-x. 1 root x2gouser 5040 May 23 01:19 x2gosqlitewrapper -rwxr-xr-x. 1 root root 15160 May 19 01:02 x2gosqlitewrapper.pl -rwxr-xr-x. 1 root root 1273 May 19 01:02 x2gosuspend-agent -rwxr-xr-x. 1 root root 1232 May 19 01:02 x2gosyslog [root@local ~]#
However, there are also files in /usr/lib64/x2go/
[root@local ~]# LC_ALL=C ls -al /usr/lib64/x2go/ total 72 drwxr-xr-x. 2 root root 4096 Jun 6 13:28 . dr-xr-xr-x. 49 root root 36864 Jun 6 19:49 .. -rw-r--r--. 1 root root 20852 May 19 01:02 x2godbwrapper.pm -rw-r--r--. 1 root root 1834 May 19 01:02 x2gologlevel.pm [root@local ~]#
All those files should be in the same folder.
The folder should be echoed to stdout by this command:
x2gopath libexec
@Jan E.: please fix the RPM packages, as this file divergence seems to
break part of the X2Go Server (or am I missing something from remote).
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
On Monday 2013-06-10 12:46, Mike Gabriel wrote:
As a note of interest, /usr/libexec/x2go is the correct directory it seems:
However, there are also files in /usr/lib64/x2go/
[root@local ~]# LC_ALL=C ls -al /usr/lib64/x2go/ total 72 drwxr-xr-x. 2 root root 4096 Jun 6 13:28 . dr-xr-xr-x. 49 root root 36864 Jun 6 19:49 .. -rw-r--r--. 1 root root 20852 May 19 01:02 x2godbwrapper.pm -rw-r--r--. 1 root root 1834 May 19 01:02 x2gologlevel.pm [root@local ~]#
All those files should be in the same folder. The folder should be echoed to stdout by this command:
x2gopath libexec
I am in an undecided state on that.
System Perl modules also live in an *arch-dependent* directory (e.g. /usr/lib/perl5/5.16.0/x86_64-linux-thread-multi) because they can have arch-specific native code. As such, placing .pm files into an arch-specific x2go path (/usr/lib64/x2go satisfies this on current RH/SUSE) is a safe choice.
This is also why the x2go perl scripts use x2gopath lib
and not x2gopath libexec
.
Hi,
To troubleshoot this problem further, I have moved all contents from /usr/libexec/x2go to /usr/lib64/x2go and made /usr/libexec/x2go a symlink to /usr/lib64/x2go. x2gocleansessions now runs properly.
I am also now able to connect again. :-)
So, sorry to say this - but on CentOS, X2Go does not work out-of-the-box. I'm still curious why it did work before the reboot, but perhaps that was only because there weren't any sessions that needed cleaning yet.
I should probably file a bug report about all this.
Kindest regards,
Jan Middelkoop Recreatie en Zorg Groep B.V.
-- Website: http://www.recreatie-zorg.nl/ E-mail: jan@recreatie-zorg.nl Telephone: +31 10 714 22 97
Op 10-06-13 12:46, Mike Gabriel schreef:
All those files should be in the same folder.
The folder should be echoed to stdout by this command:
x2gopath libexec
@Jan E.: please fix the RPM packages, as this file divergence seems to break part of the X2Go Server (or am I missing something from remote).
Greets, Mike
Hi Anders, hi Jan,
On Mo 10 Jun 2013 11:56:35 CEST Anders Bruun Olsen wrote:
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.
Ah. Obviously you were already aware of what I wrote in my last mail.
We invented the x2gopath scripty so that packages can manipulate X2Go
Server installation paths in one file with a minimal patch.
Of, course all X2Go subscripts/tools/.pm files should use this
x2gopath script to find their family members.
Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...