force login at boot up?

Discussion in 'Linux' started by Diverted Income, Feb 25, 2009.

  1. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    How can I force a login at boot up? I must login if it goes to sleep but not at boot up.
     
    Diverted Income, Feb 25, 2009
    #1
  2. Diverted Income

    NeilB

    Joined:
    Sep 17, 2008
    Messages:
    20
    Likes Received:
    0
    I have done it...used the instructions at 'The Road to Elysium'

    Disabling autologin


    Warning: Take caution when commenting out lines, and inserting new ones. The lack of a single character may render your system useless.
    Open the file named /etc/rc.d/rc.S and comment out the following line:
    /usr/bin/xinit -- -br>/dev/null 2>&1 &

    Like this:
    #/usr/bin/xinit -- -br>/dev/null 2>&1 &

    Below this line, insert the following:
    /usr/sbin/gdm

    And that’s that. The username is user and the password is whatever you set it to be during the installation.

    Should you for some reason be unlucky enough to forget to add /usr/sbin/gdm to the file, but still commented out /usr/bin/xinit — -br>/dev/null 2>&1 &, and rebooted, do what David here did.
     
    NeilB, Feb 25, 2009
    #2
  3. Diverted Income

    Diverted Income

    Joined:
    Aug 6, 2008
    Messages:
    31
    Likes Received:
    0
    Ok I'll give it a try. How about adding multiple users???
    thanks!
     
    Diverted Income, Mar 2, 2009
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.