<div dir="ltr"><div>Hi,</div><div><br></div><div>I've recently been trying to use X2go to connect to a Rpi3 running the latest ubuntu mate 17.10</div><div>This seems to work when selecting xfce or a new session</div><div>but doesn't work when trying to connect to the local desktop (which is already logged in)</div><div>I even tried installing / running x2godesktopsharing on the server side then enabling shared desktop, but that didn't have any affect (I think that's only needed for different users normally)</div><div><br></div><div>  * client - Windows 10 / latest X2go client 4.1.0.0</div><div>  * server - Rpi3 / Ubuntu Mate / latest x2goserver  4.0.1.22-0~1197~ubuntu17.10.1</div><div><br></div><div>It just seems to jump out with the following message on the client</div><div>"The connection with the remote server was shut down. Please check the state of your network connection"</div><div><br></div><div>  * I was able to rule out the client as the problem by connecting from windows to a x64 gentoo vm / local desktop vm which worked fine on the local desktop setting (same version 4.0.1.22 server)</div><div>  * I also tried connecting from a linux client to the rpi but with same results</div><div>  * For the rpi as the server, this only seems to affect connections to the local desktop, connections using a new session in the drop down work okay</div><div><br></div><div>Logs attached below</div><div>any ideas on how to get this going?</div><div>one difference I've spotted with a working setup is the message "state file for this session does not exist" in the server logs</div><div><br></div><div>client log:</div><div><br></div><div>NXPROXY - Version 3.5.0</div><div><br></div><div>Copyright (C) 2001, 2010 NoMachine.</div><div>See <a href="http://www.nomachine.com/">http://www.nomachine.com/</a> for more information.</div><div><br></div><div>Info: Proxy running in client mode with pid '6540'.</div><div>Session: Starting session at 'Wed Jan 17 19:28:20 2018'.</div><div>Info: Connecting to remote host 'localhost:62654'.</div><div>Info: Connection to remote proxy 'localhost:62654' established.</div><div>Info: Connection with remote proxy completed.</div><div>Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.</div><div>Warning: Failed to read data from the X auth command.</div><div>Warning: Generated a fake cookie for X authentication.</div><div>Info: Using ADSL link parameters 512/24/1/0.</div><div>Info: Using cache parameters 4/4096KB/8192KB/8192KB.</div><div>Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'.</div><div>Info: Using ZLIB data compression 1/1/32.</div><div>Info: Using ZLIB stream compression 4/4.</div><div>Info: No suitable cache file found.</div><div>Info: Forwarding X11 connections to display 'localhost:0'.</div><div>Session: Session started at 'Wed Jan 17 19:28:20 2018'.</div><div>Info: Established X server connection.</div><div>Info: Using shared memory parameters 0/0K.</div><div>Session: Terminating session at 'Wed Jan 17 19:32:30 2018'.</div><div>Session: Session terminated at 'Wed Jan 17 19:32:30 2018'.</div><div><br></div><div>NXPROXY - Version 3.5.0</div><div><br></div><div>Copyright (C) 2001, 2010 NoMachine.</div><div>See <a href="http://www.nomachine.com/">http://www.nomachine.com/</a> for more information.</div><div><br></div><div>Info: Proxy running in client mode with pid '11024'.</div><div>Session: Starting session at 'Wed Jan 17 19:34:34 2018'.</div><div>Info: Connecting to remote host 'localhost:46131'.</div><div>Info: Connection to remote proxy 'localhost:46131' established.</div><div>Info: Connection with remote proxy completed.</div><div>Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.</div><div>Warning: Failed to read data from the X auth command.</div><div>Warning: Generated a fake cookie for X authentication.</div><div>Info: Using ADSL link parameters 512/24/1/0.</div><div>Info: Using cache parameters 4/4096KB/8192KB/8192KB.</div><div>Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'.</div><div>Info: Using ZLIB data compression 1/1/32.</div><div>Info: Using ZLIB stream compression 4/4.</div><div>Info: No suitable cache file found.</div><div>Info: Forwarding X11 connections to display 'localhost:0'.</div><div>Session: Session started at 'Wed Jan 17 19:34:34 2018'.</div><div>Info: Established X server connection.</div><div>Info: Using shared memory parameters 0/0K.</div><div>Error: Failure reading from the peer proxy.</div><div>Error: Connection with remote peer broken.</div><div>Error: Please check the state of your network and retry.</div><div>Session: Terminating session at 'Wed Jan 17 19:34:34 2018'.</div><div>Session: Session terminated at 'Wed Jan 17 19:34:34 2018'.</div><div><br></div><div>NXPROXY - Version 3.5.0</div><div><br></div><div>Copyright (C) 2001, 2010 NoMachine.</div><div>See <a href="http://www.nomachine.com/">http://www.nomachine.com/</a> for more information.</div><div><br></div><div>Info: Proxy running in client mode with pid '13288'.</div><div>Session: Starting session at 'Wed Jan 17 19:50:31 2018'.</div><div>Info: Connecting to remote host 'localhost:58149'.</div><div>Info: Connection to remote proxy 'localhost:58149' established.</div><div>Info: Connection with remote proxy completed.</div><div>Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.</div><div>Warning: Failed to read data from the X auth command.</div><div>Warning: Generated a fake cookie for X authentication.</div><div>Info: Using ADSL link parameters 512/24/1/0.</div><div>Info: Using cache paramError: Failure reading from the peer proxy.</div><div>Error: Connection with remote peer broken.</div><div>Error: Please check the state of your network and retry.</div><div>Session: Terminating session at 'Wed Jan 17 19:50:32 2018'.</div><div>Session: Session terminated at 'Wed Jan 17 19:50:32 2018'.</div><div>eters 4/4096KB/8192KB/8192KB.</div><div>Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'.</div><div>Info: Using ZLIB data compression 1/1/32.</div><div>Info: Using ZLIB stream compression 4/4.</div><div>Info: No suitable cache file found.</div><div>Info: Forwarding X11 connections to display 'localhost:0'.</div><div>Session: Session started at 'Wed Jan 17 19:50:31 2018'.</div><div>Info: Established X server connection.</div><div>Info: Using shared memory parameters 0/0K.</div><div><br></div><div>Server:</div><div><br></div><div>Jan 17 19:34:18 NeilBreen /usr/bin/x2golistdesktops[5343]: x2golistdesktops has been called without options</div><div>Jan 17 19:34:19 NeilBreen /usr/bin/x2golistsessions[5349]: x2golistsessions has been called with options: x2goserver</div><div>Jan 17 19:34:24 NeilBreen /usr/bin/x2gostartagent: x2gostartagent called with options: 1280x1024 adsl 16m-jpeg-9 unix-kde-depth_32 us auto 1 S 1XSHADhacmanXSHAD:0</div><div>Jan 17 19:34:24 NeilBreen /usr/bin/x2gostartagent: SSH port randomization requested.</div><div>Jan 17 19:34:25 NeilBreen /usr/bin/x2gostartagent: client announced itself as ,,172.16.0.83''</div><div>Jan 17 19:34:25 NeilBreen /usr/bin/x2gostartagent: shadow session requested: mode 1, user: hacman, desktop: :0</div><div>Jan 17 19:34:25 NeilBreen /usr/bin/x2gosessionlimit[5420]: x2gosessionlimit has been called</div><div>Jan 17 19:34:25 NeilBreen /usr/bin/x2golistsessions[5423]: x2golistsessions has been called with options: --all-servers</div><div>Jan 17 19:34:26 NeilBreen /usr/lib/x2go/x2gogetdisplays[5450]: db_getdisplays called, server: NeilBreen; return value:</div><div>Jan 17 19:34:27 NeilBreen /usr/lib/x2go/x2gogetports[5459]: db_getports called, server: NeilBreen; return value:</div><div>Jan 17 19:34:28 NeilBreen /usr/lib/x2go/x2goinsertsession[5480]: db_insertsession called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, server: NeilBreen, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32</div><div>Jan 17 19:34:28 NeilBreen /usr/lib/x2go/x2gogetports[5489]: db_getports called, server: NeilBreen; return value:</div><div>Jan 17 19:34:29 NeilBreen /usr/lib/x2go/x2goinsertport[5512]: db_insertport called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, server: NeilBreen, SSH port: 45131</div><div>Jan 17 19:34:29 NeilBreen /usr/lib/x2go/x2gogetstatus[5513]: db_getstatus called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, return value: R</div><div>Jan 17 19:34:29 NeilBreen /usr/sbin/x2gocleansessions[15746]: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32: state file for this session does not exist: /tmp/.x2go-hacman/C-hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32/state (this can be ignored during session startups)</div><div>Jan 17 19:34:30 NeilBreen /usr/lib/x2go/x2gogetports[5529]: db_getports called, server: NeilBreen; return value: |45131|</div><div>Jan 17 19:34:30 NeilBreen /usr/lib/x2go/x2goinsertport[5543]: db_insertport called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, server: NeilBreen, SSH port: 45132</div><div>Jan 17 19:34:31 NeilBreen /usr/lib/x2go/x2gogetports[5552]: db_getports called, server: NeilBreen; return value: |45131| |45132|</div><div>Jan 17 19:34:32 NeilBreen /usr/lib/x2go/x2goinsertport[5566]: db_insertport called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, server: NeilBreen, SSH port: 45133</div><div>Jan 17 19:34:32 NeilBreen /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS</div><div>Jan 17 19:34:32 NeilBreen /usr/share/x2go/x2gofeature.d/x2godesktopsharing.features: x2godesktopsharing.features called with options: X2GO_RUN_EXTENSIONS</div><div>Jan 17 19:34:32 NeilBreen /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS</div><div>Jan 17 19:34:32 NeilBreen /usr/lib/x2go/x2gogetstatus[5609]: db_getstatus called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, return value: R</div><div>Jan 17 19:34:32 NeilBreen /usr/sbin/x2gocleansessions[15746]: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32: state file for this session does not exist: /tmp/.x2go-hacman/C-hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32/state (this can be ignored during session startups)</div><div>Jan 17 19:34:32 NeilBreen /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32 pre-start</div><div>Jan 17 19:34:33 NeilBreen /usr/bin/x2gostartagent: started nxagent: NX_TEMP=/tmp x2goagent X2GO_NXAGENT_OPTIONS (' -extension XFIXES -nolisten tcp') NOLISTOPT ('-nolisten tcp') X2GODPIOPTION_ ('-dpi 96') -SESSION_TYPE ('-S') -auth "XAUTHORITY" ('"/home/hacman/.Xauthority"') -shadow SHADOW_DESKTOP (':0') -shadowmode SHADOW_MODE ('1') agent_geometry ('-geometry 1280x1024+0+0') -name "SESSION_WINDOW_TITLE" ('"X2GO-hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32"') "NX_AGENT" ('":50"') 2>"SESSION_LOG" ('"/tmp/.x2go-hacman/C-hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32/session.log"') &</div><div>Jan 17 19:34:33 NeilBreen /usr/bin/x2gostartagent: successfully started X2Go agent session with ID hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32</div><div>Jan 17 19:34:33 NeilBreen /usr/bin/x2gofeature: x2gofeature called with options: X2GO_RUN_EXTENSIONS</div><div>Jan 17 19:34:33 NeilBreen /usr/share/x2go/x2gofeature.d/x2godesktopsharing.features: x2godesktopsharing.features called with options: X2GO_RUN_EXTENSIONS</div><div>Jan 17 19:34:33 NeilBreen /usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS</div><div>Jan 17 19:34:34 NeilBreen /usr/bin/x2goserver-run-extensions: x2goserver-run-extensions called with options: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32 post-start</div><div>Jan 17 19:34:34 NeilBreen /usr/lib/x2go/x2gocreatesession[5688]: db_createsession called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, cookie: be9d9e18c9184944fa1fcfa4d84e808f, client: 172.16.0.83, pid: 5648, graphics port: 45131, sound port: 45132, file sharing port: 45133</div><div>Jan 17 19:34:36 NeilBreen /usr/lib/x2go/x2gogetstatus[5705]: db_getstatus called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, return value: R</div><div>Jan 17 19:34:39 NeilBreen /usr/lib/x2go/x2gogetstatus[5728]: db_getstatus called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, return value: R</div><div>Jan 17 19:34:42 NeilBreen /usr/lib/x2go/x2gogetstatus[5747]: db_getstatus called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, return value: R</div><div>Jan 17 19:34:46 NeilBreen /usr/lib/x2go/x2gogetstatus[5764]: db_getstatus called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, return value: R</div><div>Jan 17 19:34:49 NeilBreen /usr/lib/x2go/x2gogetstatus[5781]: db_getstatus called, session ID: hacman-50-1516217667_stS1XSHADhacmanXSHADPP0_dp32, return value: R</div><div><br></div><div>Many Thanks</div><div>Richard</div></div>