hello I installed lubuntu-desktop on an old computer for my cousins kids
from the lucid mini.iso
can someone help me set up auto login for them?
hello I installed lubuntu-desktop on an old computer for my cousins kids
from the lucid mini.iso
can someone help me set up auto login for them?
Last edited by JUSTINBEAIRD; May 4th, 2010 at 09:00 AM.
/etc/lxdm/default.conf
just uncomment to activate it & put your name.
mine looks like this.
Last edited by kerry_s; May 21st, 2010 at 03:37 PM.
thanks, it works for me![]()
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
Type your password when prompted, and hit enter again.Code:sudo leafpad /etc/lxdm/default.conf
Add this line to the text beneath the [base] section, substituting your username:
Save the file, and you're done!Code:autologin=myusername
Thanks for the advice![]()
Last edited by w1zard; May 11th, 2010 at 10:42 AM.
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:
makes life easy.Code:#!/bin/bash test=`stat -c %U "$@"` if [ "$test" == "root" ]; then gksudo /usr/bin/leafpad "$@" & else /usr/bin/leafpad "$@" & fi exit 0![]()
Last edited by kerry_s; May 21st, 2010 at 03:37 PM.
Thanks for the tips! This certainly makes life easier![]()
I got some sort of an error message at reboot saying something about xsession missing and not finding fallback session so I had to remove it again. Someone know what went wrong?
from http://www.itworld.com/operating-sys...tic-login-mode
In Ubuntu releases starting with 12.04, however, you need to edit a different file. With the new display manager, lightdm, a different file is used to manage this setting. So, you edit the /etc/lightdm/lightdm.conf file instead.
lightdm is an X display manager that is fast, extensible and provides the ability to use multiple desktops -- like lubuntu and OpenBox. The lightdm.conf file, after your changes, will look something like this. Note the lack of # signs on the autologin lines:
[SeatDefaults]
autologin-user=spongebob
autologin-user-timeout=0
user-session=Lubuntu
greeter-session=lightdm-gtk-greeter
You can switch back to the using a username and password to log in in by reversing the changes described above. Put the comment markers back in front of the autologin lines and reboot.
Bookmarks