Re: [X2Go-User] x2go immediately disconnects after connection

2022-05-31 Thread 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: 

Re: [X2Go-User] x2go immediately disconnects after connection

2022-05-31 Thread Ulrich Sibiller
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
 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: 

Re: [X2Go-User] x2go immediately disconnects after connection

2022-05-31 Thread Tristan Miller

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


Re: [X2Go-User] x2go immediately disconnects after connection

2022-05-31 Thread Ulrich Sibiller
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
 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
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] x2go immediately disconnects after connection

2022-05-31 Thread Tristan Miller

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


Re: [X2Go-User] x2go immediately disconnects after connection

2022-05-31 Thread Ulrich Sibiller
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
 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
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user