Hi,
I’m using X2Go daily for years now. Today, while using a session, X2go crashed and that’s where it all started. Server is a Centos 7 using XFCE and client is a Mac. 90% of the times a crash happens (rarely), I can resume the session and 10% I have to start a new one. This time it was different and started my ordeal: When trying to reconnect, I got a dbus error (failed to connect to socket, dbus connection refused). Still got some sort of session but windows were all over the place and was unusable. Reinstalled dbus, x2go and removed .x2go from client and server, as well .cache. Reinstalled xfce, removed xfce, and installed MATE. All these did not happen in one go. A trillion of step by step trials and errors (practically only errors) Now, I can connect to MATE via ssh X11 (XQuartz). It works. However, X2go refuses to connect with: Agent Terminated Unexpectedly. Aborting Session Startup Log files are not very informative, since not much seem to be happening (at least to me). I’ve incorporated the debut logging, server-side, while –debug in the client shows the following: x2go-INFO-1> "Starting X2Go Client 4.1.2.1..." x2go-WARNING-1> English language requested, not loading translator. x2go-WARNING-1> English language requested, not loading translator. Object::connect: No such slot ONMainWindow::slotCheckAgentProcess() x2go-INFO-3> "Started X2Go Client." x2go-DEBUG-../src/onmainwindow.cpp:563> "$HOME=/Users/USER" x2go-DEBUG-../src/onmainwindow.cpp:2242> Reading 2 sessions from config file. x2go-DEBUG-../src/sessionbutton.cpp:342> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png". x2go-DEBUG-../src/sessionbutton.cpp:342> Creating QPixmap with session icon: ":/img/icons/128x128/x2gosession.png". x2go-DEBUG-../src/onmainwindow.cpp:12843> libssh not initialized yet. Initializing. x2go-DEBUG-../src/x2goutils.cpp:219> path value at beginning: "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin" x2go-DEBUG-../src/x2goutils.cpp:242> tmp_clean_add: ("/usr/local/bin") x2go-DEBUG-../src/x2goutils.cpp:270> clean_add: ("/usr/local/bin") x2go-DEBUG-../src/x2goutils.cpp:291> found entry i (0) in orig_path_list ("/usr/local/bin"): true x2go-DEBUG-../src/x2goutils.cpp:309> return value at end: "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin" x2go-DEBUG-../src/x2goutils.cpp:219> path value at beginning: "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin" x2go-DEBUG-../src/x2goutils.cpp:242> tmp_clean_add: ("/opt/local//bin") x2go-DEBUG-../src/x2goutils.cpp:270> clean_add: ("/opt/local//bin") x2go-DEBUG-../src/x2goutils.cpp:291> found entry i (0) in orig_path_list ("/opt/local//bin"): false x2go-DEBUG-../src/x2goutils.cpp:309> return value at end: "/opt/local//bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin" x2go-DEBUG-../src/pulsemanager.cpp:131> Found PA binary as "/Applications/x2goclient.app/Contents/exe/pulseaudio" x2go-DEBUG-../src/pulsemanager.cpp:132> Corresponding working dir: "/Applications/x2goclient.app/Contents/exe" x2go-DEBUG-../src/pulsemanager.cpp:369> pulseaudio --version returned:"pulseaudio 11.1-rebootstrapped " x2go-DEBUG-../src/pulsemanager.cpp:227> pulse started with arguments ("--exit-idle-time=-1", "-n", "-F", "/Users/USER/.x2go/pulse/config.pa", "-p", "/Applications/x2goclient.app/Contents/Frameworks/pulse-11.1/modules", "--high-priority", "--log-level=debug", "--verbose", "--log-target=file:/Users/USER/.x2go/pulse/pulse.log") - waiting for it to finish... WARNING: failed to kill process group '6786': No such process x2go-DEBUG-../src/onmainwindow.cpp:2728> Creating QPixmap with session icon: '":/img/icons/128x128/x2gosession.png"'. x2go-DEBUG-../src/onmainwindow.cpp:6425> Setting focus. x2go-INFO-8> "Starting connection to server: server.address.net:22" x2go-DEBUG-../src/onmainwindow.cpp:2829> Starting new ssh connection to server:" server.address.net ":"22" krbLogin: false x2go-DEBUG-../src/sshmasterconnection.cpp:175> SshMasterConnection, host " server.address.net "; port 22; user "user"; useproxy true; proxyserver "proxy.address.net"; proxyport 1234 x2go-DEBUG-../src/sshmasterconnection.cpp:248> Starting SSH connection without Kerberos authentication. x2go-DEBUG-../src/sshmasterconnection.cpp:252> SshMasterConnection, instance SshMasterConnection(0x7fd7791cd2f0) created. x2go-DEBUG-../src/sshmasterconnection.cpp:520> SshMasterConnection, instance SshMasterConnection(0x7fd7791cd2f0) entering thread. x2go-DEBUG-../src/sshmasterconnection.cpp:524> proxyserver: "proxy.address.net"; proxyport: 1234; proxylogin: "user" x2go-DEBUG-../src/sshmasterconnection.cpp:175> SshMasterConnection, host "proxy.address.net"; port 1234; user "user"; useproxy false; proxyserver ""; proxyport 0 x2go-DEBUG-../src/sshmasterconnection.cpp:248> Starting SSH connection without Kerberos authentication. x2go-DEBUG-../src/sshmasterconnection.cpp:252> SshMasterConnection, instance SshMasterConnection(0x7fd777c3d900) created. x2go-DEBUG-../src/sshmasterconnection.cpp:520> SshMasterConnection, instance SshMasterConnection(0x7fd777c3d900) entering thread. x2go-DEBUG-../src/sshmasterconnection.cpp:840> Session port before config file parse: 1234 x2go-DEBUG-../src/sshmasterconnection.cpp:850> Session port after config file parse: 1234 x2go-DEBUG-../src/sshmasterconnection.cpp:915> Session port before config file parse (part 2): 1234 x2go-DEBUG-../src/sshmasterconnection.cpp:925> Session port after config file parse (part 2): 1234 x2go-DEBUG-../src/sshmasterconnection.cpp:950> cserverAuth x2go-DEBUG-../src/sshmasterconnection.cpp:991> state: 1 x2go-DEBUG-../src/sshmasterconnection.cpp:1274> Trying password mechanism if available. x2go-DEBUG-../src/sshmasterconnection.cpp:1278> Password mechanism available. Continuing. x2go-DEBUG-../src/sshmasterconnection.cpp:726> User authentication OK. x2go-DEBUG-../src/sshmasterconnection.cpp:1789> LOGIN CHECK:"LOGIN OK " x2go-DEBUG-../src/sshmasterconnection.cpp:1792> don't have interaction x2go-DEBUG-../src/sshmasterconnection.cpp:1825> LOOP FINISHED x2go-DEBUG-../src/sshmasterconnection.cpp:1829> No interaction needed, continue session x2go-DEBUG-../src/sshmasterconnection.cpp:735> Login Check - OK x2go-DEBUG-../src/sshmasterconnection.cpp:260> SSH proxy connected. x2go-DEBUG-../src/sshprocess.cpp:381> Starting tunnel via SshProcess object 0: "server.address.net":22 -> "127.0.0.1":44444 x2go-DEBUG-../src/sshmasterconnection.cpp:498> SSH proxy tunnel established. x2go-DEBUG-../src/sshprocess.cpp:157> Direct tunnel: waiting for connections on "127.0.0.1":44444 x2go-DEBUG-../src/sshmasterconnection.cpp:840> Session port before config file parse: 44444 x2go-DEBUG-../src/sshmasterconnection.cpp:850> Session port after config file parse: 44444 x2go-DEBUG-../src/sshprocess.cpp:109> New TCP connection. x2go-DEBUG-../src/sshprocess.cpp:114> New socket: 28 x2go-DEBUG-../src/sshmasterconnection.cpp:2083> Creating new channel. x2go-DEBUG-../src/sshmasterconnection.cpp:2100> New channel:0x7fd777de7e90 x2go-DEBUG-../src/sshmasterconnection.cpp:2106> Forwarding parameters: from remote ("server.address.net":22) to local ("127.0.0.1":54540) x2go-DEBUG-../src/sshmasterconnection.cpp:2143> Temporary session port after config file parse: 22 x2go-DEBUG-../src/sshmasterconnection.cpp:2147> Temporary session host after config file parse: server.address.net x2go-DEBUG-../src/sshmasterconnection.cpp:2177> New channel forwarded. x2go-DEBUG-../src/sshmasterconnection.cpp:861> Connected via proxy, resetting connection values on session to server.address.net:22 x2go-DEBUG-../src/sshmasterconnection.cpp:915> Session port before config file parse (part 2): 22 x2go-DEBUG-../src/sshmasterconnection.cpp:925> Session port after config file parse (part 2): 22 x2go-DEBUG-../src/sshmasterconnection.cpp:950> cserverAuth x2go-DEBUG-../src/sshmasterconnection.cpp:991> state: 1 x2go-DEBUG-../src/sshmasterconnection.cpp:1274> Trying password mechanism if available. x2go-DEBUG-../src/sshmasterconnection.cpp:1278> Password mechanism available. Continuing. x2go-DEBUG-../src/sshmasterconnection.cpp:726> User authentication OK. x2go-DEBUG-../src/sshmasterconnection.cpp:1789> LOGIN CHECK:"LOGIN OK " x2go-DEBUG-../src/sshmasterconnection.cpp:1792> don't have interaction x2go-DEBUG-../src/sshmasterconnection.cpp:1825> LOOP FINISHED x2go-DEBUG-../src/sshmasterconnection.cpp:1829> No interaction needed, continue session x2go-DEBUG-../src/sshmasterconnection.cpp:735> Login Check - OK x2go-DEBUG-../src/onmainwindow.cpp:2923> SSH connection established. x2go-DEBUG-../src/onmainwindow.cpp:3336> 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(0x7fd777e90040) Running masterCon->addChannelConnection(this, ' "1333d190-9a79-45cf-81b6-628b053bd257" ', ' "bash -l -c 'echo "X2GODATABEGIN:1333d190-9a79-45cf-81b6-628b053bd257"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2golistsessions; echo "X2GODATAEND:1333d190-9a79-45cf-81b6-628b05" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1891> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1893> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1895> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2083> Creating new channel. x2go-DEBUG-../src/sshmasterconnection.cpp:2100> New channel:0x7fd7794799b0 x2go-DEBUG-../src/sshmasterconnection.cpp:2185> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:1333d190-9a79-45cf-81b6-628b053bd257"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2golistsessions; echo "X2GODATAEND:1333d190-9a79-45cf-81b6-628b053bd257";'" x2go-DEBUG-../src/sshmasterconnection.cpp:2208> New exec channel created. x2go-DEBUG-../src/sshmasterconnection.cpp:2312> EOF on channel 0x7fd7794799b0; SshProcess object: 0 x2go-DEBUG-../src/sshmasterconnection.cpp:2380> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2384> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:526> SSH finished: raw output (stdout): "X2GODATABEGIN:1333d190-9a79-45cf-81b6-628b053bd257 X2GODATAEND:1333d190-9a79-45cf-81b6-628b053bd257 " x2go-DEBUG-../src/sshprocess.cpp:537> SSH finished: true - "" (0). x2go-DEBUG-../src/onmainwindow.cpp:3804> "" x2go-DEBUG-../src/onmainwindow.cpp:4379> Executing remote command: "X2GODPI=72 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-9 unix-kde-depth_32 us query 0 D MATE both" x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via SshProcess object 1: "X2GODPI=72 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-9 unix-kde-depth_32 us query 0 D MATE both" x2go-DEBUG-../src/sshprocess.cpp:213> this=SshProcess(0x7fd7791cb710) Running masterCon->addChannelConnection(this, ' "2283d650-42e3-4f90-b650-75e02204fb88" ', ' "bash -l -c 'echo "X2GODATABEGIN:2283d650-42e3-4f90-b650-75e02204fb88"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; X2GODPI=72 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-9" '); x2go-DEBUG-../src/sshmasterconnection.cpp:1891> Locking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:1893> Passing new channel connection object to channelConnections. x2go-DEBUG-../src/sshmasterconnection.cpp:1895> Unlocking SSH channel connection MUTEX. x2go-DEBUG-../src/sshmasterconnection.cpp:2083> Creating new channel. x2go-DEBUG-../src/sshmasterconnection.cpp:2100> New channel:0x7fd7791d3130 x2go-DEBUG-../src/sshmasterconnection.cpp:2185> Executing remote: "bash -l -c 'echo "X2GODATABEGIN:2283d650-42e3-4f90-b650-75e02204fb88"; export PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; X2GODPI=72 X2GO_XINERAMA=no x2gostartagent 800x600 adsl 16m-jpeg-9 unix-kde-depth_32 us query 0 D MATE both; echo "X2GODATAEND:2283d650-42e3-4f90-b650-75e02204fb88";'" x2go-DEBUG-../src/sshmasterconnection.cpp:2208> New exec channel created. x2go-DEBUG-../src/sshmasterconnection.cpp:2312> EOF on channel 0x7fd7791d3130; SshProcess object: 1 x2go-DEBUG-../src/sshmasterconnection.cpp:2380> EOF sent. x2go-DEBUG-../src/sshmasterconnection.cpp:2384> Channel closed. x2go-DEBUG-../src/sshprocess.cpp:526> SSH finished: raw output (stdout): "X2GODATABEGIN:2283d650-42e3-4f90-b650-75e02204fb88 X2GODATAEND:2283d650-42e3-4f90-b650-75e02204fb88 " x2go-DEBUG-../src/sshprocess.cpp:532> Have stderr only, something must be wrong. x2go-DEBUG-../src/sshprocess.cpp:537> SSH finished: false - "Failed to start X2Go Agent session with ID user-50-1551738353_stDMATE_dp32. X2Go Agent terminated unexpectedly. Aborting session startup. " (1). x2go-DEBUG-../src/onmainwindow.cpp:5214> Agent output: "Failed to start X2Go Agent session with ID user-50-1551738353_stDMATE_dp32. X2Go Agent terminated unexpectedly. Aborting session startup. " 2019-03-04 17:25:58.855 x2goclient[7115:143542] modalSession has been exited prematurely - check for a reentrant call to endModalSession: x2go-DEBUG-../src/onmainwindow.cpp:6425> Setting focus. My .bashrc and .bash_profile do not output anything that might give rise also to the “Have stderr only, something must be wrong”. Other things that might be interesting: The user session folder seems to be created properly and populated with all the relevant files: keyboard options session.log sshd.pid state Everything is owned by the user and I don’t seem to be able to find any permission issues. The session.log is rather interesting running as X2Go Agent running as X2Go Agent running as X2Go Agent running as X2Go Agent running as X2Go Agent running as X2Go Agent running as X2Go Agent running as X2Go Agent NXAGENT - Version 3.5.99.17 Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com) Copyright (c) 2008-2014 Oleksandr Shneyder <o.shney...@phoca-gmbh.de> Copyright (c) 2011-2016 Mike Gabriel <mike.gabr...@das-netzwerkteam.de> Copyright (c) 2014-2016 Ulrich Sibiller <ul...@gmx.de> Copyright (c) 2014-2016 Mihai Moldovan <io...@ionic.de> Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com) See https://github.com/ArcticaProject/nx-libs for more information. Info: Agent running with pid '59135'. Session: Starting session at 'Mon Mar 4 17:25:55 2019'. Error: Aborting session with 'Unable to open display 'nx/nx,options=/tmp/.x2go-user/C-user-50-1551738353_stDMATE_dp32/options:50''. Session: Aborting session at 'Mon Mar 4 17:25:55 2019'. Session: Session aborted at 'Mon Mar 4 17:25:55 2019'. Any ideas would be more than welcome. Thank you
_______________________________________________ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user