QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 480|回复: 6

root为什么不可以?/

[复制链接]
发表于 2003-11-6 11:16:10 | 显示全部楼层 |阅读模式
奇怪,为什么 root反而不能使用屏保?

怎么才能让root可以使用屏保?
发表于 2003-11-6 11:24:53 | 显示全部楼层
kde可以
回复

使用道具 举报

发表于 2003-11-6 11:25:08 | 显示全部楼层
xscreensaver-command -demo
把host 加如 xhost
xscreensaver-command -activate
回复

使用道具 举报

 楼主| 发表于 2003-11-8 00:05:10 | 显示全部楼层
[root@localhost bin]# xhost + xscreensaver-demo-activate
xhost:  bad hostname "xscreensaver-demo-activate"


??error
回复

使用道具 举报

 楼主| 发表于 2003-11-10 15:00:25 | 显示全部楼层
Ivn版主你所说的xhost怎么用呢??
回复

使用道具 举报

发表于 2003-11-19 15:09:26 | 显示全部楼层
[quote:164ad8109c="newhand1"][root@localhost bin]# xhost + xscreensaver-demo-activate
xhost:  bad hostname "xscreensaver-demo-activate"


??error[/quote]

抱歉我没有讲清楚。
在 debian or redhat 上:
xhost +localhost
xscreensaver &
xscreensaver-command -activate

localhost 是你主机的 alias 如果你主机没有名字就用 localhost。
如果 xscreensaver  & 启动没有错误, 就可以用 xscreensaver-command -activate 激活 screensaver 了。
回复

使用道具 举报

发表于 2003-11-19 15:15:44 | 显示全部楼层
[quote:1d8644a9f9="newhand1"][root@localhost bin]# xhost + xscreensaver-demo-activate
xhost:  bad hostname "xscreensaver-demo-activate"


??error[/quote][quote:1d8644a9f9="newhand1"][root@localhost bin]# xhost + xscreensaver-demo-activate
xhost:  bad hostname "xscreensaver-demo-activate"


??error[/quote]

抱歉我没有讲清楚。
在 debian or redhat 上:
xhost +localhost
xscreensaver &
xscreensaver-command -activate

localhost 是你主机的 alias 如果你主机没有名字就用 localhost。
如果 xscreensaver  & 启动没有错误, 就可以用 xscreensaver-command -activate 激活 screensaver 了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-30 19:35 , Processed in 0.051925 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表