hello everyone:
i am using CentOS 5.3
the CentOS startup as init3.d, and i write X & in rc.local as follows:
# rc.local
X &
#
when CentOS startup, i can't switch using ctrl+alt+F1, but i could login remote, and find that
X using 100% cpu time.
thank you!
the cpu is used 100% when X startup in rc.local
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
the cpu is used 100% when X startup in rc.local
Don't do that.
Run startx from a console, or configure the system to startup in runlevel 5.
Run startx from a console, or configure the system to startup in runlevel 5.
Re: the cpu is used 100% when X startup in rc.local
but it's ok to start X in shell
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: the cpu is used 100% when X startup in rc.local
It will work to start "X" but is generally preferred to use the "startx" script or boot in runlevel 5 so the display manager runs, as Gerald suggested. It is also highly recommended to [b]not[/b] run X, startx, or otherwise log into a GUI as root.
Re: the cpu is used 100% when X startup in rc.local
thank you very much!
i'll use startx
thanke you
i'll use startx
thanke you