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

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#774: [X2Go-Dev] 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: Tue, 17 Mar 2015 19:20:02 +0000
Resent-Message-ID: <handler.774.B774.14266199554694@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 774
X-X2Go-PR-Package: x2goserver
Received: via spool by 774-submit@bugs.x2go.org id=B774.14266199554694
          (code B ref 774); Tue, 17 Mar 2015 19:20:02 +0000
Received: (at 774) by bugs.x2go.org; 17 Mar 2015 19:19:15 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
X-Greylist: delayed 436 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Tue, 17 Mar 2015 20:19:11 CET
Received: from mail.sd63.bc.ca (mail.sd63.bc.ca [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A57245DAA3
	for <774@bugs.x2go.org>; Tue, 17 Mar 2015 20:19:11 +0100 (CET)
Received: from localhost (localhost [])
	by mail.sd63.bc.ca (Postfix) with ESMTP id 27ECC24447DC;
	Tue, 17 Mar 2015 12:11:53 -0700 (PDT)
Received: from mail.sd63.bc.ca ([])
	by localhost (mail.sd63.bc.ca []) (amavisd-new, port 10032)
	with ESMTP id F6tzfATLcrdl; Tue, 17 Mar 2015 12:11:51 -0700 (PDT)
Received: from localhost (localhost [])
	by mail.sd63.bc.ca (Postfix) with ESMTP id CA7D424441D7;
	Tue, 17 Mar 2015 12:11:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at sd63.bc.ca
Received: from mail.sd63.bc.ca ([])
	by localhost (mail.sd63.bc.ca []) (amavisd-new, port 10026)
	with ESMTP id eIc1QREg_yXs; Tue, 17 Mar 2015 12:11:51 -0700 (PDT)
Received: from bowmore (bowmore.sbo.sd63.bc.ca [])
	by mail.sd63.bc.ca (Postfix) with SMTP id A9551244004B;
	Tue, 17 Mar 2015 12:11:51 -0700 (PDT)
Received: (nullmailer pid 22965 invoked by uid 1000);
	Tue, 17 Mar 2015 19:11:51 -0000
Date: Tue, 17 Mar 2015 12:11:51 -0700
From: Ryan Tandy <rtandy@sd63.bc.ca>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 774@bugs.x2go.org
Message-ID: <20150317191151.GB2066@bowmore>
References: <20150129181740.GC2051@bowmore>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="a8Wt8u1KmwUX3Y2C"
Content-Disposition: inline
In-Reply-To: <20150205113105.Horde.pMAVIXVYS9UljNMdiHh_1w1@mail.das-netzwerkteam.de>
User-Agent: Mutt/1.5.21 (2010-09-15)
[Message part 1 (text/plain, inline)]
Control: tags -1 + patch

Hi! Sorry it's taken me so long to get back to you about this.

On Thu, Feb 05, 2015 at 11:31:05AM +0000, Mike Gabriel wrote:
>On  Do 29 Jan 2015 19:17:40 CET, Ryan Tandy wrote:
>>I can write a patch that adds all this information to x2goruncommand 
>>in the existing format. However it occurs to me that it might make 
>>more sense to parse the files in /usr/share/xsessions and use the 
>>information directly instead of duplicating it. Please let me know 
>>which you'd prefer to see.
>x2goruncommand actually requires a complete rewrite (and has to be 
>based on freedesktop.org specs).
>Until that happens, let's hard-code this stuff. Please provide your patch.

Well, I started doing that, but it ended up being a lot less work (and a 
lot shorter code) to just take the settings from the session files. :)

Please consider the attached patch. It makes x2goruncommand behave more 
like GDM/LightDM for GNOME-ish sessions.

Testing GNOME Flashback on recent Ubuntu requires a couple of patches to 
Ubuntu packages, which I'm working on getting accepted. Details on 


The gnome-session patch is applicable to Jessie too, but I think it's 
too late in the freeze to get it accepted now. :(

Many thanks for your work on X2Go!

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)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Jun 25 01:43:38 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.