Hi All,
hoping for some pointers here in getting x2go working.
Two problems below - related or not?
Problem 1) Mac OS X client won't connect to server:
Dialogue error message is:
''Can't connect to X-Server Please check your settings".
Checking /var/log/system.log on the client machine (Mac OS X 10.6.4) it shows:
Dec 18 17:23:11 Paul-Clarks-MacBook-Pro [0x0-0x18b98b8].x2goclient[56024]: Can't load translator (:/x2goclient_en_au) ! Dec 18 17:23:11 Paul-Clarks-MacBook-Pro [0x0-0x18b98b8].x2goclient[56024]: Can't load translator (:/qt_en_AU) ! Dec 18 17:23:21 Paul-Clarks-MacBook-Pro org.x.privileged_startx[56034]: font_cache: Scanning system font directories to generate X11 font caches Dec 18 17:23:21 Paul-Clarks-MacBook-Pro defaults[56052]: \nThe domain/default pair of (org.x.X11, dpi) does not exist
Nothing is showing in /var/log/auth.log on the server around these times.
Any ideas as to what the fix is?
Problem 2) Linux client on server won't connect to localhost . Is this allowed? I attempted this to try to resolve problem 1!
I get this error message:
"The remote proxy closed the connection while negotiating the session. This may be due to the wrong authentication credentials passed to the server."
And the log info:
$ cat .x2go/C-paul-51-1292666024_stDGNOME_dp24/session.log
NXAGENT - Version 3.4.0
Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.
Info: Agent running with pid '9734'. Session: Starting session at 'Sat Dec 18 17:53:44 2010'. Info: Proxy running in server mode with pid '9734'. Info: Waiting for connection from 'localhost' on port '30001'. Info: Accepted connection from '127.0.0.1'. Error: The remote NX proxy closed the connection. Error: Failure negotiating the session in stage '7'. Error: Aborting session with 'X2goagent: Unable to open display 'nx/nx,options=/home/paul/.x2go/C-paul-51-1292666024_stDGNOME_dp24/options:51''. Session: Aborting session at 'Sat Dec 18 17:53:44 2010'. Session: Session aborted at 'Sat Dec 18 17:53:44 2010'.
$ cat .x2go/S-paul-51-1292666024_stDGNOME_dp24/sessions Loop: PANIC! The remote NX proxy closed the connection. Loop: PANIC! Failure negotiating the session in stage '7'. Loop: PANIC! Wrong version or invalid session authentication cookie.
Is it even possible to run the x2goclient on the server?
I'm attempted all this through a remote NoMachine NX desktop session, as the server is far away! (So, I do have NoMachine NX working fine. Server is xubuntu-64bit with ubuntu 10.10)
I followed the directions here to setup x2go on the server:
http://wiki.x2go.org/adding_the_x2go_repository_debian http://wiki.x2go.org/installing_x2goclient_ubuntu http://wiki.x2go.org/installing_x2goserver-home_ubuntu
I also had to install "sqlite3", which I did with the synaptic package manager. (I'm guessing SQLIGHT3 is a mis-spelling in the instructions?)
Thanks for any help. :^)
Cheers,
Paul.
PS: I tried this after reading some post, but no joy:
Changed to >
$ cat /usr/bin/x2goagent #!/bin/bash -e X2GO_LIBS=/usr/lib/x2go LD_LIBRARY_PATH=/usr/lib/x2go exec /usr/lib/x2go/x2goagent $@
From original>
$ cat /usr/bin/x2goagent.org -e #!/bin/bash X2GO_LIBS=/usr/lib/x2go LD_LIBRARY_PATH=/usr/lib/x2go exec /usr/lib/x2go/x2goagent $@
Partly solved on Mac. Under X11 Preferences I also needed to tick "Allow connections for network clients". For NoMachine NX I only needed to tick "Authenticate connections".
Now I'm getting the infamous missing font problem:
Error: Aborting session with 'Could not open default font 'fixed''.
Any known solution?
Cheers,
Paul.
On 18/12/2010, at 6:20 PM, Paul Clark wrote:
Hi All,
hoping for some pointers here in getting x2go working.
Two problems below - related or not?
Problem 1) Mac OS X client won't connect to server:
Dialogue error message is:
''Can't connect to X-Server Please check your settings".
Checking /var/log/system.log on the client machine (Mac OS X 10.6.4) it shows:
Dec 18 17:23:11 Paul-Clarks-MacBook-Pro [0x0-0x18b98b8].x2goclient[56024]: Can't load translator (:/x2goclient_en_au) ! Dec 18 17:23:11 Paul-Clarks-MacBook-Pro [0x0-0x18b98b8].x2goclient[56024]: Can't load translator (:/qt_en_AU) ! Dec 18 17:23:21 Paul-Clarks-MacBook-Pro org.x.privileged_startx[56034]: font_cache: Scanning system font directories to generate X11 font caches Dec 18 17:23:21 Paul-Clarks-MacBook-Pro defaults[56052]: \nThe domain/default pair of (org.x.X11, dpi) does not exist
Nothing is showing in /var/log/auth.log on the server around these times.
Any ideas as to what the fix is?
Problem 2) Linux client on server won't connect to localhost . Is this allowed? I attempted this to try to resolve problem 1!
I get this error message:
"The remote proxy closed the connection while negotiating the session. This may be due to the wrong authentication credentials passed to the server."
And the log info:
$ cat .x2go/C-paul-51-1292666024_stDGNOME_dp24/session.log
NXAGENT - Version 3.4.0
Copyright (C) 2001, 2007 NoMachine. See http://www.nomachine.com/ for more information.
Info: Agent running with pid '9734'. Session: Starting session at 'Sat Dec 18 17:53:44 2010'. Info: Proxy running in server mode with pid '9734'. Info: Waiting for connection from 'localhost' on port '30001'. Info: Accepted connection from '127.0.0.1'. Error: The remote NX proxy closed the connection. Error: Failure negotiating the session in stage '7'. Error: Aborting session with 'X2goagent: Unable to open display 'nx/nx,options=/home/paul/.x2go/C-paul-51-1292666024_stDGNOME_dp24/options:51''. Session: Aborting session at 'Sat Dec 18 17:53:44 2010'. Session: Session aborted at 'Sat Dec 18 17:53:44 2010'.
$ cat .x2go/S-paul-51-1292666024_stDGNOME_dp24/sessions Loop: PANIC! The remote NX proxy closed the connection. Loop: PANIC! Failure negotiating the session in stage '7'. Loop: PANIC! Wrong version or invalid session authentication cookie.
Is it even possible to run the x2goclient on the server?
I'm attempted all this through a remote NoMachine NX desktop session, as the server is far away! (So, I do have NoMachine NX working fine. Server is xubuntu-64bit with ubuntu 10.10)
I followed the directions here to setup x2go on the server:
http://wiki.x2go.org/adding_the_x2go_repository_debian http://wiki.x2go.org/installing_x2goclient_ubuntu http://wiki.x2go.org/installing_x2goserver-home_ubuntu
I also had to install "sqlite3", which I did with the synaptic package manager. (I'm guessing SQLIGHT3 is a mis-spelling in the instructions?)
Thanks for any help. :^)
Cheers,
Paul.
PS: I tried this after reading some post, but no joy:
Changed to >
$ cat /usr/bin/x2goagent #!/bin/bash -e X2GO_LIBS=/usr/lib/x2go LD_LIBRARY_PATH=/usr/lib/x2go exec /usr/lib/x2go/x2goagent $@
From original>
$ cat /usr/bin/x2goagent.org -e #!/bin/bash X2GO_LIBS=/usr/lib/x2go LD_LIBRARY_PATH=/usr/lib/x2go exec /usr/lib/x2go/x2goagent $@
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
On Sat, 2010-12-18 at 18:20 +0800, Paul Clark wrote:
Hi All,
hoping for some pointers here in getting x2go working.
Two problems below - related or not?
Problem 1) Mac OS X client won't connect to server:
Dialogue error message is:
''Can't connect to X-Server Please check your settings".
<snip> We haven't done a lot of work with the Mac clients but here are some notes we made to ourselves a while back:
The X2Go Mac client uses the OSX X11 server. The X11 server must be configured to accept remote sessions in its preferences. One must also enable a root screen in X11 preferences if one wants truly full screen view in X2Go. To use print, local media sharing, and sound, one must also enable Remote Login in the System Preferences.
Problem 2) Linux client on server won't connect to localhost . Is this allowed? I attempted this to try to resolve problem 1!
<snip>
Is it even possible to run the x2goclient on the server?
Nope ;) That's the problem. One cannot currently connect an x2goclient to an x2goserver on the same system. <snip>
On 12/18/2010 02:11 PM, John A. Sullivan III wrote:
On Sat, 2010-12-18 at 18:20 +0800, Paul Clark wrote:
Hi All,
hoping for some pointers here in getting x2go working.
Two problems below - related or not?
Problem 1) Mac OS X client won't connect to server:
Dialogue error message is:
''Can't connect to X-Server Please check your settings".
<snip> We haven't done a lot of work with the Mac clients but here are some notes we made to ourselves a while back:
The X2Go Mac client uses the OSX X11 server. The X11 server must be configured to accept remote sessions in its preferences. One must also enable a root screen in X11 preferences if one wants truly full screen view in X2Go. To use print, local media sharing, and sound, one must also enable Remote Login in the System Preferences.
Problem 2) Linux client on server won't connect to localhost . Is this allowed? I attempted this to try to resolve problem 1!
<snip>
Is it even possible to run the x2goclient on the server?
Nope ;) That's the problem. One cannot currently connect an x2goclient to an x2goserver on the same system. <snip>
And on Mac there are a number of things that make using the built-in X-server environment difficult. You have to enable X-forwarding in /etc/sshd_config as I remember. Probably other things as well. Haven't played with this in quite a while.
-Gerry
On 12/18/2010 02:57 PM, Gerry Reno wrote:
On 12/18/2010 02:11 PM, John A. Sullivan III wrote:
On Sat, 2010-12-18 at 18:20 +0800, Paul Clark wrote:
Hi All,
hoping for some pointers here in getting x2go working.
Two problems below - related or not?
Problem 1) Mac OS X client won't connect to server:
Dialogue error message is:
''Can't connect to X-Server Please check your settings".
<snip> We haven't done a lot of work with the Mac clients but here are some notes we made to ourselves a while back:
The X2Go Mac client uses the OSX X11 server. The X11 server must be configured to accept remote sessions in its preferences. One must also enable a root screen in X11 preferences if one wants truly full screen view in X2Go. To use print, local media sharing, and sound, one must also enable Remote Login in the System Preferences.
Problem 2) Linux client on server won't connect to localhost . Is this allowed? I attempted this to try to resolve problem 1!
<snip>
Is it even possible to run the x2goclient on the server?
Nope ;) That's the problem. One cannot currently connect an x2goclient to an x2goserver on the same system. <snip>
And on Mac there are a number of things that make using the built-in X-server environment difficult. You have to enable X-forwarding in /etc/sshd_config as I remember. Probably other things as well. Haven't played with this in quite a while.
-Gerry
On your Mac check these settings and make sure that they are false: defaults read org.x.X11 | grep -E "nolisten_tcp|no_auth"
Regards, Gerry
Thanks for the help Gerry and John.
One authentication problem fixed, another on arisen!
I've tried to lockdown a "terminal / command line" ssh into the server with AllowUsers in /etc/ssh/sshd_config. Apparently this approach works with NoMachine NX where by you allow the nx user - it hasn't worked for me as yet, I keep getting a public key authentication error. Anyway, I was wondering though whether this approach might work with x2go. Is there an "x2go" user that I can allow? I get this error message at the moment:
Wrong password!
Does anyone have any suggestions?
Cheers,
Paul
PS: With regard to the font problem, I finally got the kde desktop working along with gnome and xfce4. The 'fixed' font problem with kde appeared to be a dependency problem (I think). Anyway, it worked after this (but only with the -f option):
sudo aptitude install kdebase-workspace-bin -f.
On 19/12/2010, at 5:11 AM, Gerry Reno wrote:
On 12/18/2010 02:57 PM, Gerry Reno wrote:
On 12/18/2010 02:11 PM, John A. Sullivan III wrote:
On Sat, 2010-12-18 at 18:20 +0800, Paul Clark wrote:
Hi All,
hoping for some pointers here in getting x2go working.
Two problems below - related or not?
Problem 1) Mac OS X client won't connect to server:
Dialogue error message is:
''Can't connect to X-Server Please check your settings".
<snip> We haven't done a lot of work with the Mac clients but here are some notes we made to ourselves a while back:
The X2Go Mac client uses the OSX X11 server. The X11 server must be configured to accept remote sessions in its preferences. One must also enable a root screen in X11 preferences if one wants truly full screen view in X2Go. To use print, local media sharing, and sound, one must also enable Remote Login in the System Preferences.
Problem 2) Linux client on server won't connect to localhost . Is this allowed? I attempted this to try to resolve problem 1!
<snip>
Is it even possible to run the x2goclient on the server?
Nope ;) That's the problem. One cannot currently connect an x2goclient to an x2goserver on the same system. <snip>
And on Mac there are a number of things that make using the built-in X-server environment difficult. You have to enable X-forwarding in /etc/sshd_config as I remember. Probably other things as well. Haven't played with this in quite a while.
-Gerry
On your Mac check these settings and make sure that they are false: defaults read org.x.X11 | grep -E "nolisten_tcp|no_auth"
Regards, Gerry
X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev