On 3 May 2010 06:43, Petr Vanek <[email protected]> wrote:
>
> On Mon, 3 May 2010 06:40:04 +0200
> Petr Vanek <[email protected]> (PV) wrote:
>
> PV> KM> On reboot enlightment asked for the language, like it never ran
> PV> KM> before. I got to choose Illume2 as illume theme, then the screen
> PV> KM> blanked to white and stayed so. I still could log-in via usb.
> PV> KM> After a second reboot the dektop is fine, though.
> PV>
> PV> haven't had time to investigate further but i think / was your home
> PV> for that while... after reboot, you might have to remove some files
> PV> from / to clean that mess...
> PV>
> PV> Petr
>
> OK, after reboot, still the same - root has no HOME set in X i guess as
> via ssh it does ...
The reason for this mess is the "optimized" /etc/init.d/xserver-nodm,
which tries to start the X server in background. It does a ".
/etc/profile" to set some variables, like $HOME.
Now in /etc/profile, there is the second reason:
if [ "$HOME" = "" ] ; then
export HOME=/home/root
fi
Change this to:
if [ "$HOME" = "" -o "$HOME" = "/" ] ; then
export HOME=/home/root
fi
And the world looks a bit better again.
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user