View previous topic :: View next topic |
Author |
Message |
navy
Joined: 08 Mar 2008 Posts: 26
小企鹅: 679
|
Posted: 2008-Mar-13 Thu, am9:30 |
|
Post subject: 每次REBOOT以后,不自动进入桌面环境 |
|
现在每次都需要在一堆窗口的环境下
在LOGIN的地方键入
ROOT
显示BAD COMMAND OR FILENAME
然后STARTX
才可以进去
有啥办法解决?? |
|
Back to top |
|
navy
Joined: 08 Mar 2008 Posts: 26
小企鹅: 679
|
Posted: 2008-Mar-13 Thu, am9:38 |
|
Post subject: |
|
莫名其妙地又好了
哪位DX来解释一下  |
|
Back to top |
|
btest
Joined: 22 Nov 2007 Posts: 175
小企鹅: 4014
|
Posted: 2008-Mar-13 Thu, am10:10 |
|
Post subject: |
|
在/etc/rc.d/rc最后加上,记得要放在exit 0之前
if [ $runlevel -eq 5 ]; then
export HOME=/home/root
/usr/X11R6/bin/startx
fi _________________ http://btest.blog.ubuntu.org.cn/ |
|
Back to top |
|
navy
Joined: 08 Mar 2008 Posts: 26
小企鹅: 679
|
Posted: 2008-Mar-13 Thu, am11:43 |
|
Post subject: |
|
搞定了,感谢 |
|
Back to top |
|
btest
Joined: 22 Nov 2007 Posts: 175
小企鹅: 4014
|
|
Back to top |
|
|