Discussion:
[X2Go-Dev] Bug#1012: Session reconnect doesn't work (x2gobroker)
Miguel Quero
2016-11-26 10:54:23 UTC
Permalink
I can confirm this bug, but the problem is not with all x2gobroker, the
resume problem become when you use ssh broker.

In my setup, when client connect with
--broker-url=https://XXXX.XXXX.XXXX:8080/plain/inifile, all work fine
and resume is working. But when same clients connect with same
credentials to the same broker with x2goclient
--broker-url=ssh://XXXX.XXXX.XXXX/usr/bin/x2gobroker --broker-autologin,
all work fine but resume is not working, all connection open a new
session :S.

I cant debug with ssh broker :(. Any ideas?
--
Miguel Quero | One eSecurity | www.one-esecurity.com
M: +34 608 36 17 05
Europe (Spain): +34 911 011 000
PGP: 0x34AA 050B D15C 7593 5671 3748 40C6 8E95 6C5A 40D3
Miguel Quero
2016-11-27 19:04:23 UTC
Permalink
Ok, i fixit:

I need use:

--broker-url=ssh://XXXX.XXXX.XXXX/usr/bin/x2gobroker-ssh --broker-autologin

and add users to x2gobroker-users group ;)

Resume work too in ssh mode ;)
Post by Miguel Quero
I can confirm this bug, but the problem is not with all x2gobroker, the
resume problem become when you use ssh broker.
In my setup, when client connect with
--broker-url=https://XXXX.XXXX.XXXX:8080/plain/inifile, all work fine
and resume is working. But when same clients connect with same
credentials to the same broker with x2goclient
--broker-url=ssh://XXXX.XXXX.XXXX/usr/bin/x2gobroker --broker-autologin,
all work fine but resume is not working, all connection open a new
session :S.
I cant debug with ssh broker :(. Any ideas?
--
Miguel Quero | One eSecurity | www.one-esecurity.com
M: +34 608 36 17 05
Europe (Spain): +34 911 011 000
PGP: 0x34AA 050B D15C 7593 5671 3748 40C6 8E95 6C5A 40D3
Stefan Baur
2016-11-28 19:48:10 UTC
Permalink
I just tried to set up two fresh test servers and a broker to try.

Sadly, your suggestion doesn't fix the issue for me. The problem remains:
Suspended sessions remain suspended forever, and an new session is
created for each new login.

-Stefan
Post by Miguel Quero
--broker-url=ssh://XXXX.XXXX.XXXX/usr/bin/x2gobroker-ssh --broker-autologin
and add users to x2gobroker-users group ;)
Resume work too in ssh mode ;)
Post by Miguel Quero
I can confirm this bug, but the problem is not with all x2gobroker, the
resume problem become when you use ssh broker.
In my setup, when client connect with
--broker-url=https://XXXX.XXXX.XXXX:8080/plain/inifile, all work fine
and resume is working. But when same clients connect with same
credentials to the same broker with x2goclient
--broker-url=ssh://XXXX.XXXX.XXXX/usr/bin/x2gobroker --broker-autologin,
all work fine but resume is not working, all connection open a new
session :S.
I cant debug with ssh broker :(. Any ideas?
--
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
Mike Gabriel
2018-09-07 13:49:57 UTC
Permalink
Control: tags -1 moreinfo

Hi Stefan,
Post by Stefan Baur
I just tried to set up two fresh test servers and a broker to try.
Suspended sessions remain suspended forever, and an new session is
created for each new login.
Walid and I worked on the above considerably. Make sure your users are
in group x2gobroker-users and then the X2Go Broker Agent integration
should work. There were multiple flaws that broken things when using
SSH broker.

Things should be fixed on master branch (heuler repo).

Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: ***@das-netzwerkteam.de, http://das-netzwerkteam.de
X2Go Bug Tracking System
2018-09-07 14:00:05 UTC
Permalink
Post by Mike Gabriel
tags -1 moreinfo
Bug #1012 [x2gobroker] Session reconnect doesn't work (x2gobroker)
Added tag(s) moreinfo.
--
1012: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1012
X2Go Bug Tracking System
Contact ***@bugs.x2go.org with problems
Loading...