[X2Go-User] Reconnect to session

Michael Eager eager at eagerm.com
Sat Mar 5 17:38:00 CET 2016


Anyone have any idea why I am unable to reconnect to a running session?

On 02/12/2016 12:21 PM, Michael Eager wrote:
> Hi --
>
> I'm trying to reconnect to an existing session using the
> x2goclient GUI, or using the pyhoca-cli command line.
> This does not work.  I'm also not able to suspend a running
> session.
>
> When I use x2goclient to re-connect to a server, the old session is listed
> as running.  This is also displayed by the CLI:
>
> $ pyhoca-cli -L --server qc
> pyhoca-cli[18645] NOTICE: preparing requested X2Go session
> pyhoca-cli[18645] (PyHocaCLI) NOTICE: preparing requested X2Go session
> pyhoca-cli[18645] (x2gosessregistry-pylib) NOTICE: registering X2Go session Pyhoca-Client_Session...
> pyhoca-cli[18645] (x2goclient-pylib) NOTICE: initializing X2Go session...
> pyhoca-cli[18645] (x2gocontrolsession-pylib) NOTICE: connecting to [qc]:22
> pyhoca-cli[18645] (x2gosession-pylib) NOTICE: SSH host key verification for host [qc]:22 with
> SSH-RSA fingerprint ,,32:90:4a:a5:9e:ee:a6:0a:c9:6a:8c:b5:b3:64:0c:28'' initiated. We are seeing
> this X2Go server for the first time.
> pyhoca-cli[18645] (x2goclient-pylib) WARN: HOOK_check_host_dialog: host check requested for session
> profile Pyhoca-Client_Session: Automatically adding host [qc]:22 with fingerprint:
> ,,32:90:4a:a5:9e:ee:a6:0a:c9:6a:8c:b5:b3:64:0c:28'' as a known host.
>
> Available runing/suspended X2Go sessions
> ========================================
> Host: qc - [192.168.20.31]:22
> Username: eager
>
> Session Name: eager-50-1454378567_stDKDE_dp24
> -------------
> cookie: a83052f708f4a91288b921652fcc8201
> agent PID: 1579
> display: 50
> status: R
> graphic port: 30003
> snd port: 30004
> sshfs port: 30005
> username: eager
> hostname: qc
> create date: 2016-02-01T18:02:47
> suspended since: 2016-02-12T12:04:58
>
> When I try to suspend it using the CLI, I'm told that this works, but
> in fact, it does not:
>
> $ pyhoca-cli  --server qc -S ALL
> pyhoca-cli[18762] NOTICE: preparing requested X2Go session
> pyhoca-cli[18762] (PyHocaCLI) NOTICE: preparing requested X2Go session
> pyhoca-cli[18762] (x2gosessregistry-pylib) NOTICE: registering X2Go session Pyhoca-Client_Session...
> pyhoca-cli[18762] (x2goclient-pylib) NOTICE: initializing X2Go session...
> pyhoca-cli[18762] (x2gocontrolsession-pylib) NOTICE: connecting to [qc]:22
> pyhoca-cli[18762] (PyHocaCLI) NOTICE: X2Go session eager-50-1454378567_stDKDE_dp24 has been suspended
>
> $ pyhoca-cli -L --server qc
> pyhoca-cli[18806] NOTICE: preparing requested X2Go session
> pyhoca-cli[18806] (PyHocaCLI) NOTICE: preparing requested X2Go session
> pyhoca-cli[18806] (x2gosessregistry-pylib) NOTICE: registering X2Go session Pyhoca-Client_Session...
> pyhoca-cli[18806] (x2goclient-pylib) NOTICE: initializing X2Go session...
> pyhoca-cli[18806] (x2gocontrolsession-pylib) NOTICE: connecting to [qc]:22
>
> Available runing/suspended X2Go sessions
> ========================================
> Host: qc - [192.168.20.31]:22
> Username: eager
>
> Session Name: eager-50-1454378567_stDKDE_dp24
> -------------
> cookie: a83052f708f4a91288b921652fcc8201
> agent PID: 1579
> display: 50
> status: R
> graphic port: 30003
> snd port: 30004
> sshfs port: 30005
> username: eager
> hostname: qualcomm
> create date: 2016-02-01T18:02:47
> suspended since: 2016-02-12T12:05:34
>
>
> At another time, when I connected to a server using x2goclient, it created
> a new session, rather than re-connecting to the suspended session which was
> running.  When I tried to connect to the suspended session, nothing happened.
> The GUI went blank and no X screen was displayed.
>
> Questions:
>
> 1 -- How can I connect to a session which is marked as running?
>
> 2 -- How can I suspend a session which is running?
>
> 3 -- How can I connect to a suspended session on a server?
>
> 4 -- How can I specify the session to connect to using the pyhoca-cli CLI?
>
>
> Thanks!
>


-- 
Michael Eager	 eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


More information about the x2go-user mailing list