From ionic@ionic.de  Fri Mar 20 05:48:58 2015
Received: (at 774) by bugs.x2go.org; 20 Mar 2015 04:49:00 +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,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 93C0E5DAA4
	for <774@bugs.x2go.org>; Fri, 20 Mar 2015 05:48:58 +0100 (CET)
Received: from nopileos.local (home.ionic.de [217.92.117.31])
	by mail.ionic.de (Postfix) with ESMTPSA id 0943C4F08A0F;
	Fri, 20 Mar 2015 05:48:58 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1426826938; bh=ZH1o8l6nZsh2LimLr8E7HsaO4v7sCYw/zs5NF7h7LB0=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=gj+FarWp+SV4RtgqzZsONUco9r02t//ROybXKoog9yvldtnnF3+T4CcY7iKlQOnXr
	 JDxVW9uqwBU1mEjr1LVLfU6oZ18fy/U/bxWdIx7riYDMDVfJQeF8z5N8HI5UiFcn7Y
	 UjLjhJqay+/E73tsbWUKyDT/HbkKyVRxyq6IiKjE=
Message-ID: <550BA6B1.9010809@ionic.de>
Date: Fri, 20 Mar 2015 05:48:49 +0100
From: Mihai Moldovan <ionic@ionic.de>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: Ryan Tandy <rtandy@sd63.bc.ca>, 774@bugs.x2go.org, 
 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Subject: Re: [X2Go-Dev] Bug#774: Bug#774: please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP
 like local sessions
References: <20150129181740.GC2051@bowmore> <20150205113105.Horde.pMAVIXVYS9UljNMdiHh_1w1@mail.das-netzwerkteam.de> <20150317191151.GB2066@bowmore>
In-Reply-To: <20150317191151.GB2066@bowmore>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="do1sPPGMcWlFHQu1DJom4p0aqKmKa0Vh1"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--do1sPPGMcWlFHQu1DJom4p0aqKmKa0Vh1
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 17.03.2015 08:11 PM, Ryan Tandy wrote:
> 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.

This looks interesting, but does it work for non-Ubuntu/Debian systems,
too? Especially old(er) ones like SLE{S,D} 11, EPEL 5 etc.?



Mihai


--do1sPPGMcWlFHQu1DJom4p0aqKmKa0Vh1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJVC6a1AAoJEB/WLtluJTqHQg8QANLb1fWVV3M5CTYDJG1g5e2F
dRuhHxhtCeGPCLvP0ehdmcYh18tgOemB2Vssa+1AArqDPp9g60/BwM47RwDCjUx6
X9wnPa1BnDlBtB6ng0GFiW2q/uhQP8jwmAekmKw7Sx/Wm72BpjPAqPLtYUFWBfhv
EFAfg+XpE/KBbFKUdXpAULJ3+JVmR8SfJxzXSWKlORLOBp6ALUq1EP/UK1pHQdrG
A23LM5934jRK/vrnCiBEPiEc6GIaQHoqUqBLghh6tFKRO1p5RnhiUrSw+NJs5U8Q
QI4Et72ICqD7T77M82/okgd8Evrq71FMKZ76j+RekAdbzOORVGW8UKLHCaaFmMws
YVZ2WtgLcNi5suTVJRqCUG9gdU6ZjH7uUg8O+ijE2iG4z+o23mHCA2qsYxiihagR
wxvlyWE1g0yOfBY59I7fDiHmM0HfjMGRT3qvLQUXph3AWlDzwDK0ZJ5JZi0SEAUF
wf/4o1HDOqzR+ro06Z73GSNwj1koqaA91twtDl6E2ibFTgkq3/K+BcYr5k4yxnU+
wSQInxJEXuB7YMr8KLeLqFus7bpgubGzpBjrnhUzJ5O9XPwMeDF7HA+rESH0bcz7
TgMUurocZAI/HP8LlOcnTLPAPVHQxb/DJ7gIdLI5/tMgZvwpzz8bI+2kGc34fZwc
OeuPNXy9a4rQR9eFuevr
=9+K+
-----END PGP SIGNATURE-----

--do1sPPGMcWlFHQu1DJom4p0aqKmKa0Vh1--

