Subject: Re: [X2Go-Dev] Bug#1577: gnome-Terminal not working on RHEL8

From: Mike Gabriel <[email-masked]>
Date: Tue, 21 Dec 2021 16:58:48 +0000

On  Di 21 Dez 2021 15:03:33 CET, Ulrich Sibiller wrote:

> Package: x2goserver
> Version: 4.1.0.3-9
>
> If you configure a standard session in x2goclient and set the session
> type to "Terminal" ("Eingabeaufforderung" in German) the session will
> start and automatically terminate shortly after.
>
> This is because when selecting "Terminal" the command to run is
> determined at server side and normally "gnome-terminal" will be
> selected. But gnome-terminal on RHEL8 will fork and x2go then goes on
> assuming session end because of the last (only) client having ended.
>
> Workaround: configure "/usr/bin/dbus-launch /usr/bin/gnome-terminal
> --wait" instead of "Terminal" in the x2go session configuration.

dbus-launch is a deprecated tool and should probably be replaced by  
dbus-run-session.

In fact, maybe we should put that as a command for the GNOME terminal  
startup in /usr/bin/x2goruncommand?

@Uli: can you test that?

Mike
-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email-masked], http://das-netzwerkteam.de