Howto autologin w/ GDM3 (not running full Gnome) Discussion

Discuss a HowTo.

Moderator: How-to Curator

Howto autologin w/ GDM3 (not running full Gnome) Discussion

Postby bmc5311 » October 30th, 2011, 6:31 pm

MacBook Air / sid amd64 / gnome shell
broken hpdv6200 motherboard screwed to the wall in my garage / sid amd64 / gnome shell
http://img823.imageshack.us/i/garagecomputer.jpg/
User avatar
bmc5311
 
Posts: 458
Joined: February 12th, 2011, 1:07 am
Location: lost in the vast machine

Re: Howto autologin w/ GDM3 (not running full Gnome) Discuss

Postby fsmithred » November 6th, 2011, 10:17 am

If you'd also like to be logged in automatically when you drop to console (ctrl-alt-F1, F2-F6) you can edit /etc/inittab.

Replace the following lines
Code: Select all
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

with these
Code: Select all
1:2345:respawn:/bin/login -f user </dev/tty1 >/dev/tty1 2>&1
2:23:respawn:/bin/login -f YOUR_LOGIN_NAME </dev/tty2 >/dev/tty2 2>&1
3:23:respawn:/bin/login -f YOUR_LOGIN_NAME </dev/tty3 >/dev/tty3 2>&1
4:23:respawn:/bin/login -f YOUR_LOGIN_NAME </dev/tty4 >/dev/tty4 2>&1
5:23:respawn:/bin/login -f YOUR_LOGIN_NAME </dev/tty5 >/dev/tty5 2>&1
6:23:respawn:/bin/login -f YOUR_LOGIN_NAME </dev/tty6 >/dev/tty6 2>&1

and then run this command (or reboot)
Code: Select all
init q
fsmithred
 
Posts: 193
Joined: February 11th, 2011, 4:14 am


Return to HowTo Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

x