Originally Posted by
w1zard
Worked great for me too - if anyone else wants to do this, it's just a few easy steps:
Open Accessories->LXTerminal
Type the text below and hit enter
Code:
sudo leafpad /etc/lxdm/default.conf
Type your password when prompted, and hit enter again.
Add this line to the text beneath the [base] section, substituting your username:
Code:
autologin=myusername
Save the file, and you're done!
Thanks for the advice
your suppose to use "gksudo" for graphical programs, then you can just use your alt+f2 run command.
i actually use a script for mine in /usr/local/bin which overides the leafpad command, i have nopasswd set in sudoers for it:
Code:
#!/bin/bash
test=`stat -c %U "$@"`
if [ "$test" == "root" ]; then
gksudo /usr/bin/leafpad "$@" &
else
/usr/bin/leafpad "$@" &
fi
exit 0
makes life easy.
Bookmarks