X2Go Bug report logs - #1577
gnome-Terminal not working on RHEL8

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Ulrich Sibiller <uli42@gmx.de>

Date: Tue, 21 Dec 2021 14:05:02 UTC

Severity: normal

Found in version 4.1.0.3-9

Full log


Message #15 received at 1577@bugs.x2go.org (full text, mbox, reply):

Received: (at 1577) by bugs.x2go.org; 21 Dec 2021 17:35:22 +0000
From ulrich.sibiller@gmail.com  Tue Dec 21 18:35:19 2021
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham
	autolearn_force=no version=3.4.2
Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id CE9BF5DAF8
	for <1577@bugs.x2go.org>; Tue, 21 Dec 2021 18:35:16 +0100 (CET)
Received: by mail-yb1-f171.google.com with SMTP id f9so40926692ybq.10
        for <1577@bugs.x2go.org>; Tue, 21 Dec 2021 09:35:16 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:content-transfer-encoding;
        bh=gPE4G8cmjKI7HEK6142AzDiMxuUnBOPzlyfr/8m2Hfo=;
        b=6zfJmhUQxKLuSoYoiBMW2nKgXAoXu45EuMwc1ZtaNBDp9XDI4mccp/WCvfbuxWz6aE
         7uvirRzQlgo1r0QbZ9pt05PypENH2NHBzHHyNyRT0caDZiLG1RmPdrXxLNTtfduYI9YQ
         qmErVAjUJmKarUjL+9VYbBVCSO2eaX21T3Q7bdh6raSBZUSiGo/FxFye/x+h/9KhH0Iw
         oCZ3jqbbaFORJqBCUd14T3cJNdbOaDD+q6R3bCSIMiz43xanDy+Er3MNoQV8hjrsN+gt
         kZrH2tbd2xB3wyzLDBvmxolZUlu1bQaxGcol3u4AEG1UVD81mmM8COGNiUrKr7QlbNH7
         sQEw==
X-Gm-Message-State: AOAM531QhsSlONfPV7zDIMDr4rTkGWkb+sNvQI721Lb+7Px+kyvDGZl4
	uRfryGoMhZzzpGFwADd/biMpPkAWYEsM3R4IINQ=
X-Google-Smtp-Source: ABdhPJxldg5qGfhTsi+uI+oCWMqbTgFlJfBL0heM0LThgB3QoR5jEsilubOTYy4qbl6eObAhet4/uqxHAyvpt4fTtGQ=
X-Received: by 2002:a05:6902:1101:: with SMTP id o1mr6256111ybu.494.1640108115627;
 Tue, 21 Dec 2021 09:35:15 -0800 (PST)
MIME-Version: 1.0
References: <CANVnVYLLA4AKK-3wWde_R3UrFHhktXEmQBCPzDWxbzkb57GGTA@mail.gmail.com>
 <20211221165848.Horde.BoZJ9MbE9nWJ_J11nzuJ0Vu@mail.das-netzwerkteam.de>
In-Reply-To: <20211221165848.Horde.BoZJ9MbE9nWJ_J11nzuJ0Vu@mail.das-netzwerkteam.de>
From: Ulrich Sibiller <uli42@gmx.de>
Date: Tue, 21 Dec 2021 18:34:49 +0100
Message-ID: <CANVnVY+OhRKOz38VnwtLT8JSYrLdZs1rfro40bmnwBS77Zj8bA@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1577: Bug#1577: gnome-Terminal not working on RHEL8
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 1577@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Please note that we are talking about Redhat Enterprise Linux here.
What is deprecated on other distributions can still be supported on
those systems ;-) But RHEL8 offers both... ;-)

It kinda works (tested without x2go or nx for now), but I am not
really sure if it works the way it should:

$ dbus-run-session gnome-terminal --wait
# Couldn't connect to accessibility bus: Failed to connect to socket
/tmp/dbus-xCWFrJX5ds: Connection refused
dbus-daemon[1104827]: [session uid=<censored> pid=1104827] Activating
service name='org.gnome.Terminal' requested by ':1.0' (uid=<censored>
pid=1104838 comm="gnome-terminal --wait "
label="system_u:system_r:unconfined_service_t:s0")

(gnome-terminal-server:1104843): dbind-WARNING **: 18:30:55.976:
Couldn't connect to accessibility bus: Failed to connect to socket
/tmp/dbus-xCWFrJX5ds: Connection refused
dbus-daemon[1104827]: [session uid=<censored> pid=1104827] Activating
service name='ca.desrt.dconf' requested by ':1.1' (uid=<censored>
pid=1104843 comm="/usr/libexec/gnome-terminal-server "
label="system_u:system_r:unconfined_service_t:s0")
dbus-daemon[1104827]: [session uid=<censored> pid=1104827]
Successfully activated service 'org.gnome.Terminal'
# watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
# unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
# watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)
dbus-daemon[1104827]: [session uid=<censored> pid=1104827]
Successfully activated service 'ca.desrt.dconf'

(gnome-terminal-server:1104843): dconf-WARNING **: 18:30:56.014:
failed to commit changes to dconf:
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code4:
Failed to create file “/home/<censored>/.config/dconf/user.X0PRE1”: No
such file or directory

On Tue, Dec 21, 2021 at 6:00 PM Mike Gabriel
<mike.gabriel@das-netzwerkteam.de> wrote:
>
> 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: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
>
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 19 05:36:51 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.