[X2Go-Dev] Bug#774: Bug#774: please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local sessions

Ryan Tandy rtandy at sd63.bc.ca
Tue Mar 17 20:11:51 CET 2015


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.

Testing GNOME Flashback on recent Ubuntu requires a couple of patches to 
Ubuntu packages, which I'm working on getting accepted. Details on 
Launchpad:

https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281/comments/46
https://launchpad.net/~rtandy/+archive/ubuntu/flashback/+packages

The gnome-session patch is applicable to Jessie too, but I think it's 
too late in the freeze to get it accepted now. :(

Many thanks for your work on X2Go!

-- 
Ryan Tandy - Programmer/Analyst                        rtandy at sd63.bc.ca
School District 63 (Saanich)                                250-652-7385
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Launch-gnome-session-using-settings-from-the-session.patch
Type: text/x-diff
Size: 8495 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150317/4d3b2761/attachment-0001.patch>


More information about the x2go-dev mailing list