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 #10 received at 774@bugs.x2go.org (full text, mbox, reply):

Received: (at 774) by bugs.x2go.org; 5 Feb 2015 11:31:48 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Feb  5 12:31:44 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
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id DFA6B3BE61
	for <774@bugs.x2go.org>; Thu,  5 Feb 2015 12:31:43 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 6B992C39;
	Thu,  5 Feb 2015 12:31:43 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 168213C201;
	Thu,  5 Feb 2015 12:31:40 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ReFS1iVp5pn6; Thu,  5 Feb 2015 12:31:39 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id E22613C21D;
	Thu,  5 Feb 2015 12:31:12 +0100 (CET)
Received: from 134.245.44.2 ([134.245.44.2]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTP; Thu, 05 Feb 2015 11:31:05 +0000
Date: Thu, 05 Feb 2015 11:31:05 +0000
Message-ID: <20150205113105.Horde.pMAVIXVYS9UljNMdiHh_1w1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Ryan Tandy <rtandy@sd63.bc.ca>, 774@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#774: please set DESKTOP_SESSION and
 XDG_CURRENT_DESKTOP like local sessions
In-Reply-To: <20150129181740.GC2051@bowmore>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 134.245.44.2
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_ElvCrUTx6lUpcsRf4scMhg3";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Ryan,

On  Do 29 Jan 2015 19:17:40 CET, Ryan Tandy wrote:

> Package: x2goserver
> Version: 4.1.0.0-0~1215~ubuntu14.04.1
> Severity: wishlist
>
> Hi,
>
> In Ubuntu before 15.04, and Debian jessie, the DESKTOP_SESSION for  
> GNOME Flashback is actually "gnome-fallback". In particular, this  
> name is found in /etc/upstart-xsessions while "gnome-flashback" is  
> not, which prevents Upstart user sessions from being enabled.  
> ("gnome-session --session=gnome-flashback is still the correct  
> command, though.)
>
> Furthermore, recent (Ubuntu >= 13.10, Debian jessie) login managers  
> also export XDG_CURRENT_DESKTOP using the value of the DesktopNames  
> field from the session file. This variable is starting to gain wide  
> use by applications that care about the desktop environment they run  
> under.
>
> 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.

Thanks!
Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:20:19 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.