[X2Go-User] user profile not loaded on login to remote ubuntu machine, x2go server with gnome-fallback-session
Matthew L. Dailey
matthew.l.dailey at dartmouth.edu
Mon Mar 25 17:44:27 CET 2013
Hi Mike,
I submitted the bug (with a patch :-) ) a little while ago.
-Matt
On Mar 22, 2013, at 2:28 PM, Mike Gabriel <mike.gabriel at das-netzwerkteam.de> wrote:
> Hi Matthew,
>
> can you report this (under your name) to X2Go BTS?
> http://wiki.x2go.org/doku.php/wiki:bugs
>
> This has to be fixed upstream in x2goserver-xsession!
>
> Thanks,
> Mike
>
> On Fr 22 Mär 2013 18:43:27 CET "Matthew L. Dailey" wrote:
>
>> Sean:
>>
>> We had this exact problem when rolling out X2Go. Since X2Go doesn't actually spawn a login session, /etc/profile doesn't get sourced (and neither does ~/.profile).
>>
>> To fix this for all users, we added a script in /etc/X11/Xsession.d/90read_profile that looks like this:
>>
>> # Source /etc/profile and $HOME/.profile
>> # This should fix path issues in X2Go sessions
>> if [ -r /etc/profile ]; then
>> source /etc/profile
>> fi
>> if [ -r $HOME/.profile ]; then
>> source $HOME/.profile
>> fi
>>
>> To do this for just one user, you could theoretically put this same script in $HOME/.xsession - I haven't tried this myself.
>>
>> I hope this helps.
>>
>> --
>> Matthew L. Dailey
>> Systems Administrator
>> Thayer School of Engineering
>> Dartmouth College
>>
>> On Mar 22, 2013, at 8:29 AM, Sean van Buggenum <svaens at gmail.com> wrote:
>>
>>> user profile not loaded on login to remote ubuntu machine,
>>> x2go server with
>>> gnome-fallback-session
>>>
>>> Hi all,
>>>
>>> Last night I setup the x2go qt-client and server on my home and work ubuntu
>>> 12.04/Unity machines.
>>>
>>> Connection speed is great, and I am able to login mostly without trouble,
>>> except, my login user profile (found at .profile) is not loaded,
>>> meaning of course that none of the items i need to be on my PATH can be found.
>>>
>>> As a work-around, I simply load it manually (source ~/.profile)
>>> and restart any applications using the current profile
>>> (nautilus, terminals etc).
>>>
>>> However, i'd prefer not to have to implement this work-around,
>>> if there is a way
>>> to properly fix it, or have some automated process load it for me.
>>>
>>> FYI, i've installed x2goserver and x2goserver-xsession on the server,
>>> and the QT4 x2goclient on the client.
>>>
>>> Does anyone have any idea?
>>>
>>> Kind Regards,
>>>
>>> Sean
>>>
>>>
>>> _______________________________________________
>>> X2Go-User mailing list
>>> X2Go-User at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/x2go-user
>>>
>>
>> _______________________________________________
>> X2Go-User mailing list
>> X2Go-User at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/x2go-user
>>
>
>
>
> --
>
> 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_______________________________________________
> X2Go-User mailing list
> X2Go-User at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-user
More information about the x2go-user
mailing list