X2Go Bug report logs -
#774
please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local sessions
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
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#774
; Package x2goserver
.
(Thu, 29 Jan 2015 18:25:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Ryan Tandy <rtandy@sd63.bc.ca>
:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Thu, 29 Jan 2015 18:25:02 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):
[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)]
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#774
; Package x2goserver
.
(Thu, 05 Feb 2015 11:35:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Thu, 05 Feb 2015 11:35:02 GMT) (full text, mbox, link).
Message #10 received at 774@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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
> 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.
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.
Thanks!
Mike
--
DAS-NETZWERKTEAM
mike gabriel, 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.xfb
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#774
; Package x2goserver
.
(Tue, 17 Mar 2015 19:20:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Ryan Tandy <rtandy@sd63.bc.ca>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Tue, 17 Mar 2015 19:20:02 GMT) (full text, mbox, link).
Message #15 received at 774@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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@sd63.bc.ca
School District 63 (Saanich) 250-652-7385
[0001-Launch-gnome-session-using-settings-from-the-session.patch (text/x-diff, attachment)]
Added tag(s) patch.
Request was from Ryan Tandy <rtandy@sd63.bc.ca>
to 774-submit@bugs.x2go.org
.
(Tue, 17 Mar 2015 19:20:02 GMT) (full text, mbox, link).
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#774
; Package x2goserver
.
(Fri, 20 Mar 2015 04:50:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Mihai Moldovan <ionic@ionic.de>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Fri, 20 Mar 2015 04:50:01 GMT) (full text, mbox, link).
Message #22 received at 774@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#774
; Package x2goserver
.
(Fri, 20 Mar 2015 22:15:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Ryan Tandy <rtandy@sd63.bc.ca>
:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>
.
(Fri, 20 Mar 2015 22:15:01 GMT) (full text, mbox, link).
Message #27 received at 774@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
On Fri, Mar 20, 2015 at 05:48:49AM +0100, Mihai Moldovan wrote:
>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.?
Tested on CentOS 5 and 6 successfully. CentOS 7 seems to not include the
GNOME Flashback components, so I couldn't test there.
I wasn't able to get X2Go working at all on OpenSuSE 11. :/ Looks like
packages.x2go.org doesn't carry 11 any more? Works on OpenSuSE 12,
although the GNOME fallback desktop seems to be affected by a few bugs.
I didn't test OpenSuSE 13, but glancing at the repo it looks like they
retired the fallback/gnome-panel packages like RHEL7 did.
The patch I sent before exports XDG_CURRENT_DESKTOP needlessly in
environments that have no value for it (e.g. older GNOME 2). Should be
harmless, but even so I'm attaching a corrected patch and interdiff
since the previous one.
The approach probably extends to non-GNOME desktops too, but I don't
know when I would have time to go through and test them all...
--
Ryan Tandy - Programmer/Analyst rtandy@sd63.bc.ca
School District 63 (Saanich) 250-652-7385
[0001-Launch-gnome-session-using-settings-from-the-session.patch (text/x-diff, attachment)]
[0001-Launch-gnome-session-using-settings-from-the-session.patch.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>
:
Bug#774
; Package x2goserver
.
(Thu, 26 Nov 2015 21:30:02 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
X2Go Developers <owner@bugs.x2go.org>.
Last modified:
Thu Nov 21 12:05:29 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.