mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: June 04 2005,23:15 |
|
It IS true, but you are correct as well. What you're looking at is root's .bash_profile, which in runlevel 5 (the default) switches to user dsl. This in turn runs /home/dsl/.bash_profile, which starts the x session. Remove 'startx' from /home/dsl/.bash_profile and you will be left in textmode. init 2 begins a single-user session as root, which is fine for maintenance but you really should not depend on a root session for day-to-day use.
Honestly I wasn't aware that root had a .bash_profile, since there are no files in /root at startup.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|