From mike.gabriel@das-netzwerkteam.de  Thu Feb  5 12:31:44 2015
Received: (at 774) by bugs.x2go.org; 5 Feb 2015 11:31:48 +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=-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

This message is in MIME format and has been PGP signed.

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

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=20=20
>=20GNOME Flashback is actually "gnome-fallback". In particular, this=20=20
>=20name is found in /etc/upstart-xsessions while "gnome-flashback" is=20=
=20
>=20not, which prevents Upstart user sessions from being enabled.=20=20
>=20("gnome-session --session=3Dgnome-flashback is still the correct=20=20
>=20command, though.)
>
> Furthermore, recent (Ubuntu >=3D 13.10, Debian jessie) login managers=20=
=20
>=20also export XDG_CURRENT_DESKTOP using the value of the DesktopNames=20=
=20
>=20field from the session file. This variable is starting to gain wide=20=
=20
>=20use by applications that care about the desktop environment they run=20=
=20
>=20under.
>
> I can write a patch that adds all this information to x2goruncommand=20=
=20
>=20in the existing format. However it occurs to me that it might make=20=
=20
>=20more sense to parse the files in /usr/share/xsessions and use the=20=20
>=20information directly instead of duplicating it. Please let me know=20=
=20
>=20which you'd prefer to see.


x2goruncommand actually requires a complete rewrite (and has to be=20=20
based=20on freedesktop.org specs).

Until that happens, let's hard-code this stuff. Please provide your patch.

Thanks!
Mike
--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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.x=
fb

--=_ElvCrUTx6lUpcsRf4scMhg3
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

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

iQIcBAABAgAGBQJU01R3AAoJEJr0azAldxsxO1MP/3nLkFN3KYx/sVYNWbYiB1ir
u+6tMAzTPFuROfnCL23e+arv+Ocdx0UOLwEUelDJgldsFO+PEx0X8KS/8X316iBr
sPPwrqlwkVq8/Y3lXSCq4Y6A3T+in+UWWugakXplH96iGnsa2CPTb9z1kbJTp1BA
pEbQ5cQd+NhhGBLRXeYeXWdabgE3W9/VYE3ykFI9ivLPa4IUAnrq2UBoIdf4tDch
/VfcHpKauLgAsGsSPbH6rxnvvyIEwe13RoRTAiszPw37L7+yukm4v3mHBZbYz5Ca
00YPblhR6djSlDBvR26DasHyEL+7SZNaipNlm8e1r6laFiYKFeKnD8GYj2zoAPPo
70dFWBI0A0Sg+Yhgplqe7akq9UApm7wX0Cc30k+v+HTiy0E/3gabh2ttbQp0lp9v
1A7TGb/XN10kq6gAgEiaoY/uLEJl2ETB6Lhd+Q1U1ihZ617HgISBp4ttWrxu+wzT
bkDrxio1ikXlvsbgVt84Bl4lgzHqTQKjIrTDiC0Gg6GNWnMTZqHmKa21QRczNsz/
kpw/FsCbMfIwvdp+iFSqRX9OoBrm2hO3fG7ihWhCy68mCT61LvYP5xfkfzPwTM6U
9l+uPXjBGrdeAq1AhkusNd2VWfZtDAUKcrYwlqHmfJgISN5VibqgnF2IjrRpz4Db
UVl5qou6JpnIueJGxHzd
=Zb0X
-----END PGP SIGNATURE-----

--=_ElvCrUTx6lUpcsRf4scMhg3--

