X2Go Bug report logs - #774
please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local sessions

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

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

View this report as an mbox folder, status mbox, maintainer mbox


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 and rfc822 format available.

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 and rfc822 format available.

Message #5 received at submit@bugs.x2go.org (full text, mbox):

From: Ryan Tandy <rtandy@sd63.bc.ca>
To: submit@bugs.x2go.org
Subject: please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local sessions
Date: Thu, 29 Jan 2015 10:17:40 -0800
[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 and rfc822 format available.

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 and rfc822 format available.

Message #10 received at 774@bugs.x2go.org (full text, mbox):

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
Date: Thu, 05 Feb 2015 11:31:05 +0000
[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 and rfc822 format available.

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 and rfc822 format available.

Message #15 received at 774@bugs.x2go.org (full text, mbox):

From: Ryan Tandy <rtandy@sd63.bc.ca>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 774@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#774: please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local sessions
Date: Tue, 17 Mar 2015 12:11:51 -0700
[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 and rfc822 format available.

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 and rfc822 format available.

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 and rfc822 format available.

Message #22 received at 774@bugs.x2go.org (full text, mbox):

From: Mihai Moldovan <ionic@ionic.de>
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
Date: Fri, 20 Mar 2015 05:48:49 +0100
[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 and rfc822 format available.

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 and rfc822 format available.

Message #27 received at 774@bugs.x2go.org (full text, mbox):

From: Ryan Tandy <rtandy@sd63.bc.ca>
To: Mihai Moldovan <ionic@ionic.de>
Cc: 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
Date: Fri, 20 Mar 2015 15:12:33 -0700
[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 and rfc822 format available.

Acknowledgement sent to "Martin, Robert P" <rmarti4@tulane.edu>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 26 Nov 2015 21:30:02 GMT) Full text and rfc822 format available.

Message #32 received at 774@bugs.x2go.org (full text, mbox):

From: "Martin, Robert P" <rmarti4@tulane.edu>
Subject: ATTN
Date: Thu, 26 Nov 2015 20:58:26 +0000
[Message part 1 (text/plain, inline)]
Your Mail-Box has exceeded its storage Limit CLICK=HERE<https://www.formlogix.com/Manager/UserConditionalSurvey259157.aspx?Param=VXNlcklkPTI1OTE1Ny5Gb3JtSWQ9MQ%3d%3d> FILL and Click on FINISH for to get more space or you wont be able to send Mail.
[Message part 2 (text/html, 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:50:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "GUO, SANDY" <sandyg@email.sc.edu>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 26 Nov 2015 21:50:03 GMT) Full text and rfc822 format available.

Message #37 received at 774@bugs.x2go.org (full text, mbox):

From: "GUO, SANDY" <sandyg@email.sc.edu>
To: Undisclosed recipients:;
Subject: ATTN
Date: Thu, 26 Nov 2015 21:16:44 +0000
[Message part 1 (text/plain, inline)]
Your Mail-Box has exceeded its storage Limit CLICK=HERE<https://www.formlogix.com/Manager/UserConditionalSurvey259158.aspx?Param=VXNlcklkPTI1OTE1OC5Gb3JtSWQ9MQ%3d%3d> FILL and Click on FINISH for to get more space or you wont be able to send Mail.
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#774; Package x2goserver. (Thu, 26 Nov 2015 22:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Ricardo Novoa Mateus <novoa.david@urosario.edu.co>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 26 Nov 2015 22:50:02 GMT) Full text and rfc822 format available.

Message #42 received at 774@bugs.x2go.org (full text, mbox):

From: David Ricardo Novoa Mateus <novoa.david@urosario.edu.co>
Subject: ATTN
Date: Thu, 26 Nov 2015 22:00:28 +0000
[Message part 1 (text/plain, inline)]

Your Mail-Box has exceeded its storage Limit CLICK=HERE<https://www.formlogix.com/Manager/UserConditionalSurvey259158.aspx?Param=VXNlcklkPTI1OTE1OC5Gb3JtSWQ9MQ%3d%3d> FILL and Click on FINISH for to get more space or you wont be able to send Mail.
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#774; Package x2goserver. (Mon, 02 Apr 2018 21:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Geraldo Celso de Carvalho <geraldocelso@correios.com.br>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 02 Apr 2018 21:40:03 GMT) Full text and rfc822 format available.

Message #47 received at 774-submit@bugs.x2go.org (full text, mbox):

From: Geraldo Celso de Carvalho <geraldocelso@correios.com.br>
To: undisclosed-recipients:;
Subject: IT Service Desk
Date: Mon, 2 Apr 2018 21:26:25 +0000
[Message part 1 (text/plain, inline)]
ICT Service Desk require you to upgrade to the latest e-mail Outlook Web Apps 2018, kindly Click on (GATEWAY <http://spdate.moonfruit.com/> )  to upgrade to the latest e-mail Outlook Web Apps 2018

Connected with Microsoft Exchange
© 2018 Microsoft Corporation. All rights reserved

________________________________

AVISO LEGAL

“Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a quem é dirigida, podendo conter informação confidencial e/ou legalmente privilegiada. Se você não for destinatário desta mensagem, desde já fica notificado de abster-se a divulgar, copiar, distribuir, examinar ou, de qualquer forma, utilizar a informação contida nesta mensagem, por ser ilegal. Caso você tenha recebido esta mensagem por engano, peço que me retorne este e-mail, promovendo, desde logo, a eliminação do seu conteúdo em sua base de dados, registros ou sistema de controle. Fica desprovida de eficácia e validade a mensagem que contiver opiniões particulares e vínculos obrigacionais, expedida por quem não detenha poderes de representação por parte da ECT.”

"This message is intended only for the person to whom it is addressed and may contain confidential and/or legally privileged. If you are not a recipient of this message, it is now notified of refraining to disclose; copy; distribute; examine; or in any way use the information contained in this message because it is illegal. If you have received this message in error, please I ask to return this email, promoting as soon as possible the elimination of its content in database, records or system control. It is devoid of effective and valid message that contains the private opinions and dividend bonds, issued by those not holding powers of attorney by the ECT."
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Dec 12 05:05:32 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.