You are not logged in.

#1 2024-01-21 10:37:28

tejonaco
Member
Registered: 2018-08-05
Posts: 37

X2Go - Unable to resume existing session

Hi, I'm using x2goserver (last aur version) and connecting with a client on windows 11.

I can connect seamlessy the first time, but then I close x2go client, try to open it after a while and cannot open the session again.

I'm using:
* An updated arch linux server (intel i5, no dedicated graphic card)
* XFCE
* ssh keys to connect to the server
* Windows 11 last x2go client

I know session keeps running in background (I'ts the behaviour I want) since, for example I let a calibre instance running adding books and it worked during hours correctly.

The second time I open x2go client I have this:
https://i.imgur.com/DXsaGV4.png

Sometimes I have this error, sometimes not, I thin'k this is not the root of the problem:

The remote proxy closed the connection while negotiating
the session. This may be due to the wrong authentication
credentials passed to the serven

Then this dialog appears, double clicking into the session makes the dialog closed and nothing more happens.
https://i.imgur.com/d0cKDIL.png


session.log show things like this:

nxagentSighupHandler: WARNING! Ignoring the signal in state [SESSION_GOING_DOWN].
Session: Suspending session at 'Sun Jan 21 11:31:31 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:43 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:43 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:43 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:45 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:45 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:46 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:46 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:46 2024'.
Session: Suspending session at 'Sun Jan 21 11:31:51 2024'.

The suspending session thing appears a lot over time.

session.log_errors:

Loop: Identified remote version '3.5.0'.
Loop: Remote compatibility version '1.5.0'.
Loop: Local version '3.5.99'.


Any hint? If you need more info please ask me for it. I tried https://wiki.archlinux.org/title/X2Go#S … _correctly
by wrting the script on /usr/local/bin/xfce4-session but that doesn't make changes.

Thanks!

Mod edit: replaced oversized images with URLs. Please read the guidance regarding posting images and don't embed large images in your posts. -- WorMzy

Last edited by WorMzy (2024-01-21 11:02:14)

Offline

#2 2024-01-21 10:56:22

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,193
Website

Re: X2Go - Unable to resume existing session

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-01-21 20:01:33

tejonaco
Member
Registered: 2018-08-05
Posts: 37

Re: X2Go - Unable to resume existing session

Nobody?

Offline

#4 2024-01-21 20:32:35

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,193
Website

Re: X2Go - Unable to resume existing session

Don't do that. Please do familiarise yourself with the whole general guidelines page.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2024-01-22 11:59:27

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,576

Re: X2Go - Unable to resume existing session

I tried https://wiki.archlinux.org/title/X2Go#S … _correctly
by wrting the script on /usr/local/bin/xfce4-session but that doesn't make changes.

https://wiki.archlinux.org/title/X2Go#Sessions_do_not_logoff_correctly wrote:

then point your X2Go-client to this custom script.

How did you ensure the x2go client does execute that script ?

Have you tried with a x2go client running on an archlinux system ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2024-01-27 09:18:48

tejonaco
Member
Registered: 2018-08-05
Posts: 37

Re: X2Go - Unable to resume existing session

Lone_Wolf wrote:

I tried https://wiki.archlinux.org/title/X2Go#S … _correctly
by wrting the script on /usr/local/bin/xfce4-session but that doesn't make changes.

https://wiki.archlinux.org/title/X2Go#Sessions_do_not_logoff_correctly wrote:

then point your X2Go-client to this custom script.

How did you ensure the x2go client does execute that script ?

Have you tried with a x2go client running on an archlinux system ?


Hi, thanks for answering.
I select "Custom Desktop" on client and pointed to that script to ensure that it's runing from there.
Also tried using a linux mint pc, it does the same behaviour, even do the same if I start the session with one pc and try to resume with the other.

Offline

#7 2024-01-27 14:46:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,576

Re: X2Go - Unable to resume existing session

A DDG search for 'x2go xfce resume session' showed several results where people point to the xfce4-screensaver .

example : https://stackoverflow.com/questions/623 … untu-20-04

Is xfce4-screensaver installed on the server ?
If yes, does removing it & restarting the server help ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2024-01-27 17:39:48

tejonaco
Member
Registered: 2018-08-05
Posts: 37

Re: X2Go - Unable to resume existing session

Lone_Wolf wrote:

A DDG search for 'x2go xfce resume session' showed several results where people point to the xfce4-screensaver .

example : https://stackoverflow.com/questions/623 … untu-20-04

Is xfce4-screensaver installed on the server ?
If yes, does removing it & restarting the server help ?

Tried that but it doesn't worked, the problem also occurs when closing the client and inmediatly trying to connect again.

In adition this is the output of journalctl of an entire cycle of connect, close client, try to reconnect:

ene 27 18:36:40 server /usr/bin/x2gostartagent[990]: successfully started X2Go Agent session with ID adrian-50-1706376998_stDXFCE_dp32
ene 27 18:36:51 server /usr/bin/x2gosuspend-session[1766]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:37:15 server /usr/bin/x2goresume-session[2259]: client **IP** has successfully resumed session with ID adrian-50-1706376998_stDXFCE_dp32
ene 27 18:37:25 server /usr/bin/x2gosuspend-session[2627]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:37:31 server /bin/x2gosuspend-session[2912]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:37:34 server /usr/sbin/x2gocleansessions[332]: adrian-50-1706376998_stDXFCE_dp32: session status S desynchronized with current status (R) and session suspend already tried unsuccessfully
ene 27 18:37:46 server /usr/bin/x2gosuspend-session[3330]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:37:47 server /usr/bin/x2gosetkeyboard[3378]: /home/adrian/.x2go/C-adrian-50-1706376998_stDXFCE_dp32/keyboard did not appear within 30s after agent startup
ene 27 18:38:07 server /usr/bin/x2gosuspend-session[3817]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:38:28 server /usr/bin/x2gosuspend-session[4275]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:38:49 server /usr/bin/x2gosuspend-session[4740]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:39:10 server /usr/bin/x2gosuspend-session[5201]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:39:31 server /usr/bin/x2gosuspend-session[5660]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:39:52 server /usr/bin/x2gosuspend-session[6122]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:40:13 server /usr/bin/x2gosuspend-session[6589]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:40:34 server /usr/bin/x2gosuspend-session[7048]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:40:55 server /usr/bin/x2gosuspend-session[7504]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:41:16 server /usr/bin/x2gosuspend-session[8000]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:41:37 server /usr/bin/x2gosuspend-session[8524]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully

Last edited by tejonaco (2024-01-27 17:47:31)

Offline

#9 2024-01-28 11:26:30

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,576

Re: X2Go - Unable to resume existing session

ene 27 18:37:31 server /bin/x2gosuspend-session[2912]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:37:34 server /usr/sbin/x2gocleansessions[332]: adrian-50-1706376998_stDXFCE_dp32: session status S desynchronized with current status (R) and session suspend already tried unsuccessfully
ene 27 18:37:46 server /usr/bin/x2gosuspend-session[3330]: session with ID adrian-50-1706376998_stDXFCE_dp32 has been suspended successfully
ene 27 18:37:47 server /usr/bin/x2gosetkeyboard[3378]: /home/adrian/.x2go/C-adrian-50-1706376998_stDXFCE_dp32/keyboard did not appear within 30s after agent startup

Those lines look relevant, but I don't know how to interpret them.

Can you setup a connection with a simple X environment like openbox or twm to verify if the issue is specific to xfce ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB