Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: How to autologin / auto startx / auto booting

  1. #11
    Junior Member
    Join Date
    Sep 2007
    Posts
    81

    Default -

    I havnt tried this but in point 3 in this thread you might find what you search for.
    http://forums.remote-exploit.org/bac...agon-icon.html


    Code:
    3) Howto GUI Login Menu:
    
    Code:
    
    sudo apt-get install kdm-kde3
    
    Ignore any errors. there should only be two lines of it fyi. Reboot and you will get a plain GUI login menu for kde that has welcome message for Kubuntu but these are customisable under:
    KMenu > System > Settings > System Administration > Login Manager

  2. #12
    Junior Member
    Join Date
    Jan 2010
    Posts
    76

    Default

    opened a terminal and typed
    apt-get install rungetty

    Then nano /etc/event.d/tty1 and edited the last line
    Code:

    #exec /sbin/getty 38400 tty1
    exec /sbin/rungetty tty1 --autologin root

    then nano /root/.bash_profile
    Code:

    startx


    now it autologs in and boots by itself

    i have bt4 pre realease in my laptop acer aspire one i installed thru install.sh and ask me for a user name <manulu> and a password but i whant allways to boot as root with this proces it's possible?

  3. #13
    Just burned his ISO
    Join Date
    Sep 2009
    Posts
    4

    Default

    Quote Originally Posted by micked View Post
    Code:
    3) Howto GUI Login Menu:
    
    Code:
    
    sudo apt-get install kdm-kde3
    
    Ignore any errors. there should only be two lines of it fyi. Reboot and you will get a plain GUI login menu for kde that has welcome message for Kubuntu but these are customisable under:
    KMenu > System > Settings > System Administration > Login Manager
    I found it too, but when I do it, then I have log in GUI but after I log in I have only blue wallpaper and small text console window in left upper corner.

  4. #14
    Just burned his ISO
    Join Date
    Mar 2009
    Posts
    4

    Default

    Whoops, double post :x

    People people,

    Why should you install all kinds of new unneccary software???

    First you need to setup a root password, you can do this by entering the root enviroment. You can do this by typing 'sudo su' in a prompt. After you have succesful enterred the root enviroment you can change your password with the following command: 'passwd'

    Now we need to edit /etc/rc.local with a texteditor, like VI or nano.

    Add the following line before the 'exit 0' line.
    -------------------
    su root -c startx
    -------------------

    Save & reboot, and voila no more login prompt.

  5. #15
    Junior Member
    Join Date
    Jan 2010
    Posts
    76

    Default

    Gracias >agrix< tu informacion me funciono

  6. #16
    Junior Member najib's Avatar
    Join Date
    Jul 2008
    Posts
    52

    Talking @Micked

    How do I come back
    to the situation before configuring the auto boot ?
    If sometime I change my mind

    NjB

  7. #17
    Just burned his ISO
    Join Date
    Mar 2009
    Posts
    4

    Default

    .. remove this post please

  8. #18
    Just burned his ISO
    Join Date
    Feb 2010
    Location
    Chicago, IL
    Posts
    17

    Default

    Edit:

    Got this all working no-problem, thanks for the tips!

  9. #19
    Just burned his ISO
    Join Date
    Oct 2006
    Posts
    9

    Default

    Quote Originally Posted by agrix View Post

    Add the following line before the 'exit 0' line.
    -------------------
    su root -c startx
    -------------------

    Save & reboot, and voila no more login prompt.

    thank you, this works.
    but I want to run startx as a user, not as root...

    How do i do that? I mean automatically...

  10. #20
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    2

    Default Verify that root wants to startx

    Instead of:

    Code:
    startx
    I did this:

    Code:
    echo "Start X?"
    read ANS
    [[ $ANS == "Y" || $ANS == "y" ]] && startx

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •