Hello,
I tried asking this question on IRC but I must have chosen a time when everyone was busy or away. I'm not subscribed to the list so I appreciate a CC to my address for replies.
Is it possible with X2GO to connect to the same session from two different machines at the same time? Like you would do using "screen -x" for a terminal.
This is actually for two different users collaborating on the same screen, but they access the same user on the server so I don't think it matters; in any case I don't want user B to disconnect user A when they connect, and they need to be on the same session because they are working together on the same application.
Any help is greatly appreciated, thanks in advance.
HI Gabriele,
On Di 20 Jan 2015 03:22:40 CET, Gabriele Santilli wrote:
Hello,
I tried asking this question on IRC but I must have chosen a time when everyone was busy or away. I'm not subscribed to the list so I appreciate a CC to my address for replies.
Is it possible with X2GO to connect to the same session from two different machines at the same time? Like you would do using "screen -x" for a terminal.
- The two machines log in via SSH to the X2GO server using the same user
- If a session is started from the first machine, it seems to me (hopefully I'm wrong!) that from the second machine I can only suspend that session (kicking out the first machine) and then resume it. I would like both machines to be connected at the same time
This is actually for two different users collaborating on the same screen, but they access the same user on the server so I don't think it matters; in any case I don't want user B to disconnect user A when they connect, and they need to be on the same session because they are working together on the same application.
Any help is greatly appreciated, thanks in advance.
this works with x2goserver natively if you want to share a session for
the same user.
If you want to share a session across different user accounts, you
need x2goserver and x2godesktopsharing installed.
Note that x2goserver 4.0.1.18 has a bug around the X2Go Desktop
Sharing feature. 4.0.1.19 will be released soon.
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/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
On Wed, Jan 21, 2015 at 1:53 AM, Mike Gabriel < mike.gabriel@das-netzwerkteam.de> wrote:
Is it possible with X2GO to connect to the same session from two different
machines at the same time? Like you would do using "screen -x" for a terminal.
this works with x2goserver natively if you want to share a session for the same user.
When I tried logging in from a second machine, the client showed me a dialog with a list of sessions, with the one session that was "running". I didn't see an option to connect to it, just a grayed out "resume" button, and buttons to suspend or terminate it.
The server version is the one in the PPA, on Ubuntu 14.04. (Sorry my server is shut down at the moment and I don't see the version number on your site.) The client version is the one that comes with Ubuntu 14.04, I haven't added the PPA on my laptop.
Note that x2goserver 4.0.1.18 has a bug around the X2Go Desktop Sharing
feature. 4.0.1.19 will be released soon.
Do you think this is the problem? Is there anything else I can test?
Thanks again.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 21.01.2015 um 19:31 schrieb Gabriele Santilli:
When I tried logging in from a second machine, the client showed me a dialog with a list of sessions, with the one session that was "running". I didn't see an option to connect to it, just a grayed out "resume" button, and buttons to suspend or terminate it.
That is because the way you set up your X2GoClient, it thinks you are trying to connect as a new session (or trying to remotely suspend the other one so you can resume it).
@Mike#1: You should have told Gabriele *how* to configure X2GoClient for Session Sharing. ;-) I hope I got the description right below, as I never use that feature myself. If not, please jump in and correct me.
@Gabriele: You need to set up a second session profile on your client. In that, change the session type to "Connect to local desktop".
BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUwADHAAoJEG7d9BjNvlEZzZMH/3vYS8/XKOyisnfYt6fMIEyd ox39pCTOHxoE4QS2ad1UO1tfGIkptWQ5O3gwIRsc3jhc0uN9qEGPnTgnVIUAG6L2 sMCDe+lePxCZ2bZg50bRCHva0JOQ2M5mDf+ASfhgudt2rgqa2+VmXFSwkYg1jTPM mH4sj/nl8rfv0a0ELEdFreQ7HLjZex7dbP0sItRq2iT5DnAdHWD8FTHZy2OCE2Ee Y7/Bwv7b+/aQAjPYrsSd7wThUx0F5bazxoZttWGk3oUypWS4WV6DMjRIXgFgHe2S wcuiTITeGZEZ2Ivt6rRhZKXxrmj7zwIbZfbPez8p9sedsUp8Mcu5nNOt84IqFsU= =r68t -----END PGP SIGNATURE-----
Hi,
in the X2Go Client that you want to connect as he second instance (equivalent to screen -x) you have to select session type "Connect to local desktop" in the session profile.
This wording is not quite correct. You can connect to a desktop running on a local display as well as connect to an X2Go desktop session (running headless / on a remote X2Go Client).
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976148
GnuPG Key ID 0x25771B13 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
----- Original message -----
On Wed, Jan 21, 2015 at 1:53 AM, Mike Gabriel < mike.gabriel@das-netzwerkteam.de> wrote:
Is it possible with X2GO to connect to the same session from two different
machines at the same time? Like you would do using "screen -x" for a terminal.
this works with x2goserver natively if you want to share a session for the same user.
When I tried logging in from a second machine, the client showed me a dialog with a list of sessions, with the one session that was "running". I didn't see an option to connect to it, just a grayed out "resume" button, and buttons to suspend or terminate it.
The server version is the one in the PPA, on Ubuntu 14.04. (Sorry my server is shut down at the moment and I don't see the version number on your site.) The client version is the one that comes with Ubuntu 14.04, I haven't added the PPA on my laptop.
Note that x2goserver 4.0.1.18 has a bug around the X2Go Desktop Sharing
feature. 4.0.1.19 will be released soon.
Do you think this is the problem? Is there anything else I can test?
Thanks again.
On Wed, Jan 21, 2015 at 1:59 PM, Mike Gabriel < mike.gabriel@das-netzwerkteam.de> wrote:
in the X2Go Client that you want to connect as he second instance (equivalent to screen -x) you have to select session type "Connect to local desktop" in the session profile.
I see, that did the trick. It would be nice if, when the list of sessions comes up, this option was available right there.
In any case, this works very nicely, thank you a lot! (And I must say it feels much faster than anything I've tried so far.)
Thanks again!
dkpg-query -l x2go* will list the versions and what their installed
state is.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Wed, 21 Jan 2015, Gabriele Santilli wrote:
Date: Wed, 21 Jan 2015 12:31:56 -0600 From: Gabriele Santilli <santilli.gabriele@gmail.com> To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Cc: x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Desktop sharing like "screen -x" with X2GO?
On Wed, Jan 21, 2015 at 1:53 AM, Mike Gabriel < mike.gabriel@das-netzwerkteam.de> wrote:
Is it possible with X2GO to connect to the same session from two different
machines at the same time? Like you would do using "screen -x" for a terminal.
this works with x2goserver natively if you want to share a session for the same user.
When I tried logging in from a second machine, the client showed me a dialog with a list of sessions, with the one session that was "running". I didn't see an option to connect to it, just a grayed out "resume" button, and buttons to suspend or terminate it.
The server version is the one in the PPA, on Ubuntu 14.04. (Sorry my server is shut down at the moment and I don't see the version number on your site.) The client version is the one that comes with Ubuntu 14.04, I haven't added the PPA on my laptop.
Note that x2goserver 4.0.1.18 has a bug around the X2Go Desktop Sharing
feature. 4.0.1.19 will be released soon.
Do you think this is the problem? Is there anything else I can test?
Thanks again.