[X2Go-Dev] Bug#1012: Bug#1012: Bug#1012: Session reconnect doesn't work (x2gobroker)

2018-09-07 Thread Mike Gabriel

Control: tags -1 moreinfo

Hi Stefan,

On  Mo 28 Nov 2016 20:48:10 CET, Stefan Baur wrote:


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.



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: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgptRtb1RmNbl.pgp
Description: Digitale PGP-Signatur
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Processed: Re: Bug#1012: Bug#1012: Session reconnect doesn't work (x2gobroker)

2018-09-07 Thread X2Go Bug Tracking System
Processing control commands:

> 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 ow...@bugs.x2go.org with problems
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1296: Bug#1296: Bug#1296: x2gobroker-ssh : wrong password after password change in interactive mode

2018-09-07 Thread Mike Gabriel

Control: reassign -1 x2goclient

HI Walid,

On  Di 15 Mai 2018 14:19:11 CEST, Mike Gabriel wrote:


Control: tags -1 patch

Hi Walid,

On  Mi 09 Mai 2018 16:50:13 CEST, Walid MOGHRABI wrote:


package: x2gobroker-ssh
version: 0.0.4.0-0~1022~ubuntu16.04.1
priority: bug


x2gobroker-ssh supports interactive mode which means that it can  
reports login interactions to the user such as password changes  
requests.
Let's say that my user's password has expired, when I login to the  
broker with x2goclient in broker mode, I'll see a new form asking  
for my old password and I must type/confirm my new password.
Once done, I'll be granted access to the broker and I'll get my  
session profiles list on the right sidebar of the client.
Since I'm using --use-broker-pass, I don't have to re-type my  
password when connecting to a session but in that specific use  
case, I get an auth error while connecting because of wrong password.


In fact, it appears that the client keeps the first password that  
has been entered at the broker login prompt (the one that expired)  
when passing it to the session profile.
Once you get the auth error, you'll be prompted with user/pass for  
the session profile, if you enter the new password, then it works.


Can you please test, if the below patch fixes your issue?

```
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index eca9451..5ab1dc4 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -1142,6 +1142,7 @@ void ONMainWindow::slotChangeBrokerPass()
 return;
 }
 broker->changePassword(passDlg.newPass());
+config.brokerPass = passDlg.newPass();
 setStatStatus ( tr ( "Connecting to broker" ) );
 stInfo->insertPlainText ( "broker url: "+config.brokerurl );
 setEnabled ( false );
```


I haven't had feedback on the above patch, yet. Can you please test  
it? Thanks.


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: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpamZKEkYiOO.pgp
Description: Digitale PGP-Signatur
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Processed: Re: Bug#1296: Bug#1296: x2gobroker-ssh : wrong password after password change in interactive mode

2018-09-07 Thread X2Go Bug Tracking System
Processing control commands:

> reassign -1 x2goclient
Bug #1296 [x2gobroker-ssh] x2gobroker-ssh : wrong password after password 
change in interactive mode
Bug reassigned from package 'x2gobroker-ssh' to 'x2goclient'.
No longer marked as found in versions 0.0.4.0-0~1022~ubuntu16.04.1.
Ignoring request to alter fixed versions of bug #1296 to the same values 
previously set

-- 
1296: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1296
X2Go Bug Tracking System
Contact ow...@bugs.x2go.org with problems
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev