[X2Go-User] suspend does not work anymore in 4.1.0.6 Debian

richard lucassen mailinglists at xaq.nl
Sun Sep 29 22:34:13 CEST 2024


On Sun, 29 Sep 2024 22:01:17 +0200
richard lucassen <mailinglists at xaq.nl> wrote:

[..]

>From syslog:

authpriv.info: Sep 29 22:06:38 sshd-session[18121]: pam_unix(sshd:session): session opened for user richard(uid=1001) by richard(uid=0)

user.notice: Sep 29 22:06:43 /usr/bin/x2goresume-session: client 10.241.32.92 has successfully resumed session with ID richard-50-1727639642_stDwmaker_dp24

auth.err: Sep 29 22:06:44 sshd-session[18135]: error: connect_to localhost port 31169: failed.

auth.info: Sep 29 22:06:44 sshd-session[18135]: channel_by_id: 0: bad id: channel free

auth.info: Sep 29 22:06:44 sshd-session[18135]: Disconnecting user richard 10.241.32.92 port 46732: ieof packet referred to nonexistent channel 0

authpriv.info: Sep 29 22:06:44 sshd-session[18121]: pam_unix(sshd:session): session closed for user richard

user.warn: Sep 29 22:07:15 /usr/bin/x2gosetkeyboard: /home/richard/.x2go/C-richard-50-1727639642_stDwmaker_dp24/keyboard did not appear within 30s after agent startup

ssh is still running:

 1616 ?        Ss     0:00 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups
 4962 ?        Ss     0:00  \_ sshd-session: richard [priv]
 4969 ?        S      0:00      \_ sshd-session: richard at notty

But the listening port has disappeared:

# ss -lnt
State     Recv-Q    Send-Q       Local Address:Port        Peer Address:Port    
LISTEN    0         4096               0.0.0.0:54287            0.0.0.0:*       
LISTEN    0         4096               0.0.0.0:111              0.0.0.0:*       
LISTEN    0         128                0.0.0.0:22               0.0.0.0:*       
LISTEN    0         4096                  [::]:42063               [::]:*       
LISTEN    0         4096                  [::]:111                 [::]:*       
LISTEN    0         128                   [::]:22                  [::]:*

----------------------------------------------
I start a new session:
----------------------------------------------

23132 ?        Ss     0:00  \_ sshd-session: richard [priv]
23138 ?        S      0:00      \_ sshd-session: richard at notty

It runs on port 127.0.0.1:57431

ss -lnt
State     Recv-Q    Send-Q       Local Address:Port        Peer Address:Port    
LISTEN    0         4096               0.0.0.0:54287            0.0.0.0:*       
LISTEN    0         4096               0.0.0.0:111              0.0.0.0:*       
LISTEN    0         128                0.0.0.0:22               0.0.0.0:*       
LISTEN    0         128              127.0.0.1:57431            0.0.0.0:*       
LISTEN    0         4096                  [::]:42063               [::]:*       
LISTEN    0         128                  [::1]:57431               [::]:*       
LISTEN    0         4096                  [::]:111                 [::]:*       
LISTEN    0         128                   [::]:22                  [::]:*

----------------------------------------------
I suspend the session:
----------------------------------------------

user.notice: Sep 29 22:17:30 /usr/bin/x2goumount-session[24148]: successfully unmounted "/tmp/.x2go-richard/media/disk/_home_richard_x2go"

user.notice: Sep 29 22:17:31 /usr/bin/x2gosuspend-session: session with ID richard-50-1727640825_stDwmaker_dp24 has been suspended successfully

The ssh notty session on port 127.0.0.1:57431 has disappeared. That's OK I think.

----------------------------------------------
I reconnect, the client segfaults
----------------------------------------------

syslog:

authpriv.info: Sep 29 22:21:30 sshd-session[24354]: pam_unix(sshd:session): session opened for user richard(uid=1001) by richard(uid=0)

user.notice: Sep 29 22:21:35 /usr/bin/x2goresume-session: client 10.241.32.92 has successfully resumed session with ID richard-50-1727640825_stDwmaker_dp24

auth.err: Sep 29 22:21:36 sshd-session[24360]: error: connect_to localhost port 57429: failed.

auth.info: Sep 29 22:21:36 sshd-session[24360]: channel_by_id: 0: bad id: channel free

auth.info: Sep 29 22:21:36 sshd-session[24360]: Disconnecting user richard 10.241.32.92 port 46648: ieof packet referred to nonexistent channel 0

authpriv.info: Sep 29 22:21:36 sshd-session[24354]: pam_unix(sshd:session): session closed for user richard

----------------------------------------------

Anyone some hints to debug this? I have the idea that somewhere
the X tunneling via ssh fails. That's why I'd like to know if it's
possible to connect directly to x2goserver. I'm working through a
wireguard tunnel, I do not need encryption.

R.

-- 
richard lucassen
http://contact.xaq.nl/


More information about the x2go-user mailing list