Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a single kernel with 2 menu entries in grub like following:

Boot(gfx) Boot(text)

First entry boot the fedora in graphical mode running the gnome. Second entry boot the fedora in text mode.

First thing is working fine but i want to know how to do the second thing. i added 3 at the end of second entry in syslinux.cfg and after booting it dropped me at console asking for login.

So how to autologin in runlevel 3 and start autostart an application(e.g python script)?

share|improve this question
up vote 0 down vote accepted

The following solution is for Fedora 13, not test on other versions.

Open tty.conf in /etc/init/ and replace the following line

exec /sbin/mingetty $TTY


exec /sbin/mingetty --autologin root --noclear $TTY

The above change will do an autologin for you.

Now change the .bash_profile file and add entries to autostart your application, for example:

cd /MyApp


The solution is tested and working well.

Note: The above solution is not mine, a friend suggested it to me, So all credit goes to him. I am just posting here for the benefit of others.

share|improve this answer

You must log in to answer this question.

protected by BinaryMisfit Feb 24 '11 at 18:06

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .