X2Go Bug report logs - #149
Profile files not being sources in x2goserver-xsession

version graph

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

Reported by: "Matthew L. Dailey" <matthew.l.dailey@dartmouth.edu>

Date: Mon, 25 Mar 2013 16:48:01 UTC

Severity: normal

Tags: patch, pending

Found in version 4.1.0.0

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at 149) by bugs.x2go.org; 25 Mar 2013 21:41:18 +0000
From mike.gabriel@das-netzwerkteam.de  Mon Mar 25 22:41:18 2013
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=URIBL_BLOCKED autolearn=ham
	version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 71D4B5DB1E;
	Mon, 25 Mar 2013 22:41:18 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 16656D91;
	Mon, 25 Mar 2013 22:41:18 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 918BD3BB66;
	Mon, 25 Mar 2013 22:41:17 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 1yIhAL6fVI7w; Mon, 25 Mar 2013 22:41:17 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 294E03BA86;
	Mon, 25 Mar 2013 22:41:17 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id E79053BB46;
	Mon, 25 Mar 2013 22:41:16 +0100 (CET)
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 7E6C63BB4A; Mon, 25 Mar 2013 22:41:16 +0100 (CET)
Received: from 52-160-142-46.pool.kielnet.net
 (52-160-142-46.pool.kielnet.net [46.142.160.52]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Mon, 25 Mar 2013
 22:41:16 +0100
Message-ID: <20130325224116.32553kkvdmefdbwc@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Mon, 25 Mar 2013 22:41:16 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: "Matthew L. Dailey" <matthew.l.dailey@dartmouth.edu>, 149@bugs.x2go.org
Cc: control@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#149: Profile files not being sources in
 x2goserver-xsession
References: <6771F3F3-D07E-414B-BD54-FB5862F08767@dartmouth.edu>
In-Reply-To: <6771F3F3-D07E-414B-BD54-FB5862F08767@dartmouth.edu>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_3ft8905k9ta4";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
tag #149 pending
thanks

On Mo 25 Mär 2013 17:17:33 CET "Matthew L. Dailey" wrote:

> Package: x2goserver
> Version: 4.1.0.0
>
> Greetings,
>
> When launching X sessions, x2goserver-xsession does not source the  
> following files:
>
> /etc/profile
> $HOME/.profile
> /etc/xprofile
> $HOME/.xprofile
>
> This can lead to problems if important things are needed from these  
> files, usually PATH additions. I've looked at a couple of greeters -  
> lightdm and gdm - and each of these source these files within their  
> Xsession script.
>
> So, the fix is to just use the same logic in the Xsession script  
> within x2goserver-xsession. Below (and attached) is a patch based on  
> code from the lightdm Xsession script.
>
> Thanks for your attention and please let me know if you have any  
> questions or need any other information.

Thanks a lot for reporting!!!

Patch has been applied to master branch and release/4.0.0.x branch.

Here is the master branch patch:
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=592a66ce229942afce5fe64fc8690f5e5f48848c

Greets,
Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
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)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 14:45:53 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.