From rtandy@sd63.bc.ca  Thu Jan 29 19:24:21 2015
Received: (at submit) by bugs.x2go.org; 29 Jan 2015 18:24:23 +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=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)


--ibTvN161/egqYuK8
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
Flashback is actually "gnome-fallback". In particular, this name is=20
found in /etc/upstart-xsessions while "gnome-flashback" is not, which=20
prevents Upstart user sessions from being enabled. ("gnome-session=20
--session=3Dgnome-flashback is still the correct command, though.)

Furthermore, recent (Ubuntu >=3D 13.10, Debian jessie) login managers also=
=20
export XDG_CURRENT_DESKTOP using the value of the DesktopNames field=20
=66rom the session file. This variable is starting to gain wide use by=20
applications that care about the desktop environment they run under.

I can write a patch that adds all this information to x2goruncommand in=20
the existing format. However it occurs to me that it might make more=20
sense to parse the files in /usr/share/xsessions and use the information=20
directly instead of duplicating it. Please let me know which you'd=20
prefer to see.

--=20
Ryan Tandy - Programmer/Analyst                      rtandy@sd63.bc.ca
School District 63 (Saanich)                           +1 250 652 7385

--ibTvN161/egqYuK8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJUynlBAAoJECKfzxL11mu2ER0P/0guvmJNZxMU+cacjJ1GacOT
UzjaeJFLSBwpnNv1xdKlR1hRr8b2fcomnm9RyX8moQE9Nw/tyeQj5wFryldkCNFx
dLA5sLp+1M2gl2RMf2wbYPjS+pcyv/NneF0tpJcc8ES3k2mmg+D/1oDWkkGfB0En
uOpVAJ9MXEJswDHJOwx4n9OsbDWxTGJ4aFrFWg0ruhs4AK/Q9SCZoug8f64qdyG8
RvygNZZemQCTr44ziAJjfyeqkooVCabkOLu/kfnH3dsgr96UMYEaT+0U/7Qzhwla
XbkKH4xbqcPseaBIVGkzew/s6fzTfvfJHJQ/Zc6oNL7gvbT3GR4xmC7IsrrW7K3/
NDSFhWjXymdHNDg5B8DuD6HZfnAhcgU31vJXJLxbH9M3lDMf90zLkWYaDyASGiNY
56erMXkC20W3JsWdxYwl/A4ZmtlUReCxQcPR444JBJa14Qd5Z165NJTeHgyKq5ga
Ib0oUhQCDhMF0jrg4hmJ6UVv/aa7ECsjkfVcW/XcrLTSqe0/kvPZzstdZQyYIACS
jx5Krgxg390R/ZfCPifqbFbqJdSDpDYUTWcxkWCn7unjy1j1GXso5H0WlHMjtxwj
m67YbpeXol0cUqJrxbrJrt91dvhcjnfjM8ac0DMogzKmaVX55r3dRGC6qaKQGJTt
PcK8qWFi2FbfdXJcEZyK
=iA0v
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--

