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


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

Received: (at 774) by bugs.x2go.org; 17 Mar 2015 19:19:15 +0000
From rtandy@sd63.bc.ca  Tue Mar 17 20:19:12 2015
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
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 [142.31.146.55])
	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 [127.0.0.1])
	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 ([127.0.0.1])
	by localhost (mail.sd63.bc.ca [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id F6tzfATLcrdl; Tue, 17 Mar 2015 12:11:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1])
	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 ([127.0.0.1])
	by localhost (mail.sd63.bc.ca [127.0.0.1]) (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 [10.0.253.103])
	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
Subject: Re: [X2Go-Dev] Bug#774: please set DESKTOP_SESSION and
 XDG_CURRENT_DESKTOP like local sessions
Message-ID: <20150317191151.GB2066@bowmore>
References: <20150129181740.GC2051@bowmore>
 <20150205113105.Horde.pMAVIXVYS9UljNMdiHh_1w1@mail.das-netzwerkteam.de>
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 
Launchpad:

https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281/comments/46
https://launchpad.net/~rtandy/+archive/ubuntu/flashback/+packages

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 Apr 16 17:50:56 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.