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 <[email protected]> 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
> [email protected]
> https://lists.berlios.de/mailman/listinfo/x2go-user
> 

_______________________________________________
X2Go-User mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-user

Reply via email to