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.
Host: qc - [192.168.20.31]:22 Username: eager
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
Host: qc - [192.168.20.31]:22 Username: eager
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@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
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@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
Hi Michael,
On Sa 05 Mär 2016 17:38:00 CET, Michael Eager wrote:
Anyone have any idea why I am unable to reconnect to a running session?
For debugging pyhoca, it is better to provide debug output. Use
--libdebug on the cmdline.
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?
I am not fully sure if that is supported (I can't remember if I
implemented that). You may try what I write further down under point
3. PyHoca-GUI has a feature called "Transfer session" which basically
is a suspend + pause a bit + resume.
2 -- How can I suspend a session which is running?
(1) from inside the session: x2gosuspend-session
(2) from external (as same user) via ssh user@server
x2gosuspend-session <session_name>
3 -- How can I connect to a suspended session on a server?
Check the pyhoca-cli man page and search for "--resume".
4 -- How can I specify the session to connect to using the pyhoca-cli CLI?
See point 3.
Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40...