[X2Go-Dev] Bug#149: Bug#149: Profile files not being sources in x2goserver-xsession

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Mon Mar 25 22:41:16 CET 2013


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 at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130325/56deb4e5/attachment.pgp>


More information about the x2go-dev mailing list