Hello. I am a very long user of gnome, but I decided to try and maybe switch to kde4. I have ubuntu and switched to the kubuntu desktop.
Anyway, I have a special configuration at home where I mount NFS shares with /etc/gdm/PostLogin/Default file where I have something like :
SERVER=server;
DREAMBOX=dreambox;
CLIENT=mordor;
mkdir $HOME/Films;
mount -t nfs -o user,rw,rsize=8192,wsize=8192,timeo=14,intr,hard $SERVER:/home/data/movies $HOME/Films;
MOUNTERR=$?;
if [ $MOUNTERR = 0 ] ; then
mkdir $HOME/Musique;
mount -t nfs -o user,rw,rsize=8192,wsize=8192,timeo=14,intr,hard $SERVER:/home/data/music $HOME/Musique;
...etc...
This mounts NFS shares to the mordor desktop. This script works fine with gnome.
I copied the same part in Xstartup and the mount is ok, but the mounts appear in
/Films instead of $HOME/Films etc...
as the script did not recognize the $HOME variable !
This is very surprising since this is a "system" variable and should be understood ! I found $HOME in the Xsession file so ...
Please do you have an idea why $HOME variable is not known ? This is very annoying
...