This worked for me.
Thanks!
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...
ORCode:just add this line : su -c root startx in /etc/rc.local save and reboot your system
Install rungetty...
Then, in a terminal type:Code:apt-get install rungetty
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:nano /etc/init/tty1.conf
Once that's done, press Ctrl+O and Enter to saveCode:exec /sbin/rungetty tty1 --autologin root
Next run the following command:
and type "startx" then press Ctrl+O and Enter to save.Code:nano /root/.bash_profile
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? "
This worked for me.
Thanks!
you don't need to install anything....
just add this line : su -c root startx
in /etc/rc.local
save and reboot your system
Just wanted to give an example here, While YoMoZ's is easier to implement, it did not work on my system as I run as a seperate, non unique root user and disabled the normal root account. Mainly because the particular box has SSH exposed to the internet and obviously its much better to not login with 'root'.
In this case the rungetty worked, while the other did not. Thanks for the tutorial.
EDIT: Keep in mind, if you ssh into the box with these settings it will startx as well... If you Ctrl+C it should stop the process, but probably good to know.
Last edited by leg3nd; 05-23-2011 at 06:37 PM.
thanks!!! worked for me too...![]()
I tried both of these methods and couldn't get either to work. After trying the second one I am unable to boot all the way. It gets stuck just before where I would usually type in my user name and password (root and toor). I eventually just reinstalled Backtrack but now I'm back to square one. I'm trying very hard to make backtrack usable as a permanent OS for my netbook but It's the small problums like this that shoot my hopes and dreams down. thoughts appreciated.
Is there a way to just auto startx but not force the login, but imply KDM login gfx?? Been a while lol
yea i already looked in there and my kdm.conf already has exec kdm in it... maybe I am not explaining myself correctly. So I will make it simple, once BT5 boots ups I want it to go straight to the gui login. So it looks like if you were to lock the desktop to sign in.. does that make sense?