[X2go-dev] x2go not working on ubuntu 10.10?

jmm jagermeistermeister at gmail.com
Fri Jan 21 18:15:35 CET 2011


Yes ;-)

Sorry, I meant I disabled the firewall on the client, maybe it was 
blocking the connections to the tunneled port on localhost (I think it 
is localhost:30000 or something). But it appears it wasn't.


Moritz Struebe wrote:
> I assume you can  SSH on the box. ;-)
>
> Morty
>
> Am 21.01.2011 18:10, schrieb jmm:
>> It also works from ubuntu 9.04. However, I still would like to run it 
>> from my 9.10 box as this is my workstation :)
>>
>> I thought it might be a firewall issue, so I tried `sudo ufw disable` 
>> but still the problem persists.
>>
>>
>>
>> jmm wrote:
>>> I just installed a client on an old windows XP computer I had lying 
>>> around, there it does work. So presumably there is something wrong 
>>> with the client. No idea what that could be though.
>>>
>>> jmm wrote:
>>>> Oops excuse me I use Ubuntu 9.10 karmic, not 9.04 as I said earlier.
>>>>
>>>>
>>>> jmm wrote:
>>>>> Things I tried, but did not work:
>>>>>
>>>>> - check if user is a member of "x2gousers" group in /etc/group
>>>>> - check if user is a member of "fuse" group in /etc/group
>>>>> - reset password of user to make sure not entering wrong password
>>>>> - set DisallowTCP to false in /etc/gdm/gdm.schemas
>>>>> - remove "-nolisten tcp" from /etc/X11/xinit/xserverrc
>>>>> - run the command `xhost +x` (from the command line it gives an 
>>>>> error "xhost: unable to open display """ caused by no active 
>>>>> display (and therefore no $DISPLAY environment variable), so I 
>>>>> also tried entering this from within an VNC session and the 
>>>>> command completed normally, also tried this with an Xvfb xsession)
>>>>> - allowed login with passwords in /etc/ssh/sshd_config
>>>>> - restart ssh service
>>>>> - restart EC2 instance
>>>>> - tried installing packages x2goserver-home, x2goserver-one, 
>>>>> x2goserver (and removed installations between trying different 
>>>>> packages)
>>>>>
>>>>> When I tried different NX servers, I always used the corresponding 
>>>>> client (I have been careful not to mix up different clients with 
>>>>> different servers). For x2goserver I am using x2goclient from the 
>>>>> repository, I am using it on Ubuntu 9.04 desktop 64-bit edition. 
>>>>> My settings are:
>>>>>
>>>>> name: test
>>>>> hostname: <EC2 public dns here>
>>>>> login: ubuntu
>>>>> ssh port: 22
>>>>> use rsa/dsa key for SSH connection: <tried different settings, 
>>>>> tried to leave it empty, tried the key I got from amazon, tried a 
>>>>> key which was sitting in ~/.ssh/id_rsa; tried all possibilities 
>>>>> with and without password>
>>>>> session type: GNOME
>>>>>
>>>>> In all cases the error on the server stays the same.
>>>>>
>>>>>
>>>>> brian mullan wrote:
>>>>>> I've been  using AMI's from Alestic or one's I build myself.   
>>>>>> But x2go's been working solid.
>>>>>>
>>>>>> So you did all the normal things like change /etc/ssh/sshd_config
>>>>>> to allow login with passwords
>>>>>> and the user is a member of x2gousers 'group'
>>>>>> etc
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Jan 21, 2011 at 5:21 AM, jmm 
>>>>>> <jagermeistermeister at gmail.com 
>>>>>> <mailto:jagermeistermeister at gmail.com>> wrote:
>>>>>>
>>>>>>     Yes, it is an Ubuntu Server AMI with ubuntu-desktop
>>>>>>     installed, the desktop is working with VNC so that part seems
>>>>>>     to have gone OK.
>>>>>>
>>>>>>     FYI it was an alestic.com <http://alestic.com> Ubuntu 10.10
>>>>>>     image, did you get the image from Canonical?
>>>>>>
>>>>>>
>>>>>>
>>>>>>     brian mullan wrote:
>>>>>>>
>>>>>>>
>>>>>>>     ---------- Forwarded message ----------
>>>>>>>     From: <x2go-dev-request at lists.berlios.de
>>>>>>>     <mailto:x2go-dev-request at lists.berlios.de>>
>>>>>>>     Date: Fri, Jan 21, 2011 at 3:29 AM
>>>>>>>     Subject: X2go-dev Digest, Vol 25, Issue 19
>>>>>>>     To: x2go-dev at lists.berlios.de <mailto:x2go-dev at lists.berlios.de>
>>>>>>>
>>>>>>>
>>>>>>>     Send X2go-dev mailing list submissions to
>>>>>>>            x2go-dev at lists.berlios.de
>>>>>>>     <mailto:x2go-dev at lists.berlios.de>
>>>>>>>     Note sure what you are doing but I've got quite a few ubuntu
>>>>>>>     10.10 servers on amazon
>>>>>>>     that I connect to using x2go.     Lack of the video card on
>>>>>>>     those AWS EC2 machines
>>>>>>>     makes no difference in regards to x2go.
>>>>>>>
>>>>>>>     But you have installed a "desktop" on those AWS instances?
>>>>>>>
>>>>>>>     If you created an instance from an Ubuntu Server AMI then
>>>>>>>     you would need to
>>>>>>>
>>>>>>>     /sudo apt-get install ubuntu-desktop/
>>>>>>>
>>>>>>>     or install some "light" desktop.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>     ------------------------------
>>>>>>>
>>>>>>>     Message: 4
>>>>>>>     Date: Fri, 21 Jan 2011 09:27:33 +0100
>>>>>>>     From: jmm <jagermeistermeister at gmail.com
>>>>>>>     <mailto:jagermeistermeister at gmail.com>>
>>>>>>>     To: x2go-dev at lists.berlios.de <mailto:x2go-dev at lists.berlios.de>
>>>>>>>     Subject: [X2go-dev] x2go not working on ubuntu 10.10?
>>>>>>>     Message-ID: <4D394375.7090300 at gmail.com
>>>>>>>     <mailto:4D394375.7090300 at gmail.com>>
>>>>>>>     Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>>>>>>>
>>>>>>>     Hi,
>>>>>>>
>>>>>>>     I tried to get this working all night, but it seems there is
>>>>>>>     no way to
>>>>>>>     connect to an ubuntu 10.10 installation using x2go (package
>>>>>>>     x2goserver-home). When trying to connect, x2goagent is
>>>>>>>     complaining about
>>>>>>>     not being able to open a display (in the session log). The
>>>>>>>     machine is an
>>>>>>>     Amazon EC2 instance, which has no video card. I suspect this
>>>>>>>     is causing
>>>>>>>     the trouble. I have read it was working on ubuntu 10.04 by
>>>>>>>     the way, as
>>>>>>>     in
>>>>>>>     http://blog.restbackup.com/how-to-use-amazon-ec2-as-your-desktop
>>>>>>>
>>>>>>>     I also tried freenx, neatx and nxserver (from nomachine),
>>>>>>>     and they all
>>>>>>>     give similar errors. Tightvncserver on the other hand does
>>>>>>>     work, maybe
>>>>>>>     that's not so useful information, but just in case.
>>>>>>>
>>>>>>>     The server log says:
>>>>>>>
>>>>>>>     $ cat session.log
>>>>>>>     /usr/bin/x2goagent: line 1: -e: command not found
>>>>>>>
>>>>>>>     NXAGENT - Version 3.4.0
>>>>>>>
>>>>>>>     Copyright (C) 2001, 2007 NoMachine.
>>>>>>>     See http://www.nomachine.com/ for more information.
>>>>>>>
>>>>>>>     Info: Agent running with pid '3065'.
>>>>>>>     Session: Starting session at 'Fri Jan 21 00:42:15 2011'.
>>>>>>>     Info: Proxy running in server mode with pid '3065'.
>>>>>>>     Info: Waiting for connection from 'localhost' on port '30001'.
>>>>>>>     Info: Accepted connection from '127.0.0.1'.
>>>>>>>     Warning: Connected to remote version 3.2.0 with local
>>>>>>>     version 3.4.0.
>>>>>>>     Info: Connection with remote proxy completed.
>>>>>>>     Info: Using ADSL link parameters 512/24/1/0.
>>>>>>>     Info: Using agent parameters 5000/10/50/0/0.
>>>>>>>     Info: Using cache parameters 4/4096KB/8192KB/8192KB.
>>>>>>>     Info: Using pack method '16m-jpeg-9' with session
>>>>>>>     'unix-kde-depth_24'.
>>>>>>>     Info: Using ZLIB data compression 1/1/32.
>>>>>>>     Info: Using ZLIB stream compression 4/4.
>>>>>>>     Info: No suitable cache file found.
>>>>>>>     Info: Listening to X11 connections on display ':50'.
>>>>>>>     Warning: The channel for FD#5 channel ID#1 was not marked as
>>>>>>>     finishing.
>>>>>>>     Error: Aborting session with 'X2goagent: Unable to open display
>>>>>>>     'nx/nx,options=/home/ubuntu/.x2go/C-ubuntu-50-1295570534_stDGNOME_dp24/options:50''.
>>>>>>>     Session: Aborting session at 'Fri Jan 21 00:42:24 2011'.
>>>>>>>     Session: Session aborted at 'Fri Jan 21 00:42:24 2011'.
>>>>>>>     Warning: Signals were not blocked in process with pid '3065'.
>>>>>>>     Info: Your session has died before reaching an usable state.
>>>>>>>     Info: This can be due to the remote X server refusing access
>>>>>>>     to the client.
>>>>>>>     Info: Please check the authorization provided by your X
>>>>>>>     application.
>>>>>>>     Info: Waiting the cleanup timeout to complete.
>>>>>>>
>>>>>>>
>>>>>>>     Client (x2goclient) log says:
>>>>>>>
>>>>>>>
>>>>>>>     NXPROXY - Version 3.2.0
>>>>>>>
>>>>>>>     Copyright (C) 2001, 2007 NoMachine.
>>>>>>>     See http://www.nomachine.com/ for more information.
>>>>>>>
>>>>>>>     Info: Proxy running in client mode with pid '7391'.
>>>>>>>     Session: Starting session at 'Fri Jan 21 02:29:02 2011'.
>>>>>>>     Info: Connecting to remote host 'localhost:30001'.
>>>>>>>     Info: Connection to remote proxy 'localhost:30001' established.
>>>>>>>     Warning: Connected to remote version 3.4.0 with local
>>>>>>>     version 3.2.0.
>>>>>>>     Warning: Consider checking http://www.nomachine.com/ for
>>>>>>>     updates.
>>>>>>>     Info: Connection with remote proxy completed.
>>>>>>>     Warning: Unrecognized session type 'unix-kde-depth_24'.
>>>>>>>     Assuming agent
>>>>>>>     session.
>>>>>>>     Info: Using ADSL link parameters 512/24/1/0.
>>>>>>>     Info: Using cache parameters 4/4096KB/8192KB/8192KB.
>>>>>>>     Info: Using pack method '16m-jpeg-9' with session
>>>>>>>     'unix-kde-depth_24'.
>>>>>>>     Info: Using ZLIB data compression 1/1/32.
>>>>>>>     Info: Using ZLIB stream compression 4/4.
>>>>>>>     Info: No suitable cache file found.
>>>>>>>     Info: Forwarding X11 connections to display ':0.0'.
>>>>>>>     Session: Session started at 'Fri Jan 21 02:29:06 2011'.
>>>>>>>     Error: Connection to ':0.0' failed. Error is 111 'Connection
>>>>>>>     refused'.Session: Terminating session at 'Fri Jan 21
>>>>>>>     02:29:15 2011'.
>>>>>>>     Info: Your session was closed before reaching a usable state.
>>>>>>>     Info: This can be due to the local X server refusing access
>>>>>>>     to the client.
>>>>>>>     Info: Please check authorization provided by the remote X
>>>>>>>     application.
>>>>>>>     Session: Session terminated at 'Fri Jan 21 02:29:15 2011'.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>     I'd really like to try NX, since it appearantly works faster
>>>>>>>     than VNC.
>>>>>>>     Please advice.
>>>>>>>
>>>>>>>     Kind regards,
>>>>>>>
>>>>>>>     jmm
>>>>>>>
>>>>>>>     -------------- next part --------------
>>>>>>>     An HTML attachment was scrubbed...
>>>>>>>     URL:
>>>>>>>     <https://lists.berlios.de/pipermail/x2go-dev/attachments/20110121/3e2bdecb/attachment.html>
>>>>>>>
>>>>>>>     ------------------------------
>>>>>>>
>>>>>>>     _______________________________________________
>>>>>>>     X2go-dev mailing list
>>>>>>>     X2go-dev at lists.berlios.de <mailto:X2go-dev at lists.berlios.de>
>>>>>>>     https://lists.berlios.de/mailman/listinfo/x2go-dev
>>>>>>>
>>>>>>>
>>>>>>>     End of X2go-dev Digest, Vol 25, Issue 19
>>>>>>>     ****************************************
>>>>>>>
>>>>>>
>>
>> _______________________________________________
>> X2go-dev mailing list
>> X2go-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/x2go-dev
>>     
>
>
> -- 
> Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter)
> Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme)
> Friedrich-Alexander-Universität Erlangen-Nürnberg
> Martensstr. 1
> 91058 Erlangen
>
> Tel   : +49 9131 85-25419
> Fax   : +49 9131 85-28732
> eMail : struebe at informatik.uni-erlangen.de
> WWW   : http://www4.informatik.uni-erlangen.de/~morty
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> X2go-dev mailing list
> X2go-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20110121/99ad4e00/attachment.html>


More information about the x2go-dev mailing list