Support

Alles was Sie wissen müssen.

 

Auf einigen d4e2010-Systemen funktioniert die Ameldung nicht wie gewünscht. Anstatt des vordefinierten Benutzerprofils erscheint ein grüner Bildschirm, die Startleiste unten sieht nicht wie gewohnt aus usw.

Wir empfehlen ausdrücklich folgende Anpassungen vorzunehmen:

  • /etc/gdm/PreSession/Default
#!/bin/sh
#
# Note that any setup should come before the sessreg command as
# that must be 'exec'ed for the pid to be correct (sessreg uses the parent
# pid)
#
# Note that output goes into the .xsession-errors file for easy debugging
#
PATH="/usr/bin:$PATH:/bin:/usr/bin"
OLD_IFS=$IFS

chown -R root:root /tmp/.ICE-unix
chown -R root:root /tmp/.X11-unix
 
chown -R profil:wartung /var/lib/d4e/desktop-profil
rm /var/lib/d4e/desktop-profil/.ICE*
rm -rf /var/lib/d4e/desktop-profil/.gconfd
rm -rf /var/lib/d4e/desktop-profil/.metacity
rm -rf /var/lib/d4e/desktop-profil/.nautilus
rm -rf /var/lib/d4e/desktop-profil/server
 
test -d /home/$USER || mkdir /home/$USER if test "$USER" != "root" && test "$USER" != "profil" && test -d "/home/$USER"; then
LIST=`/bin/ls -a --ignore=server --ignore=. --ignore=.. /home/$USER`
cd /home/$USER
rm -rf $LIST
LIST=`/bin/ls -a --ignore=. --ignore=.. /var/lib/d4e/desktop-profil`
for i in $LIST
do
cp -a /var/lib/d4e/desktop-profil/$i /home/$USER/
chown -R $USER:$GROUP /home/$USER/$i
done
sync
GROUP=`id -ng $USER`
chown $USER:$GROUP /home/$USER
export KDEHOME=/home/$USER/.kde_$USER
export ICEAUTHORITY=/home/$USER/.ICEauthority
export DCOPAUTHORITY=/home/$USER/$USER_DCOPserver-$HOSTNAME_ON_$DISPLAY
fi

gdmwhich () {
....
....
....
  • /etc/init.d/boot.local
LIST=`/bin/ls -a --ignore=. --ignore=.. /home/`
cd /home
rm -rf $LIST
 
LIST=`/bin/ls -a --ignore=. --ignore=.. /tmp/`
cd /tmp
rm -rf $LIST