<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I assume you can  SSH on the box. ;-)<br>
    <br>
    Morty<br>
    <br>
    Am 21.01.2011 18:10, schrieb jmm:
    <blockquote cite="mid:4D39BE00.7070808@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      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 :)<br>
      <br>
      I thought it might be a firewall issue, so I tried `sudo ufw
      disable`
      but still the problem persists.<br>
      <br>
      <br>
      <br>
      jmm wrote:
      <blockquote cite="mid:4D39B972.90705@gmail.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        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.<br>
        <br>
        jmm wrote:
        <blockquote cite="mid:4D39B777.10509@gmail.com" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          Oops excuse me I use Ubuntu 9.10 karmic, not 9.04 as I said
          earlier.<br>
          <br>
          <br>
          jmm wrote:
          <blockquote cite="mid:4D39B09E.7060009@gmail.com" type="cite">
            <meta content="text/html; charset=ISO-8859-1"
              http-equiv="Content-Type">
            Things I tried, but did not work:<br>
            <br>
            - check if user is a member of "x2gousers" group in
            /etc/group<br>
            - check if user is a member of "fuse" group in /etc/group<br>
            - reset password of user to make sure not entering wrong
            password<br>
            - set DisallowTCP to false in /etc/gdm/gdm.schemas<br>
            - remove "-nolisten tcp" from /etc/X11/xinit/xserverrc<br>
            - 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)<br>
            - allowed login with passwords in /etc/ssh/sshd_config<br>
            - restart ssh service<br>
            - restart EC2 instance<br>
            - tried installing packages x2goserver-home, x2goserver-one,
            x2goserver
            (and removed installations between trying different
            packages)<br>
            <br>
            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:<br>
            <br>
            name: test<br>
            hostname: <EC2 public dns here><br>
            login: ubuntu<br>
            ssh port: 22<br>
            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><br>
            session type: GNOME<br>
            <br>
            In all cases the error on the server stays the same.<br>
            <br>
            <br>
            brian mullan wrote:
            <blockquote
              cite="mid:AANLkTimuOzGwVsnwdBdFwA=g93kY0rHMYxVYe3_cW=uZ@mail.gmail.com"
              type="cite">I've been  using AMI's from Alestic or one's I
              build
              myself.   But x2go's been working solid.<br>
              <br>
              So you did all the normal things like change
              /etc/ssh/sshd_config<br>
              to allow login with passwords<br>
              and the user is a member of x2gousers 'group'<br>
              etc<br>
              <br>
              <br>
              <br>
              <br>
              <div class="gmail_quote">On Fri, Jan 21, 2011 at 5:21 AM,
                jmm <span dir="ltr"><<a moz-do-not-send="true"
                    href="mailto:jagermeistermeister@gmail.com">jagermeistermeister@gmail.com</a>></span>
                wrote:<br>
                <blockquote class="gmail_quote" style="border-left: 1px
                  solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;
                  padding-left: 1ex;">
                  <div bgcolor="#ffffff" text="#000000">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.<br>
                    <br>
                    FYI it was an <a moz-do-not-send="true"
                      href="http://alestic.com" target="_blank">alestic.com</a>
                    Ubuntu 10.10 image, did you get the
                    image
                    from Canonical?
                    <div>
                      <div class="h5"><br>
                        <br>
                        <br>
                        brian mullan wrote:
                        <blockquote type="cite"><br>
                          <br>
                          <div class="gmail_quote">---------- Forwarded
                            message
                            ----------<br>
                            From: <span dir="ltr"><<a
                                moz-do-not-send="true"
                                href="mailto:x2go-dev-request@lists.berlios.de"
                                target="_blank">x2go-dev-request@lists.berlios.de</a>></span><br>
                            Date: Fri, Jan 21, 2011 at 3:29 AM<br>
                            Subject: X2go-dev Digest, Vol 25, Issue 19<br>
                            To: <a moz-do-not-send="true"
                              href="mailto:x2go-dev@lists.berlios.de"
                              target="_blank">x2go-dev@lists.berlios.de</a><br>
                            <br>
                            <br>
                            Send X2go-dev mailing list submissions to<br>
                                   <a moz-do-not-send="true"
                              href="mailto:x2go-dev@lists.berlios.de"
                              target="_blank">x2go-dev@lists.berlios.de</a><br>
                            Note sure what you are doing but I've got
                            quite a few ubuntu 10.10
                            servers on amazon <br>
                            that I connect to using x2go.     Lack of
                            the video card on those AWS
                            EC2 machines<br>
                            makes no difference in regards to x2go.<br>
                            <br>
                            But you have installed a "desktop" on those
                            AWS instances?<br>
                            <br>
                            If you created an instance from an Ubuntu
                            Server AMI then you would
                            need to <br>
                            <br>
                            <div style="margin-left: 40px;"><i>sudo
                                apt-get install
                                ubuntu-desktop</i><br>
                            </div>
                            <br>
                            or install some "light" desktop.<br>
                            <br>
                            <br>
                            <br>
                            ------------------------------<br>
                            <br>
                            Message: 4<br>
                            Date: Fri, 21 Jan 2011 09:27:33 +0100<br>
                            From: jmm <<a moz-do-not-send="true"
                              href="mailto:jagermeistermeister@gmail.com"
                              target="_blank">jagermeistermeister@gmail.com</a>><br>
                            To: <a moz-do-not-send="true"
                              href="mailto:x2go-dev@lists.berlios.de"
                              target="_blank">x2go-dev@lists.berlios.de</a><br>
                            Subject: [X2go-dev] x2go not working on
                            ubuntu 10.10?<br>
                            Message-ID: <<a moz-do-not-send="true"
                              href="mailto:4D394375.7090300@gmail.com"
                              target="_blank">4D394375.7090300@gmail.com</a>><br>
                            Content-Type: text/plain;
                            charset="iso-8859-1"; Format="flowed"<br>
                            <br>
                            Hi,<br>
                            <br>
                            I tried to get this working all night, but
                            it seems there is no way to<br>
                            connect to an ubuntu 10.10 installation
                            using x2go (package<br>
                            x2goserver-home). When trying to connect,
                            x2goagent is complaining about<br>
                            not being able to open a display (in the
                            session log). The machine is an<br>
                            Amazon EC2 instance, which has no video
                            card. I suspect this is causing<br>
                            the trouble. I have read it was working on
                            ubuntu 10.04 by the way, as<br>
                            in <a moz-do-not-send="true"
                              href="http://blog.restbackup.com/how-to-use-amazon-ec2-as-your-desktop"
                              target="_blank">http://blog.restbackup.com/how-to-use-amazon-ec2-as-your-desktop</a><br>
                            <br>
                            I also tried freenx, neatx and nxserver
                            (from nomachine), and they all<br>
                            give similar errors. Tightvncserver on the
                            other hand does work, maybe<br>
                            that's not so useful information, but just
                            in case.<br>
                            <br>
                            The server log says:<br>
                            <br>
                            $ cat session.log<br>
                            /usr/bin/x2goagent: line 1: -e: command not
                            found<br>
                            <br>
                            NXAGENT - Version 3.4.0<br>
                            <br>
                            Copyright (C) 2001, 2007 NoMachine.<br>
                            See <a moz-do-not-send="true"
                              href="http://www.nomachine.com/"
                              target="_blank">http://www.nomachine.com/</a>
                            for more information.<br>
                            <br>
                            Info: Agent running with pid '3065'.<br>
                            Session: Starting session at 'Fri Jan 21
                            00:42:15 2011'.<br>
                            Info: Proxy running in server mode with pid
                            '3065'.<br>
                            Info: Waiting for connection from
                            'localhost' on port '30001'.<br>
                            Info: Accepted connection from '127.0.0.1'.<br>
                            Warning: Connected to remote version 3.2.0
                            with local version 3.4.0.<br>
                            Info: Connection with remote proxy
                            completed.<br>
                            Info: Using ADSL link parameters 512/24/1/0.<br>
                            Info: Using agent parameters 5000/10/50/0/0.<br>
                            Info: Using cache parameters
                            4/4096KB/8192KB/8192KB.<br>
                            Info: Using pack method '16m-jpeg-9' with
                            session 'unix-kde-depth_24'.<br>
                            Info: Using ZLIB data compression 1/1/32.<br>
                            Info: Using ZLIB stream compression 4/4.<br>
                            Info: No suitable cache file found.<br>
                            Info: Listening to X11 connections on
                            display ':50'.<br>
                            Warning: The channel for FD#5 channel ID#1
                            was not marked as finishing.<br>
                            Error: Aborting session with 'X2goagent:
                            Unable to open display<br>
'nx/nx,options=/home/ubuntu/.x2go/C-ubuntu-50-1295570534_stDGNOME_dp24/options:50''.<br>
                            Session: Aborting session at 'Fri Jan 21
                            00:42:24 2011'.<br>
                            Session: Session aborted at 'Fri Jan 21
                            00:42:24 2011'.<br>
                            Warning: Signals were not blocked in process
                            with pid '3065'.<br>
                            Info: Your session has died before reaching
                            an usable state.<br>
                            Info: This can be due to the remote X server
                            refusing access to the
                            client.<br>
                            Info: Please check the authorization
                            provided by your X application.<br>
                            Info: Waiting the cleanup timeout to
                            complete.<br>
                            <br>
                            <br>
                            Client (x2goclient) log says:<br>
                            <br>
                            <br>
                            NXPROXY - Version 3.2.0<br>
                            <br>
                            Copyright (C) 2001, 2007 NoMachine.<br>
                            See <a moz-do-not-send="true"
                              href="http://www.nomachine.com/"
                              target="_blank">http://www.nomachine.com/</a>
                            for more information.<br>
                            <br>
                            Info: Proxy running in client mode with pid
                            '7391'.<br>
                            Session: Starting session at 'Fri Jan 21
                            02:29:02 2011'.<br>
                            Info: Connecting to remote host
                            'localhost:30001'.<br>
                            Info: Connection to remote proxy
                            'localhost:30001' established.<br>
                            Warning: Connected to remote version 3.4.0
                            with local version 3.2.0.<br>
                            Warning: Consider checking <a
                              moz-do-not-send="true"
                              href="http://www.nomachine.com/"
                              target="_blank">http://www.nomachine.com/</a>
                            for updates.<br>
                            Info: Connection with remote proxy
                            completed.<br>
                            Warning: Unrecognized session type
                            'unix-kde-depth_24'. Assuming agent<br>
                            session.<br>
                            Info: Using ADSL link parameters 512/24/1/0.<br>
                            Info: Using cache parameters
                            4/4096KB/8192KB/8192KB.<br>
                            Info: Using pack method '16m-jpeg-9' with
                            session 'unix-kde-depth_24'.<br>
                            Info: Using ZLIB data compression 1/1/32.<br>
                            Info: Using ZLIB stream compression 4/4.<br>
                            Info: No suitable cache file found.<br>
                            Info: Forwarding X11 connections to display
                            ':0.0'.<br>
                            Session: Session started at 'Fri Jan 21
                            02:29:06 2011'.<br>
                            Error: Connection to ':0.0' failed. Error is
                            111 'Connection<br>
                            refused'.Session: Terminating session at
                            'Fri Jan 21 02:29:15 2011'.<br>
                            Info: Your session was closed before
                            reaching a usable state.<br>
                            Info: This can be due to the local X server
                            refusing access to the
                            client.<br>
                            Info: Please check authorization provided by
                            the remote X application.<br>
                            Session: Session terminated at 'Fri Jan 21
                            02:29:15 2011'.<br>
                            <br>
                            <br>
                            <br>
                            I'd really like to try NX, since it
                            appearantly works faster than VNC.<br>
                            Please advice.<br>
                            <br>
                            Kind regards,<br>
                            <br>
                            jmm<br>
                            <br>
                            -------------- next part --------------<br>
                            An HTML attachment was scrubbed...<br>
                            URL: <<a moz-do-not-send="true"
href="https://lists.berlios.de/pipermail/x2go-dev/attachments/20110121/3e2bdecb/attachment.html"
                              target="_blank">https://lists.berlios.de/pipermail/x2go-dev/attachments/20110121/3e2bdecb/attachment.html</a>><br>
                            <br>
                            ------------------------------<br>
                            <br>
_______________________________________________<br>
                            X2go-dev mailing list<br>
                            <a moz-do-not-send="true"
                              href="mailto:X2go-dev@lists.berlios.de"
                              target="_blank">X2go-dev@lists.berlios.de</a><br>
                            <a moz-do-not-send="true"
                              href="https://lists.berlios.de/mailman/listinfo/x2go-dev"
                              target="_blank">https://lists.berlios.de/mailman/listinfo/x2go-dev</a><br>
                            <br>
                            <br>
                            End of X2go-dev Digest, Vol 25, Issue 19<br>
                            ****************************************<br>
                          </div>
                          <br>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
              <br>
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
X2go-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:X2go-dev@lists.berlios.de">X2go-dev@lists.berlios.de</a>
<a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/x2go-dev">https://lists.berlios.de/mailman/listinfo/x2go-dev</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
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 : <a class="moz-txt-link-abbreviated" href="mailto:struebe@informatik.uni-erlangen.de">struebe@informatik.uni-erlangen.de</a>
WWW   : <a class="moz-txt-link-freetext" href="http://www4.informatik.uni-erlangen.de/~morty">http://www4.informatik.uni-erlangen.de/~morty</a>


</pre>
  </body>
</html>