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

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#774: [X2Go-Dev] Bug#774: Bug#774: please set DESKTOP_SESSION and XDG_CURRENT_DESKTOP like local sessions
Reply-To: Mihai Moldovan <ionic@ionic.de>, 774@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 20 Mar 2015 04:50:01 +0000
Resent-Message-ID: <handler.774.B774.142682694029160@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 774
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: patch
Received: via spool by 774-submit@bugs.x2go.org id=B774.142682694029160
          (code B ref 774); Fri, 20 Mar 2015 04:50:01 +0000
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>
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"
[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)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Jun 25 01:20:13 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.