[X2Go-User] NX lib path issue prevents Xubuntu 11.10 sessions from starting
christoffer krakou
christoffer at fleten.net
Wed Feb 29 10:22:18 CET 2012
Hello everyone
I have managed to come up with a somewhat simple fix for this issue,
that works for every desktop. I edited the $HOME/.bashrc file on the
server to change the following:
1. comment out the line that says
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
to make the bashrc run during ssh also
2. append "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nx/X11" to
the end of the file.
This works on a per-user basis. putting the line in /etc/profile dosnt
make it work globally.
On 02/29/2012 09:06 AM, christoffer krakou wrote:
> I'm using Unity as a desktop environment. It seems that the command to
> start it is gnome-session --session=ubuntu or something. i'll play
> around and see what i can get out of it. Thanks!
>
> On 02/28/2012 04:46 PM, Benjamin Shadwick wrote:
>> Christoffer,
>>
>> Which desktop environment are you using? (XFCE, KDE, Gnome, etc.)
>>
>> Since I'm using Xubuntu, I made a script in my home directory named
>> xubuntu.sh that I think looks something like this (doing it from memory,
>> since I'm not at home):
>>
>> #!/bin/bash
>> export XDG_CONFIG_DIRS='/etc/xdg/xdg-xubuntu:/etc/xdg'
>> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nx/X11
>> exec /usr/bin/startxfce4
--
Venlig Hilsen / Best Regards
Christoffer Krakou
Fleten.net APS
More information about the x2go-user
mailing list