![](https://iknow-base.cdn.bcebos.com/lxb/notice.png)
LINUX启动startx 出错
报错信息Errorsfromxkbcomparenotfataltothexserverlocaluser:rootbeingaddedtoaccesscontrolli...
报错信息
Errors from xkbcomp are not fatal to the x server
localuser:root being added to access control list
No profile for user 'root' found
/usr/bin/ssh-agent: error while loading shared libraries:libnss3.so: cannot open shared object file:NO suchsu file or directory
Output CRT1 disable success
Blank CRTC 0 sucess
Disable CRTC 0 sucess
Blank CRTC 1 sucess
Disable CRTC 1 sucess
waiting for X server to shut down Enable CRTC 0 sucess
Unblank CRTC 0 sucess
FreeFontPath:FPE "unix/:7100" refcount is 2, should be 1;fixing.
系统版本是 redhat 企业版5.4 展开
Errors from xkbcomp are not fatal to the x server
localuser:root being added to access control list
No profile for user 'root' found
/usr/bin/ssh-agent: error while loading shared libraries:libnss3.so: cannot open shared object file:NO suchsu file or directory
Output CRT1 disable success
Blank CRTC 0 sucess
Disable CRTC 0 sucess
Blank CRTC 1 sucess
Disable CRTC 1 sucess
waiting for X server to shut down Enable CRTC 0 sucess
Unblank CRTC 0 sucess
FreeFontPath:FPE "unix/:7100" refcount is 2, should be 1;fixing.
系统版本是 redhat 企业版5.4 展开
展开全部
意思就是你没把命令加入环境变量,所以命令用不起
你可以使用命令的绝对路径
:
/usr/bin/startx
不过为了你下次登陆,你还是应该把它加到环境变量中
命令如下:
vi
/root/.bash_profile
然后再打开的文件中加入
PATH=$PATH:/usr/bin
export
保存退出
现在可以激活它输入
source
/root/.bash_profile
不出意外就可以使用startx了
你可以使用命令的绝对路径
:
/usr/bin/startx
不过为了你下次登陆,你还是应该把它加到环境变量中
命令如下:
vi
/root/.bash_profile
然后再打开的文件中加入
PATH=$PATH:/usr/bin
export
保存退出
现在可以激活它输入
source
/root/.bash_profile
不出意外就可以使用startx了
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询