From ulrich.sibiller@gmail.com Tue Dec 21 15:04:01 2021 Received: (at submit) by bugs.x2go.org; 21 Dec 2021 14:04:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A0E345DAF8 for ; Tue, 21 Dec 2021 15:04:00 +0100 (CET) Received: by mail-yb1-f169.google.com with SMTP id v203so39070229ybe.6 for ; Tue, 21 Dec 2021 06:04:00 -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:from:date:message-id:subject:to; bh=w2KY31X0BGBr/Ww63jdZyKhd3Nt7gpk7yFvDy2DAKrI=; b=Jt3Of7iOMqr7CjLcccZA/+asLilwEARtDPUcCz9154JD201SanjzaLb1VCs/3u0jE5 5EArKNcA4KS5EPZvlVgGR+tO075nIHTXMlKb64Pqjb+E9Mtd8mYF6R42puYtraXdDejg 26KRkJP1nH4kQVMEfHRJqJtdALjstiGLS1osTgl5lhpdW5/5pCgieeL1qOEbCEdNB3Uq OJqxgLfFbonpDM0mfj64I56htGZvkfkGVz9/SBqinxdnwlDqWoyiC6qq4fRLKJE+5jw9 44+aIFR1bXFBLlIgVXynV0VMyDYpJQowEk2wzIEBsF3OIucG0MCdZOvDhzgX8+NNtV3k JydQ== X-Gm-Message-State: AOAM533JlfoSVlTO8AD9ahdFGXPneai2NvDQP9Kaqmw2KrcWRxOvBZdR gpMEDUOEAzClZ8cWKf0xVhIm3QwLRTjZbbA2F7jC0gGxEyLmow== X-Google-Smtp-Source: ABdhPJwk1NPHhDBj8D6k0feHgFgWK+aHXS1A6zHMud1UmswZt/5OSwkjZnXusXK8VeNDIEG4MdgtREUgU1ko11iBkCw= X-Received: by 2002:a25:2d1:: with SMTP id 200mr4581069ybc.528.1640095439117; Tue, 21 Dec 2021 06:03:59 -0800 (PST) MIME-Version: 1.0 From: Ulrich Sibiller Date: Tue, 21 Dec 2021 15:03:33 +0100 Message-ID: Subject: gnome-Terminal not working on RHEL8 To: submit@bugs.x2go.org Content-Type: text/plain; charset="UTF-8" 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. From mike.gabriel@das-netzwerkteam.de Tue Dec 21 17:58:50 2021 Received: (at 1577) by bugs.x2go.org; 21 Dec 2021 16:58:54 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from fregna.das-netzwerkteam.de (fregna-internal.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 29B4F5DAF8 for <1577@bugs.x2go.org>; Tue, 21 Dec 2021 17:58:50 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:202:1381::105]) by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 18AE560111; Tue, 21 Dec 2021 16:58:49 +0000 (UTC) Received: from das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id EA246C01CF; Tue, 21 Dec 2021 17:58:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de; s=dkim; t=1640105929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=f7O+AaILnz1fJPXuBacFBAjqHMY/PkqcXw1TbnAVHWw=; b=RFK/11y6TasjCViNKkwRtomes12WNfiyBaN/za72dyiKtR9oxjUHQUjg9QV0QtIENazYTP vOhTL1U5QeK5K7NM9gSSEvRTizhNIvmRr8DXZXdiJ2vU3IiFJDYg/Ifx/PfOC9LHDmfBb8 nlxpMkHfaRTBAT2gJCuWEKuvqcaEca7ARMZB7cFH6MfM5dsUH7bdBG5KKMGsg+Q9ERBmyK jOMvR3RN0WNhuR9AT4NIy9gSEvZAW+gw2NYePWIOoUMCBX7qKRINxcsGfV4yy5CCfes30x Iz69BC8lUF/c9aA1n9FSuNs//6ervd7XKByOxPvX6za47znq/nFgvdaBv2upeLj15Z+kW+ LsN6ZvUt53mHOPFwbtWPsJWf1Mj/XpUYQZbOUkIIY9cB7qpHmp5wDQ7XHeSQb7J6kY2cgb u+NURSJPDgUKO1817bIAfLuZD62RRzjU5QqDhOGwEqzQjVQUCrIpAj8Cfph1S4gA72fbTE tXlHYTuCnY0eFF7bR/1rnlvwc1yWDEEJjhuI7x2estEBgeLcK1aHf1H/iz5/Ez9SyIBD5S 5j9Gw83X3ZyrfF7uiDVFWOq42WYubQBDEyAmliEqs73COYsdJh++7S4RDXfA1oNv/Pdd99 f4/ZFR1c3K5AYvKlqMGnbN4KcbxKjuBK55buXKcEIXhaRgQ0tQKeo= Received: from business-90-187-115-117.pool2.vodafone-ip.de (business-90-187-115-117.pool2.vodafone-ip.de [90.187.115.117]) by mail.das-netzwerkteam.de (Horde Framework) with HTTPS; Tue, 21 Dec 2021 16:58:48 +0000 Date: Tue, 21 Dec 2021 16:58:48 +0000 Message-ID: <20211221165848.Horde.BoZJ9MbE9nWJ_J11nzuJ0Vu@mail.das-netzwerkteam.de> From: Mike Gabriel To: Ulrich Sibiller , 1577@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#1577: gnome-Terminal not working on RHEL8 In-Reply-To: User-Agent: Horde Application Framework 5 Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 90.187.115.117 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Content-Type: multipart/signed; boundary="=_WeFXAaiWHZv3hcWUIkEy0fD"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_WeFXAaiWHZv3hcWUIkEy0fD Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20=20 dbus-run-session. In=20fact, maybe we should put that as a command for the GNOME terminal=20= =20 startup=20in /usr/bin/x2goruncommand? @Uli: can you test that? Mike --=20 DAS-NETZWERKTEAM c\o=20Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde 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 --=_WeFXAaiWHZv3hcWUIkEy0fD Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmHCB8cACgkQmvRrMCV3 GzFN5w//SxFj1Uno8LPpY1bwbyXcouXsWco96cE/zMwO8xLKVJI5C668OOCAg/bX Twsn47cZFEnAbM4VsFvrkA3VXmx4xhD49qis2JQVWLahyvV/Ptoj3AISegKB0T6L 0tQjbjX/FFL20mrKdYtbS6FY+8Q1Rybv5JB7/tqlsfmklgf4BXX6tTqy0ooHRlT1 nm3jZNi1jOuWufOT5fDu9d3vv6szlNgOa1zisSZR43a6hW5DCYe7bC94XgU5/Myj N7wpmXod6lndVxOqbFvhp3MvmAm3+8RgSyuCkxbraYVDgcIDSqZCvYn19ZgYYBPA iY4M65KVfN+ul4q8x50biIdG4s0XuoXsLFXfigFuOgr4HcZysM8Cl7a/NdFf/MUt MMIoBfijnSF4cu1s2YXCEBsbeUpjoLr0xuLJZRX9K55Z4X9mPb/TTN7N0yemHKmU grJ4lkoVAr4nJ3Qg99Z9xVSonoF/mpljc8Rj/unwjobRQcZWBkFsxpqZT1OyYIO9 V/NyiQYr92DDIcyTKTBu0OvrWere/ky2ye1bMJEVSLF8Hb3xERm78gg1Voyx8awU QTS+Y86zwzN7PKjeBbGjxxwCREYlAoj8XK6IOizB/cFOzqLRDhToPv1sNmebeVAe 9YQ3KlBuH79Hq0Ep3JY2ELDnLgx1Q4NcPCNsoLGonksvTzI/2YY= =27nl -----END PGP SIGNATURE----- --=_WeFXAaiWHZv3hcWUIkEy0fD-- From ulrich.sibiller@gmail.com Tue Dec 21 18:35:19 2021 Received: (at 1577) by bugs.x2go.org; 21 Dec 2021 17:35:22 +0000 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: <20211221165848.Horde.BoZJ9MbE9nWJ_J11nzuJ0Vu@mail.das-netzwerkteam.de> In-Reply-To: <20211221165848.Horde.BoZJ9MbE9nWJ_J11nzuJ0Vu@mail.das-netzwerkteam.de> From: Ulrich Sibiller Date: Tue, 21 Dec 2021 18:34:49 +0100 Message-ID: Subject: Re: [X2Go-Dev] Bug#1577: Bug#1577: gnome-Terminal not working on RHEL8 To: Mike Gabriel , 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=3D pid=3D1104827] Activating service name=3D'org.gnome.Terminal' requested by ':1.0' (uid=3D pid=3D1104838 comm=3D"gnome-terminal --wait " label=3D"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=3D pid=3D1104827] Activating service name=3D'ca.desrt.dconf' requested by ':1.1' (uid=3D pid=3D1104843 comm=3D"/usr/libexec/gnome-terminal-server " label=3D"system_u:system_r:unconfined_service_t:s0") dbus-daemon[1104827]: [session uid=3D pid=3D1104827] 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=3D pid=3D1104827] 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.Co= de4: Failed to create file =E2=80=9C/home//.config/dconf/user.X0PRE1= =E2=80=9D: No such file or directory On Tue, Dec 21, 2021 at 6:00 PM Mike Gabriel 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 =C3=96kologiezentrum Eckernf=C3=B6rde > Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde > 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