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

Received: (at submit) by bugs.x2go.org; 29 Jan 2015 18:24:23 +0000
From rtandy@sd63.bc.ca  Thu Jan 29 19:24:21 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=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED
	autolearn=ham version=3.3.2
X-Greylist: delayed 398 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Thu, 29 Jan 2015 19:24:21 CET
Received: from mail.sd63.bc.ca (mail.sd63.bc.ca [142.31.146.55])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B11453BC7E
	for <submit@bugs.x2go.org>; Thu, 29 Jan 2015 19:24:21 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by mail.sd63.bc.ca (Postfix) with ESMTP id D64ED2444B1E
	for <submit@bugs.x2go.org>; Thu, 29 Jan 2015 10:17:40 -0800 (PST)
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 e6NjuF8KhaTg for <submit@bugs.x2go.org>;
	Thu, 29 Jan 2015 10:17:40 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
	by mail.sd63.bc.ca (Postfix) with ESMTP id 7195B2444B1F
	for <submit@bugs.x2go.org>; Thu, 29 Jan 2015 10:17:40 -0800 (PST)
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 LaTjjl6DfCXw for <submit@bugs.x2go.org>;
	Thu, 29 Jan 2015 10:17:40 -0800 (PST)
Received: from bowmore (bowmore.sbo.sd63.bc.ca [10.0.253.103])
	by mail.sd63.bc.ca (Postfix) with SMTP id 56C532444B1E
	for <submit@bugs.x2go.org>; Thu, 29 Jan 2015 10:17:40 -0800 (PST)
Received: (nullmailer pid 18388 invoked by uid 1000);
	Thu, 29 Jan 2015 18:17:40 -0000
Date: Thu, 29 Jan 2015 10:17:40 -0800
From: Ryan Tandy <rtandy@sd63.bc.ca>
To: submit@bugs.x2go.org
Subject: please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local
 sessions
Message-ID: <20150129181740.GC2051@bowmore>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8"
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
[Message part 1 (text/plain, inline)]
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.

-- 
Ryan Tandy - Programmer/Analyst                      rtandy@sd63.bc.ca
School District 63 (Saanich)                           +1 250 652 7385
[signature.asc (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:39:14 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.