Noodlecode parody of spaghetti code

Auto login & skip unlock keyring

To set auto login in Fedora (12), as root:

Backup gdm.schemas first

cp /etc/gdm/gdm.schemas /etc/gdm/gdm.schemas.orig

Edit gdm.schemas, change these values accordingly:

vim /etc/gdm/gdm.schemas
<schema>
<key>daemon/AutomaticLoginEnable</key>
<signature>b</signature>
<default>true</default>
</schema>
<schema>
<key>daemon/AutomaticLogin</key>
<signature>s</signature>
<default>username</default>
</schema>

To skip unlock keyring (suppose you’re connecting to internet through wireless network)

Remove default keyring

cd ~/.gnome2/keyrings
rm -f *

Re-login, enter wireless passphrase, and set empty keyring (don’t enter any keyring password)

Categories: Notes

Invincible Youth Ep. 24 » « Star Golden Bell Ep. 278

2 Comments

  1. thanks. works like charm.

  2. Thank you! Now I can remotely restart my amahi server and vnc into it without entering any passwords.

Leave a Reply

Your email address will not be published.

*

Copyright © 2017 Noodlecode