Discussion:
[X2Go-User] suspended sessions are not restoring
David Barron
2018-11-06 14:02:33 UTC
Permalink
I mentioned this problem last week and went back and forth a few times but there was no resolution. Since I am being paid to implement this I have no choice but to bring it up again. My apologies.

I have the broker running on a login server and my applications running on 3 x2go servers. Everything is working fine except for this one thing.

I can suspend a session, and when I run x2golistsessions I am seeing the suspended sessions in the database. But when I run the same application the suspended session is not starting up, I am getting a new one. I can verify that because if I run x2golistsessions while the new session is running I see two sessions in the database.

I've tried taking two of my application servers out of the picture and limiting it to 1, but I still see the same thing.

I've got PostgreSQL running on my broker server, and all the application servers access it without a problem. At least I can run x2golistsessions on all three without a problem.

If it matters, after running x2goversion on the application servers I'm seeing this

x2goserver: 4.1.0.0
x2goserver-common: 4.1.0.0
x2goserver-extensions: 4.1.0.0
x2goserver-x2goagent: 3.5.99.16
x2goserver-xsession: 4.1.0.0

And on the broker server I see this

X2goserver: 4.1.0.2
X2goserver-common: 4.1.0.2
X2goserver-extensions: 4.1.0.2
X2goserver-x2goagent: 3.5.99.16
X2goserver-xsession: 4.1.0.2

Any suggestions would be appreciated.
Mike Gabriel
2018-11-06 22:01:16 UTC
Permalink
Post by David Barron
I mentioned this problem last week and went back and forth a few
times but there was no resolution. Since I am being paid to
implement this I have no choice but to bring it up again. My
apologies.
I have the broker running on a login server and my applications
running on 3 x2go servers. Everything is working fine except for
this one thing.
I can suspend a session, and when I run x2golistsessions I am seeing
the suspended sessions in the database. But when I run the same
application the suspended session is not starting up, I am getting a
new one. I can verify that because if I run x2golistsessions while
the new session is running I see two sessions in the database.
I've tried taking two of my application servers out of the picture
and limiting it to 1, but I still see the same thing.
I've got PostgreSQL running on my broker server, and all the
application servers access it without a problem. At least I can run
x2golistsessions on all three without a problem.
If it matters, after running x2goversion on the application servers
I'm seeing this
x2goserver: 4.1.0.0
x2goserver-common: 4.1.0.0
x2goserver-extensions: 4.1.0.0
x2goserver-x2goagent: 3.5.99.16
x2goserver-xsession: 4.1.0.0
And on the broker server I see this
X2goserver: 4.1.0.2
X2goserver-common: 4.1.0.2
X2goserver-extensions: 4.1.0.2
X2goserver-x2goagent: 3.5.99.16
X2goserver-xsession: 4.1.0.2
Any suggestions would be appreciated.
You need the x2gobroker-agent package installed on the X2Go Server
machines and assure that broker <-> broker-agent communcation is
working.

Only then, X2Go Client will be able to resume suspended sessions.

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
David Barron
2018-11-07 17:37:17 UTC
Permalink
My problems with suspended sessions are continuing, so I am forced to continue requesting help.

Of course, I'm using -broker-url with the client, but if I do not and I create my sessions, they suspend perfectly. So whatever the issue is, it appears to be related to broker.

Any help would be appreciated.
Mike Gabriel
2018-11-12 20:51:08 UTC
Permalink
Hi David,
Post by David Barron
My problems with suspended sessions are continuing, so I am forced
to continue requesting help.
Of course, I'm using -broker-url with the client, but if I do not
and I create my sessions, they suspend perfectly. So whatever the
issue is, it appears to be related to broker.
Any help would be appreciated.
Please consider getting professional help, please consider reading the
code. Both will help.

The session resuming works here, with correctly set up systems (using
x2gobroker from the nightly builds).

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
Continue reading on narkive:
Loading...