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