Results 1 to 10 of 14

Thread: [HOW-TO] BT5 Automatically: Login / Startx

Threaded View

  1. #1
    Junior Member Deadboy's Avatar
    Join Date
    May 2009
    Location
    Louisiana
    Posts
    39

    Default [HOW-TO] BT5 Automatically: Login / Startx

    Firstly, I know this is a "How-To" and not a fix but when I tried to start a thread in the "How-To's" section it said I have insufficient privileges, so mods feel free to move this thread if you like.

    So, I'll just start with a disclaimer to avoid numerous reply's by saying, Auto logging in as root is not advisable. Do this at your own risk.


    UPDATE: YoMoZ's post describes the simplest way to auto log-in & startx...
    Code:
    just add this line : su -c root startx 
    in /etc/rc.local
    save and reboot your system
    OR

    Install rungetty...
    Code:
    apt-get install rungetty
    Then, in a terminal type:
    Code:
    nano /etc/init/tty1.conf
    use the arrow keys to move down to the last line and add a " # " before the line "exec /sbin/getty -8 38400 tty1" ...then copy and paste the following line below it:
    Code:
    exec /sbin/rungetty tty1 --autologin root
    Once that's done, press Ctrl+O and Enter to save

    Next run the following command:
    Code:
    nano /root/.bash_profile
    and type "startx" then press Ctrl+O and Enter to save.

    That's it. Reboot!
    Last edited by Deadboy; 05-25-2011 at 10:55 AM.
    "Why is it drug addicts and computer afficionados are both called users? "

Similar Threads

  1. Modify: Startx automatically, add apt, etc
    By Imrhien in forum BackTrack 5 Beginners Section
    Replies: 7
    Last Post: 08-08-2011, 02:20 PM
  2. Startx: user login problem
    By zer0nymous in forum OLD Newbie Area
    Replies: 5
    Last Post: 04-05-2010, 06:41 PM
  3. How do I setup BackTrack to start the GUI automatically, and give me a GUI login?
    By balding_parrot in forum Frequently Asked Questions
    Replies: 0
    Last Post: 02-28-2010, 06:39 AM
  4. Adduser, login as user, startx = doesn't work
    By holdmypocket in forum OLD Newbie Area
    Replies: 4
    Last Post: 04-21-2008, 02:37 PM
  5. set static ip to hdd install & startx automatically
    By BitLocker in forum OLD BT3beta Software related issues
    Replies: 3
    Last Post: 04-02-2008, 09:17 PM

Posting Permissions

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