startx automatic?
I have a problem that every time when I start my linux it didn't show up it grahpic mode .I have to login in textmode first and then type: startx to get in grahic mode.
I try to edit in 'init' set level 5 default and 'telinit 5' but it didn't work. What should I do? Thanks. |
I believe you just need to edit your /etc/inittab file, and change the line:
id:3:initdefault: to: id:5:initdefault: |
Quote:
|
Erm no, as root just cd to /etc, then vi inittab :)
Trust me, I just did it! (Personal victory over VI btw) :D |
Quote:
: ) if you don't know, just go and check /etc/rc5.d/ ; ) |
Hmm, ok so in theory you need a graphical login manager, but why would you startx without one? :confused:
I asume Lanif has one already anyway as he just wants to automate getting in to it :P |
Quote:
And as you say, you 'assume' that the gui login is setup. That's what my original post said. If you boot into runlevel 5, but there is no gui login to welcome you, the script may go into some wacky infinite loop of searching for one, or if the inittab was written rather inteligently, it may try to drop you to runlevel 3, or even 1. |
All times are GMT -5. The time now is 02:30 PM. |