---------- Forwarded message ---------- From: <x2go-dev-request@lists.berlios.de> Date: Fri, Jan 21, 2011 at 3:29 AM Subject: X2go-dev Digest, Vol 25, Issue 19 To: x2go-dev@lists.berlios.de
Send X2go-dev mailing list submissions to x2go-dev@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@gmail.com> To: x2go-dev@lists.berlios.de Subject: [X2go-dev] x2go not working on ubuntu 10.10? Message-ID: <4D394375.7090300@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
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 Ubuntu 10.10 image, did you get the image from Canonical?
brian mullan wrote:
Am 21.01.2011 11:21, schrieb jmm:
$ cat session.log /usr/bin/x2goagent: line 1: -e: command not found
please check, if your /usr/bin/x2goagent look so:
#!/bin/bash X2GO_LIBS=/usr/lib/x2go LD_LIBRARY_PATH=/usr/lib/x2go exec /usr/lib/x2go/x2goagent $@
-- Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team
email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de
--> X2go - everywhere@home
The file /usr/bin/x2goagent looked like this:
-e #!/bin/bash X2GO_LIBS=/usr/lib/x2go LD_LIBRARY_PATH=/usr/lib/x2go exec /usr/lib/x2go/x2goagent $@
I removed the "-e " in front of the first line, but it did not have any effect, the same error still persists.
Oleksandr Shneyder wrote:
I can also confirm that this bug is present in ubuntu 10.04 LTS,
I followed the steps in this article:
http://cloud.ubuntu.com/2010/11/show-off-ubuntu-desktop-on-cloud/
(Except I skipped the optional step. Also the first time I skipped the
apt-get distupgrade
to see if it was caused by Ubuntu 10.10. The
second time I tried it with the distupgrade as well, to no avail.)
I used the official Canonical 32 bit Ubuntu AMI (ami-a2f405cb found on http://uec-images.ubuntu.com/releases/10.04/release/). I am using a m1.small instance.
Here is the same log again, but this time from my new attempt:
# 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 '32760'. Session: Starting session at 'Fri Jan 21 13:51:16 2011'. Info: Proxy running in server mode with pid '32760'. 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-1295617875_stDGNOME_dp24/options:50''. Session: Aborting session at 'Fri Jan 21 13:51:24 2011'. Session: Session aborted at 'Fri Jan 21 13:51:24 2011'. Warning: Signals were not blocked in process with pid '32760'. 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.
Oleksandr Shneyder wrote: