nowind 发表于 2004-5-4 19:16:52

怎么设置类似windows下的电源管理?

我的linux10分钟不用,桌面就黑了,又要碰一下鼠标才恢复过来,昨天我在开始-首选项-屏幕保护程序里2个都选了720minutes,怎么现在还是不行?
我是菜鸟,请指教.先谢谢了 !

Ivn 发表于 2004-5-4 23:48:06

Blank after --> 10 m
是这个, 和电源无关.

nowind 发表于 2004-5-5 11:39:15

是啊,我就是2个都选了720,结果还是不行,不过开始进"屏幕保护时出现警告,不知道是什么意思.
Warning:
         The XScreenSaver daemon doesn't seem to be running on display ":0.0".Launch it now?
请指教

nowind 发表于 2004-5-5 15:07:07

救命啊!

Ivn 发表于 2004-5-5 17:46:30

man xscreensaver 看看吧,

=================
我地 ~/.xscreensaver


timeout:      0:10:00
cycle:          0:10:00
splash:         False
mode:         random
dpmsEnabled:    False

Ivn 发表于 2004-5-5 17:50:55

我想你只需要修改 timeout 就可以了, 格式 H:M:S 不用说了吧.

GGGO 发表于 2004-5-5 22:59:04

是啊,我就是2个都选了720,结果还是不行,不过开始进"屏幕保护时出现警告,不知道是什么意思.
Warning:
         The XScreenSaver daemon doesn't seem to be running on display ":0.0".Launch it now?
请指教

root不能用屏保。。。好悲哀啊,权力最大,居然不能用屏保 :mrgreen:

nowind 发表于 2004-5-6 11:58:13

果然,用其它用户登录屁事都没有了

ganloo 发表于 2004-5-7 11:47:35

Root can run xscreensaver for sure, please try:
1st method (short):

when login as root:
Code:

export DISPLAY=:0.0
export XAUTHORITY=/home/other_user/.Xauthority


2nd method (long):

- install ssh
- change sshd config to enable X11 forwarding
- (mandatory for security) block ssh from outer hosts with your firewall
- run sshd at startup
- login with:

Code:

ssh -X -l root localhost

There are always many ways to do the same thing under linux, Choice is great!
页: [1]
查看完整版本: 怎么设置类似windows下的电源管理?