Hi,

for autologin (and normal login too), you can put your script to
~/.xsessionrc file, which is sourced in session's start. I have in this
file:

if [ $XAUTHORITY -a -r $XAUTHORITY ]; then
    cp $XAUTHORITY $HOME/.Xauthority
else
    logger -t "SHELL_FILES" "$(date +%T) - some useful message"
fi

regards

-- 
s pozdravom

Slavko
http://slavino.sk

Attachment: signature.asc
Description: PGP signature

Reply via email to