[X2Go-User] x2go immediately disconnects after connection

Tristan Miller psychonaut at nothingisreal.com
Thu Sep 8 13:02:19 CEST 2022


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
Free Software developer, ferret herder, logologist
              https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-





More information about the x2go-user mailing list