Dear all,
I've been using X2Go on a pair of openSUSE Tumbleweed systems. I just upgraded both and now I'm no longer able to run a remote application or desktop -- the client successfully connects to the server but then immediately disconnects. Below is output from x2goclient --debug showing me trying to launch a remote xterm. Can anyone suggest what the problem might be or how to troubleshoot further?
Regards, Tristan
[psy:~] $ x2goclient --debug x2go-INFO-1> "Starting X2Go Client 4.1.2.3..." x2go-WARNING-1> English language requested, not loading translator. x2go-WARNING-1> English language requested, not loading translator. x2go-DEBUG-../src/onmainwindow.cpp:1300> Removing apps from tray x2go-DEBUG-../src/onmainwindow.cpp:1268> Plugging apps in tray. x2go-INFO-3> "Started X2Go Client." x2go-DEBUG-../src/onmainwindow.cpp:626> "$HOME=/home/psy" x2go-DEBUG-../src/onmainwindow.cpp:2349> Reading 2 sessions from config file. x2go-DEBUG-../src/onmainwindow.cpp:13380> libssh not initialized yet. Initializing. x2go-DEBUG-../src/onmainwindow.cpp:2830> Creating QPixmap with session icon: '":/img/icons/128x128/x2gosession.png"'. x2go-DEBUG-../src/onmainwindow.cpp:2897> Starting session via Smart Card, SSH Agent or Kerberos token. x2go-DEBUG-../src/onmainwindow.cpp:1300> Removing apps from tray x2go-INFO-8> "Starting connection to server: butterfield.nothingisreal.com:22" x2go-DEBUG-../src/onmainwindow.cpp:2931> Starting new ssh connection to server:"butterfield.nothingisreal.com":"22" krbLogin: false x2go-DEBUG-../src/sshmasterconnection.cpp:168> SshMasterConnection, host "butterfield.nothingisreal.com"; port 22; user "psy"; useproxy false; proxyserver ""; proxyport 22 x2go-DEBUG-../src/sshmasterconnection.cpp:248> Starting SSH connection without Kerberos authentication. x2go-DEBUG-../src/sshmasterconnection.cpp:250> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) created. x2go-DEBUG-../src/sshmasterconnection.cpp:492> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) entering thread. x2go-DEBUG-../src/sshmasterconnection.cpp:795> Session port before config file parse: 22 x2go-DEBUG-../src/sshmasterconnection.cpp:805> Session port after config file parse: 22 x2go-DEBUG-../src/sshmasterconnection.cpp:869> Session port before config file parse (part 2): 22 x2go-DEBUG-../src/sshmasterconnection.cpp:879> Session port after config file parse (part 2): 22 x2go-DEBUG-../src/sshmasterconnection.cpp:903> cserverAuth x2go-DEBUG-../src/sshmasterconnection.cpp:942> state: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:685> User authentication OK. x2go-DEBUG-../src/sshmasterconnection.cpp:1708> LOGIN CHECK:"LOGIN OK " x2go-DEBUG-../src/sshmasterconnection.cpp:1711> don't have interaction x2go-DEBUG-../src/sshmasterconnection.cpp:1744> LOOP FINISHED x2go-DEBUG-../src/sshmasterconnection.cpp:1748> No interaction needed, continue session x2go-DEBUG-../src/sshmasterconnection.cpp:700> Login Check - OK x2go-DEBUG-../src/onmainwindow.cpp:3025> SSH connection established. x2go-DEBUG-../src/onmainwindow.cpp:3452> Continue normal X2Go session x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 0: "x2golistsessions" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c15693e520) Running masterCon->addChannelConnection(this, ' "71e0c684-47c7-4491-be80-dad7bdd840c8" ', ' "bash -l -c 'echo "X2GODATABEGIN:71e0c684-47c7-4491-be80-dad7bdd840c8"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2golistsessions; echo "X2GODATAEND:71e0c684-47c7-4491-be80-dad7bd" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb80175b0
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:71e0c684-47c7-4491-be80-dad7bdd840c8"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2golistsessions; echo "X2GODATAEND:71e0c684-47c7-4491-be80-dad7bdd840c8";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb80175b0; SshProcess object: 0 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:71e0c684-47c7-4491-be80-dad7bdd840c8 X2GODATAEND:71e0c684-47c7-4491-be80-dad7bdd840c8 " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "" (0). x2go-DEBUG-../src/onmainwindow.cpp:3942> "" x2go-DEBUG-../src/onmainwindow.cpp:1300> Removing apps from tray x2go-DEBUG-../src/onmainwindow.cpp:4602> Executing remote command: "X2GODPI=96 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-1 unix-kde-depth_24 us auto 1 R xterm both" x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 1: "X2GODPI=96 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-1 unix-kde-depth_24 us auto 1 R xterm both" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c1568f9170) Running masterCon->addChannelConnection(this, ' "28005d87-56c7-4e71-8747-52437caaad0d" ', ' "bash -l -c 'echo "X2GODATABEGIN:28005d87-56c7-4e71-8747-52437caaad0d"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; X2GODPI=96 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-1" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb8017a90
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:28005d87-56c7-4e71-8747-52437caaad0d"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; X2GODPI=96 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-1 unix-kde-depth_24 us auto 1 R xterm both; echo "X2GODATAEND:28005d87-56c7-4e71-8747-52437caaad0d";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb8017a90; SshProcess object: 1 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:28005d87-56c7-4e71-8747-52437caaad0d 1534 145b7772e795c1e7935d0197034e38bf 7494 psy-1534-1653902753_stRxterm_dp24 41876 41877 41878 X2GODATAEND:28005d87-56c7-4e71-8747-52437caaad0d " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "1534 145b7772e795c1e7935d0197034e38bf 7494 psy-1534-1653902753_stRxterm_dp24 41876 41877 41878 " (1). x2go-DEBUG-../src/onmainwindow.cpp:5506> Agent output: "1534 145b7772e795c1e7935d0197034e38bf 7494 psy-1534-1653902753_stRxterm_dp24 41876 41877 41878 " x2go-DEBUG-../src/sshprocess.cpp:387> Starting tunnel via SshProcess object 2: "localhost":41876 -> "localhost":42876
RESUMING SESSION is KDRIVE: false x2go-DEBUG-../src/onmainwindow.cpp:6223> "Starting NX proxy, command: nxproxy -S nx/nx,options=/home/psy/.x2go/S-psy-1534-1653902753_stRxterm_dp24/options:1534" x2go-DEBUG-../src/sshprocess.cpp:157> Direct tunnel: waiting for connections on "localhost":42876 x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: " NXPROXY - Version 3.5.99.24
Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com) Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Copyright (c) 2014-2016 Ulrich Sibiller <uli42@gmx.de> Copyright (c) 2014-2016 Mihai Moldovan <ionic@ionic.de> Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com)
NXCOMP, NX protocol compression and NX extensions to this software are copyright of the aforementioned persons and companies.
Redistribution and use of the present software is allowed according to terms specified in the file LICENSE.nxcomp which comes in the source distribution.
All rights reserved.
NOTE: This software has received contributions from various other contributors, only the core maintainers and supporters are listed as copyright holders. Please contact us, if you feel you should be listed as copyright holder, as well.
NX protocol compression is derived from DXPC project.
Copyright (c) 1995,1996 Brian Pane Copyright (c) 1996,1997 Zachary Vonler and Brian Pane Copyright (c) 1999 Kevin Vigor and Brian Pane Copyright (c) 2000,2003 Gian Filippo Pinzari and Brian Pane
All rights reserved.
See https://github.com/ArcticaProject/nx-libs for more information.
Info: Proxy running in server mode with pid '30456'. Session: Starting session at 'Mon May 30 11:25:55 2022'. Info: Using errors file '/home/psy/.x2go/S-psy-1534-1653902753_stRxterm_dp24/sessions'. Info: Using stats file '/home/psy/.x2go/S-1534/stats'. Loop: WARNING! Overriding auxiliary X11 port with new value '1'. Warning: Overriding auxiliary X11 port with new value '1'. Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0. Info: Connecting to remote host 'localhost:42876'. Info: Connected to remote proxy on FD#5. " x2go-DEBUG-../src/sshprocess.cpp:109> New TCP connection. x2go-DEBUG-../src/sshprocess.cpp:114> New socket: 13 x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb80156b0
x2go-DEBUG-../src/sshmasterconnection.cpp:2129> Forwarding parameters: from remote ("localhost":41876) to local ("localhost":56598) x2go-DEBUG-../src/sshmasterconnection.cpp:2163> Temporary session port after config file parse: 41876 x2go-DEBUG-../src/sshmasterconnection.cpp:2167> Temporary session host after config file parse: localhost x2go-DEBUG-../src/sshmasterconnection.cpp:2194> New channel forwarded.
x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Info: Connection with remote proxy completed. Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Warning" x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: ": Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. " x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Info: Using ADSL link parameters 1408/24/1/0. Info: Using cache parameters 4/4096KB/8192KB/8192KB. Info: Using pack method '16m-jpeg-1' with session 'unix-kde-depth_24'. Info: Using ZLIB data compression 1/1/32. Info: Using ZLIB stream compression 4/4. Info: No suitable cache file found. Info: Forwarding X11 connections to display ':0'. Info: Forwarding auxiliary X11 connections to display ':0'. " x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Session: Session started at 'Mon May 30 11:25:55 2022'. " x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Info: Established X server connection. " x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 3: "x2gobasepath" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c15684bac0) Running masterCon->addChannelConnection(this, ' "2e683c35-4873-4c64-90e1-37d880595090" ', ' "bash -l -c 'echo "X2GODATABEGIN:2e683c35-4873-4c64-90e1-37d880595090"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2gobasepath; echo "X2GODATAEND:2e683c35-4873-4c64-90e1-37d8805950" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb8017ce0
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:2e683c35-4873-4c64-90e1-37d880595090"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2gobasepath; echo "X2GODATAEND:2e683c35-4873-4c64-90e1-37d880595090";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Info: Using shared memory parameters 0/0K. " x2go-DEBUG-../src/onmainwindow.cpp:11747> "Searching proxy window: X2GO-psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/onmainwindow.cpp:13368> "Searching window with title: X2GO-psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb8017ce0; SshProcess object: 3 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:2e683c35-4873-4c64-90e1-37d880595090 /usrX2GODATAEND:2e683c35-4873-4c64-90e1-37d880595090 " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "/usr" (3). x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 4: "export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-psy-1534-1653902753_stRxterm_dp24/.pulse-client.conf";setsid /usr/bin/x2goruncommand 1534 7494 psy-1534-1653902753_stRxterm_dp24 41877 /usr/bin/xterm nosnd R 1> /dev/null 2>/dev/null & exit" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c156974510) Running masterCon->addChannelConnection(this, ' "42527347-b8ee-43ea-82ed-3eba06f098f7" ', ' "bash -l -c 'echo "X2GODATABEGIN:42527347-b8ee-43ea-82ed-3eba06f098f7"; export TERM="dumb"; export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-psy-1534-1653902753_stRxterm_dp24/.pulse-client.conf";setsid /usr/" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb8019e60
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:42527347-b8ee-43ea-82ed-3eba06f098f7"; export TERM="dumb"; export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-psy-1534-1653902753_stRxterm_dp24/.pulse-client.conf";setsid /usr/bin/x2goruncommand 1534 7494 psy-1534-1653902753_stRxterm_dp24 41877 /usr/bin/xterm nosnd R 1> /dev/null 2>/dev/null & exit; echo "X2GODATAEND:42527347-b8ee-43ea-82ed-3eba06f098f7";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb8019e60; SshProcess object: 4 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:42527347-b8ee-43ea-82ed-3eba06f098f7 " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "" (4). x2go-DEBUG-../src/onmainwindow.cpp:11747> "Searching proxy window: X2GO-psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/onmainwindow.cpp:13368> "Searching window with title: X2GO-psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/onmainwindow.cpp:11753> "Proxy window found: 32506448" x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Session: Terminating session at 'Mon May 30 11:25:56 2022'. Session: Session terminated at 'Mon May 30 11:25:56 2022'. " x2go-DEBUG-../src/sshmasterconnection.cpp:2093> Socket 13 closed.
x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/onmainwindow.cpp:6556> Deleting Proxy. x2go-DEBUG-../src/onmainwindow.cpp:6601> Waiting for proxy to exit. x2go-DEBUG-../src/onmainwindow.cpp:6625> Checking exit status. x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 5: "x2gocmdexitmessage psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c156a881d0) Running masterCon->addChannelConnection(this, ' "1bec7c74-ea83-4cea-9499-5716172dff75" ', ' "bash -l -c 'echo "X2GODATABEGIN:1bec7c74-ea83-4cea-9499-5716172dff75"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2gocmdexitmessage psy-1534-1653902753_stRxterm_dp24; echo "X2GODA" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb80156b0
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:1bec7c74-ea83-4cea-9499-5716172dff75"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2gocmdexitmessage psy-1534-1653902753_stRxterm_dp24; echo "X2GODATAEND:1bec7c74-ea83-4cea-9499-5716172dff75";'"
x2go-DEBUG-../src/onmainwindow.cpp:6682> Finished proxy. x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb80156b0; SshProcess object: 5 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:1bec7c74-ea83-4cea-9499-5716172dff75 exec /usr/bin/xterm X2GODATAEND:1bec7c74-ea83-4cea-9499-5716172dff75 " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "exec /usr/bin/xterm " (5). x2go-DEBUG-../src/onmainwindow.cpp:10021> "Command message: exec /usr/bin/xterm " x2go-DEBUG-../src/sshmasterconnection.cpp:762> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) waiting for thread to finish. x2go-DEBUG-../src/sshmasterconnection.cpp:1908> Disconnecting ...
x2go-DEBUG-../src/sshmasterconnection.cpp:1917> Deleting channel connections.
x2go-DEBUG-../src/sshmasterconnection.cpp:1923> Disconnecting session.
x2go-DEBUG-../src/sshmasterconnection.cpp:1927> Deleting sockets.
x2go-DEBUG-../src/sshmasterconnection.cpp:1932> All channels closed and session disconnected. Quitting session loop.
x2go-DEBUG-../src/sshmasterconnection.cpp:764> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) thread finished. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshmasterconnection.cpp:769> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) finished destructor.
Tristan Miller
Hmm, I don't see any reason in the logs you provided. Maybe try to disable printing, sound and remote dirs and retry.
Uli
On Mon, May 30, 2022 at 11:27 AM Tristan Miller <psychonaut@nothingisreal.com> wrote:
Dear all,
I've been using X2Go on a pair of openSUSE Tumbleweed systems. I just upgraded both and now I'm no longer able to run a remote application or desktop -- the client successfully connects to the server but then immediately disconnects. Below is output from x2goclient --debug showing me trying to launch a remote xterm. Can anyone suggest what the problem might be or how to troubleshoot further?
Regards, Tristan
[psy:~] $ x2goclient --debug x2go-INFO-1> "Starting X2Go Client 4.1.2.3..." x2go-WARNING-1> English language requested, not loading translator. x2go-WARNING-1> English language requested, not loading translator. x2go-DEBUG-../src/onmainwindow.cpp:1300> Removing apps from tray x2go-DEBUG-../src/onmainwindow.cpp:1268> Plugging apps in tray. x2go-INFO-3> "Started X2Go Client." x2go-DEBUG-../src/onmainwindow.cpp:626> "$HOME=/home/psy" x2go-DEBUG-../src/onmainwindow.cpp:2349> Reading 2 sessions from config file. x2go-DEBUG-../src/onmainwindow.cpp:13380> libssh not initialized yet. Initializing. x2go-DEBUG-../src/onmainwindow.cpp:2830> Creating QPixmap with session icon: '":/img/icons/128x128/x2gosession.png"'. x2go-DEBUG-../src/onmainwindow.cpp:2897> Starting session via Smart Card, SSH Agent or Kerberos token. x2go-DEBUG-../src/onmainwindow.cpp:1300> Removing apps from tray x2go-INFO-8> "Starting connection to server: butterfield.nothingisreal.com:22" x2go-DEBUG-../src/onmainwindow.cpp:2931> Starting new ssh connection to server:"butterfield.nothingisreal.com":"22" krbLogin: false x2go-DEBUG-../src/sshmasterconnection.cpp:168> SshMasterConnection, host "butterfield.nothingisreal.com"; port 22; user "psy"; useproxy false; proxyserver ""; proxyport 22 x2go-DEBUG-../src/sshmasterconnection.cpp:248> Starting SSH connection without Kerberos authentication. x2go-DEBUG-../src/sshmasterconnection.cpp:250> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) created. x2go-DEBUG-../src/sshmasterconnection.cpp:492> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) entering thread. x2go-DEBUG-../src/sshmasterconnection.cpp:795> Session port before config file parse: 22 x2go-DEBUG-../src/sshmasterconnection.cpp:805> Session port after config file parse: 22 x2go-DEBUG-../src/sshmasterconnection.cpp:869> Session port before config file parse (part 2): 22 x2go-DEBUG-../src/sshmasterconnection.cpp:879> Session port after config file parse (part 2): 22 x2go-DEBUG-../src/sshmasterconnection.cpp:903> cserverAuth x2go-DEBUG-../src/sshmasterconnection.cpp:942> state: 1
x2go-DEBUG-../src/sshmasterconnection.cpp:685> User authentication OK. x2go-DEBUG-../src/sshmasterconnection.cpp:1708> LOGIN CHECK:"LOGIN OK " x2go-DEBUG-../src/sshmasterconnection.cpp:1711> don't have interaction x2go-DEBUG-../src/sshmasterconnection.cpp:1744> LOOP FINISHED x2go-DEBUG-../src/sshmasterconnection.cpp:1748> No interaction needed, continue session x2go-DEBUG-../src/sshmasterconnection.cpp:700> Login Check - OK x2go-DEBUG-../src/onmainwindow.cpp:3025> SSH connection established. x2go-DEBUG-../src/onmainwindow.cpp:3452> Continue normal X2Go session x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 0: "x2golistsessions" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c15693e520) Running masterCon->addChannelConnection(this, ' "71e0c684-47c7-4491-be80-dad7bdd840c8" ', ' "bash -l -c 'echo "X2GODATABEGIN:71e0c684-47c7-4491-be80-dad7bdd840c8"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2golistsessions; echo "X2GODATAEND:71e0c684-47c7-4491-be80-dad7bd" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb80175b0
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:71e0c684-47c7-4491-be80-dad7bdd840c8"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2golistsessions; echo "X2GODATAEND:71e0c684-47c7-4491-be80-dad7bdd840c8";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb80175b0; SshProcess object: 0 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:71e0c684-47c7-4491-be80-dad7bdd840c8 X2GODATAEND:71e0c684-47c7-4491-be80-dad7bdd840c8 " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "" (0). x2go-DEBUG-../src/onmainwindow.cpp:3942> "" x2go-DEBUG-../src/onmainwindow.cpp:1300> Removing apps from tray x2go-DEBUG-../src/onmainwindow.cpp:4602> Executing remote command: "X2GODPI=96 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-1 unix-kde-depth_24 us auto 1 R xterm both" x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 1: "X2GODPI=96 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-1 unix-kde-depth_24 us auto 1 R xterm both" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c1568f9170) Running masterCon->addChannelConnection(this, ' "28005d87-56c7-4e71-8747-52437caaad0d" ', ' "bash -l -c 'echo "X2GODATABEGIN:28005d87-56c7-4e71-8747-52437caaad0d"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; X2GODPI=96 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-1" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb8017a90
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:28005d87-56c7-4e71-8747-52437caaad0d"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; X2GODPI=96 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-1 unix-kde-depth_24 us auto 1 R xterm both; echo "X2GODATAEND:28005d87-56c7-4e71-8747-52437caaad0d";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb8017a90; SshProcess object: 1 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:28005d87-56c7-4e71-8747-52437caaad0d 1534 145b7772e795c1e7935d0197034e38bf 7494 psy-1534-1653902753_stRxterm_dp24 41876 41877 41878 X2GODATAEND:28005d87-56c7-4e71-8747-52437caaad0d " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "1534 145b7772e795c1e7935d0197034e38bf 7494 psy-1534-1653902753_stRxterm_dp24 41876 41877 41878 " (1). x2go-DEBUG-../src/onmainwindow.cpp:5506> Agent output: "1534 145b7772e795c1e7935d0197034e38bf 7494 psy-1534-1653902753_stRxterm_dp24 41876 41877 41878 " x2go-DEBUG-../src/sshprocess.cpp:387> Starting tunnel via SshProcess object 2: "localhost":41876 -> "localhost":42876
RESUMING SESSION is KDRIVE: false x2go-DEBUG-../src/onmainwindow.cpp:6223> "Starting NX proxy, command: nxproxy -S nx/nx,options=/home/psy/.x2go/S-psy-1534-1653902753_stRxterm_dp24/options:1534" x2go-DEBUG-../src/sshprocess.cpp:157> Direct tunnel: waiting for connections on "localhost":42876 x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: " NXPROXY - Version 3.5.99.24
Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com) Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Copyright (c) 2014-2016 Ulrich Sibiller <uli42@gmx.de> Copyright (c) 2014-2016 Mihai Moldovan <ionic@ionic.de> Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com)
NXCOMP, NX protocol compression and NX extensions to this software are copyright of the aforementioned persons and companies.
Redistribution and use of the present software is allowed according to terms specified in the file LICENSE.nxcomp which comes in the source distribution.
All rights reserved.
NOTE: This software has received contributions from various other contributors, only the core maintainers and supporters are listed as copyright holders. Please contact us, if you feel you should be listed as copyright holder, as well.
NX protocol compression is derived from DXPC project.
Copyright (c) 1995,1996 Brian Pane Copyright (c) 1996,1997 Zachary Vonler and Brian Pane Copyright (c) 1999 Kevin Vigor and Brian Pane Copyright (c) 2000,2003 Gian Filippo Pinzari and Brian Pane
All rights reserved.
See https://github.com/ArcticaProject/nx-libs for more information.
Info: Proxy running in server mode with pid '30456'. Session: Starting session at 'Mon May 30 11:25:55 2022'. Info: Using errors file '/home/psy/.x2go/S-psy-1534-1653902753_stRxterm_dp24/sessions'. Info: Using stats file '/home/psy/.x2go/S-1534/stats'. Loop: WARNING! Overriding auxiliary X11 port with new value '1'. Warning: Overriding auxiliary X11 port with new value '1'. Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0. Info: Connecting to remote host 'localhost:42876'. Info: Connected to remote proxy on FD#5. " x2go-DEBUG-../src/sshprocess.cpp:109> New TCP connection. x2go-DEBUG-../src/sshprocess.cpp:114> New socket: 13 x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb80156b0
x2go-DEBUG-../src/sshmasterconnection.cpp:2129> Forwarding parameters: from remote ("localhost":41876) to local ("localhost":56598) x2go-DEBUG-../src/sshmasterconnection.cpp:2163> Temporary session port after config file parse: 41876 x2go-DEBUG-../src/sshmasterconnection.cpp:2167> Temporary session host after config file parse: localhost x2go-DEBUG-../src/sshmasterconnection.cpp:2194> New channel forwarded.
x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Info: Connection with remote proxy completed. Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Warning" x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: ": Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. " x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Info: Using ADSL link parameters 1408/24/1/0. Info: Using cache parameters 4/4096KB/8192KB/8192KB. Info: Using pack method '16m-jpeg-1' with session 'unix-kde-depth_24'. Info: Using ZLIB data compression 1/1/32. Info: Using ZLIB stream compression 4/4. Info: No suitable cache file found. Info: Forwarding X11 connections to display ':0'. Info: Forwarding auxiliary X11 connections to display ':0'. " x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Session: Session started at 'Mon May 30 11:25:55 2022'. " x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Info: Established X server connection. " x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 3: "x2gobasepath" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c15684bac0) Running masterCon->addChannelConnection(this, ' "2e683c35-4873-4c64-90e1-37d880595090" ', ' "bash -l -c 'echo "X2GODATABEGIN:2e683c35-4873-4c64-90e1-37d880595090"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2gobasepath; echo "X2GODATAEND:2e683c35-4873-4c64-90e1-37d8805950" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb8017ce0
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:2e683c35-4873-4c64-90e1-37d880595090"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2gobasepath; echo "X2GODATAEND:2e683c35-4873-4c64-90e1-37d880595090";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Info: Using shared memory parameters 0/0K. " x2go-DEBUG-../src/onmainwindow.cpp:11747> "Searching proxy window: X2GO-psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/onmainwindow.cpp:13368> "Searching window with title: X2GO-psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb8017ce0; SshProcess object: 3 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:2e683c35-4873-4c64-90e1-37d880595090 /usrX2GODATAEND:2e683c35-4873-4c64-90e1-37d880595090 " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "/usr" (3). x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 4: "export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-psy-1534-1653902753_stRxterm_dp24/.pulse-client.conf";setsid /usr/bin/x2goruncommand 1534 7494 psy-1534-1653902753_stRxterm_dp24 41877 /usr/bin/xterm nosnd R 1> /dev/null 2>/dev/null & exit" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c156974510) Running masterCon->addChannelConnection(this, ' "42527347-b8ee-43ea-82ed-3eba06f098f7" ', ' "bash -l -c 'echo "X2GODATABEGIN:42527347-b8ee-43ea-82ed-3eba06f098f7"; export TERM="dumb"; export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-psy-1534-1653902753_stRxterm_dp24/.pulse-client.conf";setsid /usr/" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb8019e60
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:42527347-b8ee-43ea-82ed-3eba06f098f7"; export TERM="dumb"; export PULSE_CLIENTCONFIG="${HOME}/.x2go/C-psy-1534-1653902753_stRxterm_dp24/.pulse-client.conf";setsid /usr/bin/x2goruncommand 1534 7494 psy-1534-1653902753_stRxterm_dp24 41877 /usr/bin/xterm nosnd R 1> /dev/null 2>/dev/null & exit; echo "X2GODATAEND:42527347-b8ee-43ea-82ed-3eba06f098f7";'"
x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb8019e60; SshProcess object: 4 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:42527347-b8ee-43ea-82ed-3eba06f098f7 " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "" (4). x2go-DEBUG-../src/onmainwindow.cpp:11747> "Searching proxy window: X2GO-psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/onmainwindow.cpp:13368> "Searching window with title: X2GO-psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/onmainwindow.cpp:11753> "Proxy window found: 32506448" x2go-DEBUG-../src/onmainwindow.cpp:6699> Proxy wrote on stderr: "Session: Terminating session at 'Mon May 30 11:25:56 2022'. Session: Session terminated at 'Mon May 30 11:25:56 2022'. " x2go-DEBUG-../src/sshmasterconnection.cpp:2093> Socket 13 closed.
x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/onmainwindow.cpp:6556> Deleting Proxy. x2go-DEBUG-../src/onmainwindow.cpp:6601> Waiting for proxy to exit. x2go-DEBUG-../src/onmainwindow.cpp:6625> Checking exit status. x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 5: "x2gocmdexitmessage psy-1534-1653902753_stRxterm_dp24" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x55c156a881d0) Running masterCon->addChannelConnection(this, ' "1bec7c74-ea83-4cea-9499-5716172dff75" ', ' "bash -l -c 'echo "X2GODATABEGIN:1bec7c74-ea83-4cea-9499-5716172dff75"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2gocmdexitmessage psy-1534-1653902753_stRxterm_dp24; echo "X2GODA" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1810> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1812> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1814> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2112> Creating new channel.
x2go-DEBUG-../src/sshmasterconnection.cpp:2125> New channel:0x7faeb80156b0
x2go-DEBUG-../src/sshmasterconnection.cpp:2200> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:1bec7c74-ea83-4cea-9499-5716172dff75"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2gocmdexitmessage psy-1534-1653902753_stRxterm_dp24; echo "X2GODATAEND:1bec7c74-ea83-4cea-9499-5716172dff75";'"
x2go-DEBUG-../src/onmainwindow.cpp:6682> Finished proxy. x2go-DEBUG-../src/sshmasterconnection.cpp:2231> New exec channel created.
x2go-DEBUG-../src/sshmasterconnection.cpp:2053> EOF on channel 0x7faeb80156b0; SshProcess object: 5 x2go-DEBUG-../src/sshmasterconnection.cpp:2250> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2252> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:532> SSH finished: raw output (stdout): "X2GODATABEGIN:1bec7c74-ea83-4cea-9499-5716172dff75 exec /usr/bin/xterm X2GODATAEND:1bec7c74-ea83-4cea-9499-5716172dff75 " x2go-DEBUG-../src/sshprocess.cpp:543> SSH finished: true - "exec /usr/bin/xterm " (5). x2go-DEBUG-../src/onmainwindow.cpp:10021> "Command message: exec /usr/bin/xterm " x2go-DEBUG-../src/sshmasterconnection.cpp:762> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) waiting for thread to finish. x2go-DEBUG-../src/sshmasterconnection.cpp:1908> Disconnecting ...
x2go-DEBUG-../src/sshmasterconnection.cpp:1917> Deleting channel connections.
x2go-DEBUG-../src/sshmasterconnection.cpp:1923> Disconnecting session.
x2go-DEBUG-../src/sshmasterconnection.cpp:1927> Deleting sockets.
x2go-DEBUG-../src/sshmasterconnection.cpp:1932> All channels closed and session disconnected. Quitting session loop.
x2go-DEBUG-../src/sshmasterconnection.cpp:764> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) thread finished. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called. x2go-DEBUG-../src/sshmasterconnection.cpp:769> SshMasterConnection, instance SshMasterConnection(0x55c15678bd90) finished destructor.
--
Tristan Miller
Free Software developer, ferret herder, logologist https://logological.org/
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Dear Ulrich,
On 30/05/2022 12.38, Ulrich Sibiller wrote:
Hmm, I don't see any reason in the logs you provided. Maybe try to disable printing, sound and remote dirs and retry.
All three were already disabled.
Regards, Tristan
Tristan Miller
Greetings.
On 30/05/2022 11.27, Tristan Miller wrote:
I've been using X2Go on a pair of openSUSE Tumbleweed systems. I just upgraded both and now I'm no longer able to run a remote application or desktop -- the client successfully connects to the server but then immediately disconnects. Below is output from x2goclient --debug showing me trying to launch a remote xterm. Can anyone suggest what the problem might be or how to troubleshoot further?
Results of some further testing:
The problem seems to happen only when connecting to the server running on openSUSE Tumbleweed. Connecting to a server running on another machine (running openSUSE Leap 15.3) still works.
The problem doesn't seem to have anything to do with the particular account I'm connecting to. I still get the automatic disconnect when logging in as a different user.
Here are the server logs with logging level set to "info":
2022-05-31T10:39:56.310889+02:00 butterfield sshd[12197]: Accepted publickey for psy from 193.171.142.173 port 44850 ssh2: RSA SHA256:GlTL06/Ur8aKEq01wDiI9ghRdgSkXfkDVDsx4qiKNms 2022-05-31T10:39:56.830523+02:00 butterfield /usr/bin/x2gostartagent: x2gostartagent called with options: 800x600 adsl 16m-jpeg-1 unix-kde-depth_24 us auto 1 R xterm both 2022-05-31T10:39:57.019028+02:00 butterfield /usr/bin/x2gosessionlimit[12372]: x2gosessionlimit has been called 2022-05-31T10:39:57.078710+02:00 butterfield /usr/bin/x2golistsessions[12373]: x2golistsessions has been called with options: --all-servers 2022-05-31T10:40:08.013742+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.039863+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.066317+02:00 butterfield /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: psy-1539-1653986406_stRxterm_dp24 pre-start 2022-05-31T10:40:08.111792+02:00 butterfield /usr/bin/x2gostartagent: creating new session: psy-1539-1653986406_stRxterm_dp24 75ac6c60151cfea222f2e9f184f1643b 13277 193.171.142.173 49517 49518 49519 -1 -1 2022-05-31T10:40:08.257567+02:00 butterfield /usr/bin/x2gostartagent: successfully started X2Go Agent session with ID psy-1539-1653986406_stRxterm_dp24 2022-05-31T10:40:08.289281+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.315905+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.342553+02:00 butterfield /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: psy-1539-1653986406_stRxterm_dp24 post-start 2022-05-31T10:40:08.678631+02:00 butterfield /usr/bin/x2goruncommand: x2goruncommand called with options: 1539 13277 psy-1539-1653986406_stRxterm_dp24 49518 /usr/bin/xterm nosnd R 2022-05-31T10:40:08.713913+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GOAGENT_RANDRXINERAMA 2022-05-31T10:40:08.742595+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GOAGENT_RANDRXINERAMA 2022-05-31T10:40:08.769154+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GOAGENT_RANDRXINERAMA 2022-05-31T10:40:08.796058+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features: x2goserver-x2goagent.features called with options: X2GOAGENT_RANDRXINERAMA 2022-05-31T10:40:08.829722+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.856138+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.882619+02:00 butterfield /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: psy-1539-1653986406_stRxterm_dp24 pre-runcommand 2022-05-31T10:40:08.930031+02:00 butterfield /usr/bin/x2gosetkeyboard: x2gosetkeyboard called with options: 2022-05-31T10:40:08.934918+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_XSESSION 2022-05-31T10:40:08.950084+02:00 butterfield /usr/bin/x2gosetkeyboard: Waiting for /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard to appear 2022-05-31T10:40:08.961226+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_XSESSION 2022-05-31T10:40:08.988212+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GO_XSESSION 2022-05-31T10:40:09.015186+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features: x2goserver-x2goagent.features called with options: X2GO_XSESSION 2022-05-31T10:40:09.041501+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: x2goserver-xsession.features called with options: X2GO_XSESSION 2022-05-31T10:40:09.900350+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:09.926960+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:09.953654+02:00 butterfield /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: psy-1539-1653986406_stRxterm_dp24 post-runcommand 2022-05-31T10:40:09.970950+02:00 butterfield /usr/bin/x2gosetkeyboard: Waiting for /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard to appear 2022-05-31T10:40:09.986399+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.013181+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.029476+02:00 butterfield /usr/bin/x2gocmdexitmessage: x2gocmdexitmessage called with options: psy-1539-1653986406_stRxterm_dp24 2022-05-31T10:40:10.039751+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.063638+02:00 butterfield sshd[12199]: Received disconnect from 193.171.142.173 port 44850:11: Bye Bye 2022-05-31T10:40:10.063741+02:00 butterfield sshd[12199]: Disconnected from user psy 193.171.142.173 port 44850 2022-05-31T10:40:10.067044+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features: x2goserver-x2goagent.features called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.093537+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: x2goserver-xsession.features called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.268210+02:00 butterfield /usr/bin/x2goumount-session[13747]: x2goumount-session has been called with options: psy-1539-1653986406_stRxterm_dp24 2022-05-31T10:40:10.996277+02:00 butterfield /usr/bin/x2gosetkeyboard: Waiting for /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard to appear 2022-05-31T10:40:38.712469+02:00 butterfield /usr/bin/x2gosetkeyboard: message repeated 27 times: [ Waiting for /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard to appear] 2022-05-31T10:40:39.738193+02:00 butterfield /usr/bin/x2gosetkeyboard: /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard did not appear within 30s after agent startup
I still don't see any obvious culprits but would welcome any pointers...
Regards, Tristan
Tristan Miller
Have you tried with something else but xterm? Does xterm work when starting it via ssh -X?
Uli
On Tue, May 31, 2022 at 10:41 AM Tristan Miller <psychonaut@nothingisreal.com> wrote:
Greetings.
On 30/05/2022 11.27, Tristan Miller wrote:
I've been using X2Go on a pair of openSUSE Tumbleweed systems. I just upgraded both and now I'm no longer able to run a remote application or desktop -- the client successfully connects to the server but then immediately disconnects. Below is output from x2goclient --debug showing me trying to launch a remote xterm. Can anyone suggest what the problem might be or how to troubleshoot further?
Results of some further testing:
The problem seems to happen only when connecting to the server running on openSUSE Tumbleweed. Connecting to a server running on another machine (running openSUSE Leap 15.3) still works.
The problem doesn't seem to have anything to do with the particular account I'm connecting to. I still get the automatic disconnect when logging in as a different user.
Here are the server logs with logging level set to "info":
2022-05-31T10:39:56.310889+02:00 butterfield sshd[12197]: Accepted publickey for psy from 193.171.142.173 port 44850 ssh2: RSA SHA256:GlTL06/Ur8aKEq01wDiI9ghRdgSkXfkDVDsx4qiKNms 2022-05-31T10:39:56.830523+02:00 butterfield /usr/bin/x2gostartagent: x2gostartagent called with options: 800x600 adsl 16m-jpeg-1 unix-kde-depth_24 us auto 1 R xterm both 2022-05-31T10:39:57.019028+02:00 butterfield /usr/bin/x2gosessionlimit[12372]: x2gosessionlimit has been called 2022-05-31T10:39:57.078710+02:00 butterfield /usr/bin/x2golistsessions[12373]: x2golistsessions has been called with options: --all-servers 2022-05-31T10:40:08.013742+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.039863+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.066317+02:00 butterfield /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: psy-1539-1653986406_stRxterm_dp24 pre-start 2022-05-31T10:40:08.111792+02:00 butterfield /usr/bin/x2gostartagent: creating new session: psy-1539-1653986406_stRxterm_dp24 75ac6c60151cfea222f2e9f184f1643b 13277 193.171.142.173 49517 49518 49519 -1 -1 2022-05-31T10:40:08.257567+02:00 butterfield /usr/bin/x2gostartagent: successfully started X2Go Agent session with ID psy-1539-1653986406_stRxterm_dp24 2022-05-31T10:40:08.289281+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.315905+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.342553+02:00 butterfield /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: psy-1539-1653986406_stRxterm_dp24 post-start 2022-05-31T10:40:08.678631+02:00 butterfield /usr/bin/x2goruncommand: x2goruncommand called with options: 1539 13277 psy-1539-1653986406_stRxterm_dp24 49518 /usr/bin/xterm nosnd R 2022-05-31T10:40:08.713913+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GOAGENT_RANDRXINERAMA 2022-05-31T10:40:08.742595+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GOAGENT_RANDRXINERAMA 2022-05-31T10:40:08.769154+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GOAGENT_RANDRXINERAMA 2022-05-31T10:40:08.796058+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features: x2goserver-x2goagent.features called with options: X2GOAGENT_RANDRXINERAMA 2022-05-31T10:40:08.829722+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.856138+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:08.882619+02:00 butterfield /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: psy-1539-1653986406_stRxterm_dp24 pre-runcommand 2022-05-31T10:40:08.930031+02:00 butterfield /usr/bin/x2gosetkeyboard: x2gosetkeyboard called with options: 2022-05-31T10:40:08.934918+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_XSESSION 2022-05-31T10:40:08.950084+02:00 butterfield /usr/bin/x2gosetkeyboard: Waiting for /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard to appear 2022-05-31T10:40:08.961226+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_XSESSION 2022-05-31T10:40:08.988212+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GO_XSESSION 2022-05-31T10:40:09.015186+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features: x2goserver-x2goagent.features called with options: X2GO_XSESSION 2022-05-31T10:40:09.041501+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: x2goserver-xsession.features called with options: X2GO_XSESSION 2022-05-31T10:40:09.900350+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:09.926960+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS 2022-05-31T10:40:09.953654+02:00 butterfield /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: psy-1539-1653986406_stRxterm_dp24 post-runcommand 2022-05-31T10:40:09.970950+02:00 butterfield /usr/bin/x2gosetkeyboard: Waiting for /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard to appear 2022-05-31T10:40:09.986399+02:00 butterfield /usr/bin/x2gofeature: x2gofeature called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.013181+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.029476+02:00 butterfield /usr/bin/x2gocmdexitmessage: x2gocmdexitmessage called with options: psy-1539-1653986406_stRxterm_dp24 2022-05-31T10:40:10.039751+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.063638+02:00 butterfield sshd[12199]: Received disconnect from 193.171.142.173 port 44850:11: Bye Bye 2022-05-31T10:40:10.063741+02:00 butterfield sshd[12199]: Disconnected from user psy 193.171.142.173 port 44850 2022-05-31T10:40:10.067044+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features: x2goserver-x2goagent.features called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.093537+02:00 butterfield /usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: x2goserver-xsession.features called with options: X2GO_DESKTOPSHARING 2022-05-31T10:40:10.268210+02:00 butterfield /usr/bin/x2goumount-session[13747]: x2goumount-session has been called with options: psy-1539-1653986406_stRxterm_dp24 2022-05-31T10:40:10.996277+02:00 butterfield /usr/bin/x2gosetkeyboard: Waiting for /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard to appear 2022-05-31T10:40:38.712469+02:00 butterfield /usr/bin/x2gosetkeyboard: message repeated 27 times: [ Waiting for /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard to appear] 2022-05-31T10:40:39.738193+02:00 butterfield /usr/bin/x2gosetkeyboard: /home/psy/.x2go/C-psy-1539-1653986406_stRxterm_dp24/keyboard did not appear within 30s after agent startup
I still don't see any obvious culprits but would welcome any pointers...
Regards, Tristan
--
Tristan Miller
Free Software developer, ferret herder, logologist https://logological.org/
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Greetings.
On 31/05/2022 10.44, Ulrich Sibiller wrote:
Have you tried with something else but xterm? Does xterm work when starting it via ssh -X?
Yes, I've tried launching other single applications as well (xfce4-terminal, konsole, etc.), as well as entire desktops (such as IceWM) and get the same results. Running applications remotely via ssh -X works fine.
Over the past year or so openSUSE has been gradually "hardening" their distributions (via stricter AppArmor profiles, etc.). I've had several important applications break as a result. Usually it's obvious that this hardening is the cause, and a bug report to openSUSE usually ends up with them either reversing the hardening, or else explaining why the hardening is an appropriate default and then suggesting a workaround. But in this case it's not clear to me that this hardening is the cause of the problem. My latest system update did pull in some updates to openssh but not to x2go (since I use packages I've compiled and packaged myself).
Maybe I should see if it's possible for me to roll back the openssh changes and see if that works around the problem.
Regards, Tristan
Tristan Miller
What about disabling AppArmor temporarily?
From your log it seems the ssh connections are working, they are just closed preliminary. This usually happens when the last client of x2goagent/nxagent exits. Which in turn might point to something (like AppArmor/SELinux stopping xterm from running at all).
Uli
On Tue, May 31, 2022 at 1:32 PM Tristan Miller <psychonaut@nothingisreal.com> wrote:
Greetings.
On 31/05/2022 10.44, Ulrich Sibiller wrote:
Have you tried with something else but xterm? Does xterm work when starting it via ssh -X?
Yes, I've tried launching other single applications as well (xfce4-terminal, konsole, etc.), as well as entire desktops (such as IceWM) and get the same results. Running applications remotely via ssh -X works fine.
Over the past year or so openSUSE has been gradually "hardening" their distributions (via stricter AppArmor profiles, etc.). I've had several important applications break as a result. Usually it's obvious that this hardening is the cause, and a bug report to openSUSE usually ends up with them either reversing the hardening, or else explaining why the hardening is an appropriate default and then suggesting a workaround. But in this case it's not clear to me that this hardening is the cause of the problem. My latest system update did pull in some updates to openssh but not to x2go (since I use packages I've compiled and packaged myself).
Maybe I should see if it's possible for me to roll back the openssh changes and see if that works around the problem.
Regards, Tristan
--
Tristan Miller
Free Software developer, ferret herder, logologist https://logological.org/
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Greetings.
On 31/05/2022 14.12, Ulrich Sibiller wrote:
What about disabling AppArmor temporarily?
From your log it seems the ssh connections are working, they are just closed preliminary. This usually happens when the last client of x2goagent/nxagent exits. Which in turn might point to something (like AppArmor/SELinux stopping xterm from running at all).
I tried disabling AppArmor but that had no effect on the problem.
I also tried building nx-libs, pinentry-x2go, x2goserver, and x2goclient from the latest head commits in the Git repositories. (I'd previously been using versions from last September.) Same problem with these bleeding-edge versions. :(
Regards, Tristan
Tristan Miller
Hmm, next would be you suggestions to downgrade ssh (and/or check what has changed between the old and the new version.
On Tue, May 31, 2022 at 2:45 PM Tristan Miller <psychonaut@nothingisreal.com> wrote:
Greetings.
On 31/05/2022 14.12, Ulrich Sibiller wrote:
What about disabling AppArmor temporarily?
From your log it seems the ssh connections are working, they are just closed preliminary. This usually happens when the last client of x2goagent/nxagent exits. Which in turn might point to something (like AppArmor/SELinux stopping xterm from running at all).
I tried disabling AppArmor but that had no effect on the problem.
I also tried building nx-libs, pinentry-x2go, x2goserver, and x2goclient from the latest head commits in the Git repositories. (I'd previously been using versions from last September.) Same problem with these bleeding-edge versions. :(
Regards, Tristan
--
Tristan Miller
Free Software developer, ferret herder, logologist https://logological.org/
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Greetings.
On 31/05/2022 15.15, Ulrich Sibiller wrote:
Hmm, next would be you suggestions to downgrade ssh (and/or check what has changed between the old and the new version.
It seems the only change to ssh was a minor patch allowing it to read the configuration from /usr/etc/ssh/sshd_config in addition to the usual /etc/ssh/sshd_config. I reverted to the earlier build of openssh but this didn't work around the problem.
Any other ideas what might be forcing the connection closed or how I might get more information?
I did try increasing the log level of sshd but there was nothing obvious in the messages. One thing I could try is to revert my root partition to an earlier snapshot (i.e., one where X2Go works) and then try upgrading certain suspicious packages (openssh, libssh, pam, apparmor, etc.) one at a time until I find the culprit. However, that might take a lot of time.
Regards, Tristan
Tristan Miller
Just to be sure: you see a successful session establishment in the sahd log?
Uli
Tristan Miller <psychonaut@nothingisreal.com> schrieb am Mi., 1. Juni 2022, 13:07:
Greetings.
On 31/05/2022 15.15, Ulrich Sibiller wrote:
Hmm, next would be you suggestions to downgrade ssh (and/or check what has changed between the old and the new version.
It seems the only change to ssh was a minor patch allowing it to read the configuration from /usr/etc/ssh/sshd_config in addition to the usual /etc/ssh/sshd_config. I reverted to the earlier build of openssh but this didn't work around the problem.
Any other ideas what might be forcing the connection closed or how I might get more information?
I did try increasing the log level of sshd but there was nothing obvious in the messages. One thing I could try is to revert my root partition to an earlier snapshot (i.e., one where X2Go works) and then try upgrading certain suspicious packages (openssh, libssh, pam, apparmor, etc.) one at a time until I find the culprit. However, that might take a lot of time.
Regards, Tristan
--
Tristan Miller
Free Software developer, ferret herder, logologist https://logological.org/
x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Greetings.
On 01/06/2022 16.17, Ulrich Sibiller wrote:
Just to be sure: you see a successful session establishment in the sahd log?
Here's the sshd log (at the VERBOSE level) when I make an X2Go connection. Does it seem OK to you? (I'm not sure if all those starting/close session lines are normal.)
Regards, Tristan
2022-06-01T16:39:45.979092+02:00 butterfield sshd[10831]: Connection from 193.171.142.173 port 35822 on 192.168.0.103 port 22 rdomain "" 2022-06-01T16:39:46.050523+02:00 butterfield sshd[10831]: Accepted key RSA SHA256:GlTL06/Ur8aKEq01wDiI9ghRdgSkXfkDVDsx4qiKNms found at /home/psy/.ssh/authorized_keys:2 2022-06-01T16:39:46.053218+02:00 butterfield sshd[10831]: Postponed publickey for psy from 193.171.142.173 port 35822 ssh2 [preauth] 2022-06-01T16:39:46.065854+02:00 butterfield sshd[10831]: Accepted key RSA SHA256:GlTL06/Ur8aKEq01wDiI9ghRdgSkXfkDVDsx4qiKNms found at /home/psy/.ssh/authorized_keys:2 2022-06-01T16:39:46.066738+02:00 butterfield sshd[10831]: Accepted publickey for psy from 193.171.142.173 port 35822 ssh2: RSA SHA256:GlTL06/Ur8aKEq01wDiI9ghRdgSkXfkDVDsx4qiKNms 2022-06-01T16:39:46.076686+02:00 butterfield sshd[10831]: User child is on pid 10833 2022-06-01T16:39:46.209160+02:00 butterfield sshd[10833]: Starting session: command on pts/1 for psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:46.337752+02:00 butterfield sshd[10833]: Close session: user psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:46.349310+02:00 butterfield sshd[10833]: Starting session: command for psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:46.635500+02:00 butterfield sshd[10833]: Close session: user psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:46.647578+02:00 butterfield sshd[10833]: Starting session: command for psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:48.805094+02:00 butterfield /usr/bin/x2gostartagent: successfully started X2Go Agent session with ID psy-96-1654094387_stRxterm_dp24 2022-06-01T16:39:48.905901+02:00 butterfield sshd[10833]: Close session: user psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:49.090855+02:00 butterfield sshd[10833]: Starting session: command for psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:49.152872+02:00 butterfield sshd[10833]: Close session: user psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:49.185325+02:00 butterfield sshd[10833]: Starting session: command for psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:49.329137+02:00 butterfield sshd[10833]: Close session: user psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:50.498769+02:00 butterfield sshd[10833]: Starting session: command for psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:50.590949+02:00 butterfield sshd[10833]: Close session: user psy from 193.171.142.173 port 35822 id 0 2022-06-01T16:39:50.591557+02:00 butterfield sshd[10833]: Received disconnect from 193.171.142.173 port 35822:11: Bye Bye 2022-06-01T16:39:50.591728+02:00 butterfield sshd[10833]: Disconnected from user psy 193.171.142.173 port 35822
Tristan Miller
Greetings.
On 01/06/2022 16.41, Tristan Miller wrote:
On 01/06/2022 16.17, Ulrich Sibiller wrote:
Just to be sure: you see a successful session establishment in the sahd log?
Here's the sshd log (at the VERBOSE level) when I make an X2Go connection. Does it seem OK to you? (I'm not sure if all those starting/close session lines are normal.)
Still getting plagued by immediate disconnects, and so I did some more testing by adding "set -x" to my $HOME/.bashrc and redirecting stderr to a file. I can now see that the ssh connections seem to be fine, insofar as x2goclient is successfully connecting to the x2goserver machine, running all its shell scripts, and invoking the command to launch the remote application. It's only the remote application itself which fails to run, and only when that remote application is a graphical application. (Running headless shell scripts works fine, as long as they don't try to launch something on the X display.)
Formerly I had x2goclient set to run the command /usr/bin/xterm on the remote machine. Instead I've set it to run the remote command $HOME/bin/hello, which is the following shell script:
#!/bin/sh /usr/bin/xterm >&/tmp/xterm.errors
The contents of /tmp/xterm.errors after connecting with x2goclient are as follows:
xterm: Xt error: Can't open display: :153
So any idea what the cause might be?
Regards, Tristan
Tristan Miller