Linux tip, Fedora tip / howto: Enabling automatic login and automatic wireless connection in Fedora 12

 
Note that these tips are mostly outdated


back to notes and tips index

Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.

Enabling automatic login and automatic wireless connection in Fedora 12

I have Fedora 12 installed on an Eee 901, and when I turn it on, I just want it to login automatically using a dummy "wifi" user, and connect to my wireless network. Unfortunately this is not straight-forward to configure: you have to edit a configuration file, and disable the hassling you get about the "default keyring password". To enable automatic login:
  • as root, edit /etc/gdm/custom.conf
  • set the [daemon] section to read:
    [daemon]
    AutomaticLoginEnable=true
    AutomaticLogin=wifi

    (my dummy user is called "wifi")

To get rid of the annoying default keyring password dialog (I even forgot the actual password...):

  • clear your keyrings:
    rm ~/.gnome2/keyrings/*
    (the only keyring I had in there was login.keyring)
  • reboot: you'll be asked your wifi password, enter it
  • then you're asked for a default keyring password: just leave it empty, and confirm that you want to use "unsafe passwords"

That's it, upon next boot the wifi user (in my case) is logged in automatically, and the actual wifi connection is made automatically.


← back to notes and tips index
Please do not copy the text of this tip (© Patrick Min) to your web site.