mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: June 17 2005,19:44 |
|
That's something that i took care of long ago. I don't like automatically going into X, so removed startx from .bash_profile.
That said, I found a solution that works for me...don't know if it would work for you. What I had posted earlier only worked because i switched to runlevel 2 and then back to runlevel 5. If the edited inittab was part of a backup, it does not automatically work because init has already run long before backups are restored. So what i did was add "telinit q" to /opt/bootlocal so that /etc/inittab will be re-read after the file is restored from backup. As long as startx is removed from the picture, the result is four terminals logged in as user dsl. Manually entering 'startx', as i typically do anyway, gives me an X session plus three extra terminals. The only difference now between this and the standard setup is that the terminals are already logged in. I'll have to look into that a bit more to see if there is a way around it in DSL.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|