X2Go Bug report logs - #774
please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local sessions

version graph

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

Reported by: Ryan Tandy <rtandy@sd63.bc.ca>

Date: Thu, 29 Jan 2015 18:25:02 UTC

Severity: wishlist

Tags: patch

Found in version 4.1.0.0-0~1215~ubuntu14.04.1

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#774: [X2Go-Dev] Bug#774: Bug#774: please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local sessions
Reply-To: Ryan Tandy <rtandy@sd63.bc.ca>, 774@bugs.x2go.org
Resent-From: Ryan Tandy <rtandy@sd63.bc.ca>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 20 Mar 2015 22:15:01 +0000
Resent-Message-ID: <handler.774.B774.142688956218162@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 774
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: patch
Received: via spool by 774-submit@bugs.x2go.org id=B774.142688956218162
          (code B ref 774); Fri, 20 Mar 2015 22:15:01 +0000
Received: (at 774) by bugs.x2go.org; 20 Mar 2015 22:12:42 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from mail.sd63.bc.ca (mail.sd63.bc.ca [142.31.146.55])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 6CA625DAA4
	for <774@bugs.x2go.org>; Fri, 20 Mar 2015 23:12:37 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by mail.sd63.bc.ca (Postfix) with ESMTP id 9E08B244005C;
	Fri, 20 Mar 2015 15:12:34 -0700 (PDT)
Received: from mail.sd63.bc.ca ([127.0.0.1])
	by localhost (mail.sd63.bc.ca [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id kmz6qmdHN7Mh; Fri, 20 Mar 2015 15:12:33 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	by mail.sd63.bc.ca (Postfix) with ESMTP id ACB8824447D8;
	Fri, 20 Mar 2015 15:12:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at sd63.bc.ca
Received: from mail.sd63.bc.ca ([127.0.0.1])
	by localhost (mail.sd63.bc.ca [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id lfDRJUnm5XuA; Fri, 20 Mar 2015 15:12:33 -0700 (PDT)
Received: from bowmore (bowmore.sbo.sd63.bc.ca [10.0.253.103])
	by mail.sd63.bc.ca (Postfix) with SMTP id 86EF0244005C;
	Fri, 20 Mar 2015 15:12:33 -0700 (PDT)
Received: (nullmailer pid 19062 invoked by uid 1000);
	Fri, 20 Mar 2015 22:12:33 -0000
Date: Fri, 20 Mar 2015 15:12:33 -0700
From: Ryan Tandy <rtandy@sd63.bc.ca>
To: Mihai Moldovan <ionic@ionic.de>
Cc: 774@bugs.x2go.org, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Message-ID: <20150320221233.GA2119@bowmore>
References: <20150129181740.GC2051@bowmore>
 <20150205113105.Horde.pMAVIXVYS9UljNMdiHh_1w1@mail.das-netzwerkteam.de>
 <20150317191151.GB2066@bowmore>
 <550BA6B1.9010809@ionic.de>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="s2ZSL+KKDSLx8OML"
Content-Disposition: inline
In-Reply-To: <550BA6B1.9010809@ionic.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
[Message part 1 (text/plain, inline)]
Hi,

On Fri, Mar 20, 2015 at 05:48:49AM +0100, Mihai Moldovan wrote:
>This looks interesting, but does it work for non-Ubuntu/Debian systems,
>too? Especially old(er) ones like SLE{S,D} 11, EPEL 5 etc.?

Tested on CentOS 5 and 6 successfully. CentOS 7 seems to not include the 
GNOME Flashback components, so I couldn't test there.

I wasn't able to get X2Go working at all on OpenSuSE 11. :/ Looks like 
packages.x2go.org doesn't carry 11 any more? Works on OpenSuSE 12, 
although the GNOME fallback desktop seems to be affected by a few bugs. 
I didn't test OpenSuSE 13, but glancing at the repo it looks like they 
retired the fallback/gnome-panel packages like RHEL7 did.

The patch I sent before exports XDG_CURRENT_DESKTOP needlessly in 
environments that have no value for it (e.g. older GNOME 2). Should be 
harmless, but even so I'm attaching a corrected patch and interdiff 
since the previous one.

The approach probably extends to non-GNOME desktops too, but I don't 
know when I would have time to go through and test them all...

-- 
Ryan Tandy - Programmer/Analyst                        rtandy@sd63.bc.ca
School District 63 (Saanich)                                250-652-7385
[0001-Launch-gnome-session-using-settings-from-the-session.patch (text/x-diff, attachment)]
[0001-Launch-gnome-session-using-settings-from-the-session.patch.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 02:24:52 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.