Reconfigure automatic login in ubuntu 9.04 jaunty jackalope

Posted April 30th, 2009 by susan

If you like me upgraded to ubuntu 9.04 jaunty jackalope changes are that you are confronted with a login screen at startup. Here's an easy way to get back your settings to login immediately. If you think this is a security risk, just read the article 10 ways of resetting a lost linux root password and think if you really need to protect against 4 year olds. If you really need security take appropriate measures. To me the login screen is only an annoyance.

Here's how to remove it:

Open a shell and enter:

$sudo gdmsetup

type your password and you'll get the login window preferences window

choose the security tab, and enable automatic login, choose your username and close the window.

Next time you restart you are logged in without typing username and password again.



Black screen

Anonymous 1 year 8 weeks 2 days 11 hours ago

I tried these in a recovery shell
apt-get remove fglrx
apt-get remove xorg-driver-fglrx
apt-get remove compiz-core
as suggested when I researched my problem on Ubuntu forums but all to no avail.
Please help
Thanks

Black screen

Anonymous 1 year 8 weeks 2 days 12 hours ago

Hi, i followed this and now all I get is a black screen. The Ubuntu logo shows up and then just a black screen.
How can I repair or undo this?
Thanks

start by reading your logs

kaikokan 1 year 8 weeks 1 day 12 hours ago

I can't imagine you messed up your configuration by following this. It seems like there is something wrong with your gdm or Xorg configuration. Start reading in /var/log/gdm/
/var/log/Xorg
/var/log/messages
if you see error messages in one of those files, search for those on google
It's probably something simple
try ctrl-alt-F8 to see error messages (ctrl-alt-F7 to get back)
Maybe a faulty /etc/X11/xorg.conf

see if there's a backup xorg.conf in /etc/X11

you can try to reconfigure x:

sudo dpkg-reconfigure xserver-xorg

If you really uninstalled your fglrx driver, I think you should reinstall it.
If you need a package manager on the command line try aptitude

Enabling Automatic Login not possible

Anonymous 1 year 10 weeks 3 days 15 hours ago

I did exactly what you suggested and found that my username does not appear in the drop-down list. The list is actually empty. When I type in my username, I get an error message: "The "piotr" user UID is lower than allowed MinimalUID." I cannot proceed from there. Please help.

minimal UID

susan 1 year 10 weeks 3 days 13 hours ago

seems like your user has a to low uid, see the security settings in the screenshot? Try lowering the minimal uid or even setting the allow system administrator login checkbutton

to above poster: in Jaunty

Anonymous 1 year 11 weeks 5 days 8 hours ago

to above poster: in Jaunty that link is no longer there

ubuntu auto login

Anonymous 1 year 11 weeks 5 days 8 hours ago

what if someone click on log out, will it prompt for a password? Is there a way to lock down the lock out button or can it automatic log in without a password? I try to log out, but it's prompt me the password again.

Thanks for the solution. Is

Anonymous 1 year 11 weeks 5 days 8 hours ago

Thanks for the solution.

Is there a 100% command-line equivalent?

ubuntu automatic login command line

susan 1 year 10 weeks 3 days 12 hours ago

sudo aptitude install rungetty
sudo vi /etc/event.d/tty1
comment out "exec /sbin/getty 38400 tty1"
add line "exec /sbin/rungetty tty1 --autologin username"

using vi:

go to beginning of line you need to comment out:

"/exec"

type i

type #

use esc

type o

type:
exec /sbin/rungetty tty1 --autologin username

use esc button again

type:

:x

now when you restart you'll have a logged in shell on tty1 (ctrl-alt F1 to reach your tty1 1, ctrl-alt F7 to get back to the graphical screen)

OR

Edit /etc/gdm/gdm.conf

AutomaticLoginEnable=true

AutomaticLogin=username

For automatically logging in to the Desktop

auto logon

Anonymous 1 year 14 weeks 6 days 19 hours ago

Very Good, thanks

Ubuntu Automatic Login

Anonymous 1 year 17 weeks 5 days 15 hours ago

You can also get to the Login Window Preferences by going to the menu: System/Administration/Login Window. Then enter your password.