<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Anders,<br>
      <br>
      Thank you for your prompt reply.<br>
      <br>
      As a note of interest, /usr/libexec/x2go is the correct directory
      it seems:<br>
      <br>
      [root@local ~]# LC_ALL=C ls -al /usr/libexec/x2go<br>
      total 92<br>
      drwxr-xr-x.  3 root root      4096 Jun  6 13:28 .<br>
      drwxr-xr-x. 14 root root      4096 Jun  6 20:06 ..<br>
      drwxr-xr-x. 16 root root      4096 May 23 01:19 extensions<br>
      -rwxr-xr-x.  1 root root      1256 May 19 01:02 x2gochangestatus<br>
      -rwxr-xr-x.  1 root root      1426 May 19 01:02 x2gocreatesession<br>
      -rwxr-xr-x.  1 root root      1243 May 19 01:02 x2gogetagent<br>
      -rwxr-xr-x.  1 root root      1266 May 19 01:02 x2gogetdisplays<br>
      -rwxr-xr-x.  1 root root      1258 May 19 01:02 x2gogetports<br>
      -rwxr-xr-x.  1 root root      1258 May 19 01:02 x2gogetstatus<br>
      -rwxr-xr-x.  1 root root      1300 May 19 01:02 x2goinsertport<br>
      -rwxr-xr-x.  1 root root      1311 May 19 01:02 x2goinsertsession<br>
      -rwxr-xr-x.  1 root root      1572 May 19 01:02
      x2golistsessions_sql<br>
      -rwxr-xr-x.  1 root root      1036 May 19 01:02 x2gologlevel<br>
      -rwxr-xr-x.  1 root root      1361 May 19 01:02 x2goresume<br>
      -rwxr-xr-x.  1 root root      1278 May 19 01:02 x2gormport<br>
      -rwxr-sr-x.  1 root x2gouser  5040 May 23 01:19 x2gosqlitewrapper<br>
      -rwxr-xr-x.  1 root root     15160 May 19 01:02
      x2gosqlitewrapper.pl<br>
      -rwxr-xr-x.  1 root root      1273 May 19 01:02 x2gosuspend-agent<br>
      -rwxr-xr-x.  1 root root      1232 May 19 01:02 x2gosyslog<br>
      [root@local ~]# <br>
      <br>
      However, there are also files in /usr/lib64/x2go/<br>
      <br>
      [root@local ~]# LC_ALL=C ls -al /usr/lib64/x2go/<br>
      total 72<br>
      drwxr-xr-x.  2 root root  4096 Jun  6 13:28 .<br>
      dr-xr-xr-x. 49 root root 36864 Jun  6 19:49 ..<br>
      -rw-r--r--.  1 root root 20852 May 19 01:02 x2godbwrapper.pm<br>
      -rw-r--r--.  1 root root  1834 May 19 01:02 x2gologlevel.pm<br>
      [root@local ~]# <br>
      <br>
      I think this is where things are getting interesting.
      <pre class="moz-signature" cols="72">Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: <a class="moz-txt-link-freetext" href="http://www.recreatie-zorg.nl/">http://www.recreatie-zorg.nl/</a>
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:jan@recreatie-zorg.nl">jan@recreatie-zorg.nl</a>
Telephone: +31 10 714 22 97</pre>
      <br>
      Op 10-06-13 11:56, Anders Bruun Olsen schreef:<br>
    </div>
    <blockquote
cite="mid:CAFJm-UOT0trVxCRjbLpmF=qiHwnFXT-APEiu9eAOo4yF9_=hLQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">On my systems it returns /usr/lib/x2go, which is
        where <a moz-do-not-send="true" href="http://x2gologlevel.pm">x2gologlevel.pm</a>
        is located. /usr/sbin/x2gocleansessions uses "x2gopath libexec"
        to get which paths it needs to search for the needed perl
        modules. Why x2gopath returns that path on your system is beyond
        me - I generally only run Ubuntu on my systems :)
        <div style="">
          It is really quite weird, as /usr/bin/x2gopath (at least on my
          systems) doesn't even seem capable of returning a path like
          the one you are getting. A workaround would probably be to
          make /usr/libexec/x2go a symlink to /usr/lib64/x2go. I do
          however think it would be a good idea to find out why this is
          happening, as other CentOS users might run into the same
          problem, and it might be preventable in the code.</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/6/10 Jan Middelkoop <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:jan@recreatie-zorg.nl" target="_blank">jan@recreatie-zorg.nl</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div>[root@local ~]# x2gopath libexec<br>
                /usr/libexec/x2go
                <div class="im"><br>
                  <br>
                  <pre cols="72">Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: <a moz-do-not-send="true" href="http://www.recreatie-zorg.nl/" target="_blank">http://www.recreatie-zorg.nl/</a>
E-mail: <a moz-do-not-send="true" href="mailto:jan@recreatie-zorg.nl" target="_blank">jan@recreatie-zorg.nl</a>
Telephone: <a moz-do-not-send="true" href="tel:%2B31%2010%20714%2022%2097" value="+31107142297" target="_blank">+31 10 714 22 97</a></pre>
                  <br>
                </div>
                Op 10-06-13 11:31, Anders Bruun Olsen schreef:<br>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">Hi Jan,
                      <div><br>
                      </div>
                      <div>Can you post the output of: "x2gopath
                        libexec"?</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">2013/6/10 Jan Middelkoop
                        <span dir="ltr"><<a moz-do-not-send="true"
                            href="mailto:jan@recreatie-zorg.nl"
                            target="_blank">jan@recreatie-zorg.nl</a>></span><br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div text="#000000" bgcolor="#FFFFFF">
                            <div>Hi Anders,<br>
                              <br>
                              Thank you for your reply.  Sorry for not
                              getting back to you earlier.<br>
                              <br>
                              I definitely do not have an SSH proxy
                              configured in the x2goclient.<br>
                              <br>
                              If you have any other suggestions or
                              things I might try, please let me know.
                              <pre cols="72">Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: <a moz-do-not-send="true" href="http://www.recreatie-zorg.nl/" target="_blank">http://www.recreatie-zorg.nl/</a><span><font color="#888888">
E-mail: <a moz-do-not-send="true" href="mailto:jan@recreatie-zorg.nl" target="_blank">jan@recreatie-zorg.nl</a>
Telephone: <a moz-do-not-send="true" href="tel:%2B31%2010%20714%2022%2097" value="+31107142297" target="_blank">+31 10 714 22 97</a></font></span></pre>
                              <span><font color="#888888"> Op 07-06-13
                                  10:15, Anders Bruun Olsen schreef:<br>
                                </font></span></div>
                            <div>
                              <div>
                                <blockquote type="cite">
                                  <div dir="ltr">Hi Jan,
                                    <div><br>
                                    </div>
                                    <div>The output from x2goclient
                                      indicates that it is trying to use
                                      an SSH proxy. Can you double check
                                      that your x2go session doesn't
                                      have SSH proxying enabled? (Go to
                                      Session Preferences and make sure
                                      that "Use Proxy server for SSH
                                      connection" isn't chosen)</div>
                                  </div>
                                  <div class="gmail_extra"><br>
                                    <br>
                                    <div class="gmail_quote">2013/6/6
                                      Jan Middelkoop <span dir="ltr"><<a
                                          moz-do-not-send="true"
                                          href="mailto:jan@recreatie-zorg.nl"
                                          target="_blank">jan@recreatie-zorg.nl</a>></span><br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex"> Hello!<br>
                                        <br>
                                        After not getting freenx working
                                        properly on a clean install of
                                        CentOS 6.4, someone advised me
                                        to install x2go server.  I was
                                        surprised by the ease of
                                        installation, using the RHEL6
                                        repository.  Using an x2go
                                        client on Ubuntu 12.04 to
                                        connect, things worked fantastic
                                        out of the box.<br>
                                        <br>
                                        However, after a reboot of the
                                        CentOS 6.4 machine, the client
                                        can no longer connect.  I've
                                        presented this issue to #x2go on
                                        Freenode, where sunweaver was
                                        gracious enough to provide some
                                        useful information.  He advised
                                        me to post about my issue on
                                        this mailing list.<br>
                                        <br>
                                        After an unsuccessful connection
                                        attempt, this is in
                                        /var/log/syslog with debug log
                                        level:  <a
                                          moz-do-not-send="true"
                                          href="http://pastebin.com/L3e4xP6g"
                                          target="_blank">http://pastebin.com/L3e4xP6g</a>
                                         The x2go client says:  <a
                                          moz-do-not-send="true"
                                          href="http://pastebin.com/CiGatMeS"
                                          target="_blank">http://pastebin.com/CiGatMeS</a>
                                         When I connect, I get those
                                        errors. When I re-connect it
                                        shows an active session, but I
                                        can't resume it.  I can start a
                                        new one, but then the same thing
                                        happens as the first time.  The
                                        error message shows up and next
                                        time there's 2 sessions in the
                                        session popup during login.<br>
                                        <br>
                                        Per sunweaver's suggestions,
                                        I've tried   rm -f
                                        /var/lib/x2go/x2go_sessions  and
                                         x2godbadmin --createdb   but
                                        that didn't solve the problem.
                                         There is also no process
                                        x2gocleansessions running.
                                         There is nothing actually
                                        running with x2go in the name
                                        (ps aux | grep x2go returns
                                        nothing).  When starting
                                        x2gocleansessions manually, I
                                        get:  <a moz-do-not-send="true"
href="http://pastebin.com/fExxSJ5p" target="_blank">http://pastebin.com/fExxSJ5p</a><br>
                                        <br>
                                        Another suggestion was to create
                                        a brand new user account, but
                                        there I get the same error as
                                        with the other user account.
                                         I've tried a fresh account on
                                        both server and client.<br>
                                        <br>
                                        About the not locating <a
                                          moz-do-not-send="true"
                                          href="http://x2gologlevel.pm"
                                          target="_blank">x2gologlevel.pm</a>
                                        bit (the x2gocleansessions
                                        error)... seems like it's
                                        include path is insufficient.
                                         The file is in /usr/lib64/x2go/<a
                                          moz-do-not-send="true"
                                          href="http://x2gologlevel.pm"
                                          target="_blank">x2gologlevel.pm</a>.
                                         Not sure how to fix that and if
                                        it's indication of bigger
                                        problems.  Also interesting...
                                        in the sudoers file there's a
                                        reference to
                                        /usr/bin/x2gopgwrapper, but this
                                        executable does not exist.<br>
                                        <br>
                                        If you have any suggestions on
                                        things which I could try that
                                        might shed further light on
                                        this, please let me know.<br>
                                        <br>
                                        Also, the machine that's plagued
                                        with this issue is a fresh
                                        installation, with nothing
                                        sensitive, critical or even
                                        mildly important running there
                                        yet.  I could provide you with
                                        ssh access to this machine so
                                        you can have a look around
                                        and/or attempt to connect.  If
                                        that helps, please find me on <a
                                          moz-do-not-send="true"
                                          href="http://irc.freenode.net"
                                          target="_blank">irc.freenode.net</a>
                                        in #x2go under nickname
                                        Hyperbyte, so we can work
                                        something out.<br>
                                        <br>
                                        Kindest regards,<br>
                                        Jan Middelkoop<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>
                                      </blockquote>
                                    </div>
                                    <br>
                                    <br clear="all">
                                    <div><br>
                                    </div>
                                    -- <br>
                                    Anders Bruun Olsen<br>
                                    It-ansvarlig<br>
                                    Det Danske Sprog- og
                                    Litteraturselskab<br>
                                    (Society for Danish Language and
                                    Literature)<br>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                  <pre>_______________________________________________
X2Go-Dev mailing list
<a moz-do-not-send="true" href="mailto:X2Go-Dev@lists.berlios.de" target="_blank">X2Go-Dev@lists.berlios.de</a>
<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></pre>
                                </blockquote>
                                <br>
                              </div>
                            </div>
                          </div>
                          <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>
                        </blockquote>
                      </div>
                      <br>
                      <br clear="all">
                      <div><br>
                      </div>
                      -- <br>
                      Anders Bruun Olsen<br>
                      It-ansvarlig<br>
                      Det Danske Sprog- og Litteraturselskab<br>
                      (Society for Danish Language and Literature)<br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
X2Go-Dev mailing list
<a moz-do-not-send="true" href="mailto:X2Go-Dev@lists.berlios.de" target="_blank">X2Go-Dev@lists.berlios.de</a>
<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></pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            X2Go-Dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:X2Go-Dev@lists.berlios.de">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>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Anders Bruun Olsen<br>
        It-ansvarlig<br>
        Det Danske Sprog- og Litteraturselskab<br>
        (Society for Danish Language and Literature)<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
  </body>
</html>