LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   auto-login to text-mode? (https://www.linuxquestions.org/questions/fedora-35/auto-login-to-text-mode-261633/)

kola 12-02-2004 03:15 AM

auto-login to text-mode?
 
I hope this is possible. Im trying to figure how i'd go about auto-logging in under FC2, but to text mode, not GUI.

Anyone?

kl0378 12-02-2004 05:37 AM

as root, open /etc/inittab
edit this line: (somewhere around line 18)
id:5:initdefault:
change it to:
id:3:initdefault:
There are more options, which should be stated just above this line. Don't change it to 6 :)

-kl0378

kola 12-02-2004 05:42 AM

Quote:

Originally posted by kl0378
as root, open /etc/inittab
edit this line: (somewhere around line 18)
id:5:initdefault:
change it to:
id:3:initdefault:
There are more options, which should be stated just above this line. Don't change it to 6 :)

-kl0378

That will only make the system start in text mode. I want to log a user in also, without having to do it manually, and without booting into gnome et al.

The original question was a little unclear, sorry.


lee

kl0378 12-02-2004 05:56 AM

sorry, didn't read your question properly,

the only thing you should change now, after the id:3 thing, is in the same /etc/inittab file,
1:2345:respawn:/sbin/mingetty tty1
change it to:
1:2345:respawn:/sbin/mingetty --autologin root tty1
of course, change root to another user,
hope this works for you,
-kl0378

lalithasankh 06-14-2010 05:46 AM

Quote:

Originally Posted by kl0378 (Post 1326367)
sorry, didn't read your question properly,

the only thing you should change now, after the id:3 thing, is in the same /etc/inittab file,
1:2345:respawn:/sbin/mingetty tty1
change it to:
1:2345:respawn:/sbin/mingetty --autologin root tty1
of course, change root to another user,
hope this works for you,
-kl0378

but in /etc/inittab
there is no such line 1:2345:respawn:/sbin/mingetty tty1

please tell me how did you solve this


All times are GMT -5. The time now is 08:49 AM.