yoti 发表于 2003-9-22 17:05:29

求救,redhat9.0的屏幕保护不能用了

不知道为什么开始安装的时候可以用
但现在我一点首选项里面的屏幕保护就出现
Warning:

The XScreenSaver daemon doesn't seem to be running
on display ":0.0".Launch it now?

请问是怎么回事
要怎么解决呀!

在出问题之前我安装了小企鹅加载了FAT 32格式的D,E,F盘,再也没有干其他非法的事情 :oops:

Kuye 发表于 2003-9-22 18:03:51

xscreensaver 不能以 root 用户权限运行,建议你最好建立一个普通用户供平时自己使用(这也是出于系统安全考虑)。

如果真要以 root 用户权限运行 xscreensaver 你可以先运行 xhost +localhost 然后再运行 xscreensaver

mozilla 发表于 2003-9-22 18:04:30

xscreensaver没启动

newhand1 发表于 2003-9-22 18:08:04

xscreensaver没启动


在那里设置它启动??

mozilla 发表于 2003-9-22 18:10:25

按kuye的做,xscreensaver是个程序

yoti 发表于 2003-9-22 20:03:49

果然是这个问题

不过在root下面好像还是调用不了屏幕保护程序

哈哈!不过没关系了,明白了^

谢谢

我的TNT2的显卡主板是K7S5A的
居然改成sis驱动不了
郁闷呀!
改成NV就又可以驱动了 :lol:

easthero1982 发表于 2003-9-22 20:56:05


我的TNT2的显卡主板是K7S5A的
居然改成sis驱动不了
郁闷呀!
改成NV就又可以驱动了
_________________

sis当然驱动不了啦,sis是主板芯片组,nv是显卡芯片

jiabin79 发表于 2003-12-16 20:42:56

the result is as follows:

ERROR:

Couldn't write /root/.xscreensaver
...
so ,i cant get screensaver!

why?

hew 发表于 2003-12-16 20:48:13

都说root用户不能用了

jiabin79 发表于 2003-12-17 00:02:30

Can you tell me the reason why root user cannt use screesaver?
The thing is i must fix it !

HOUSCOUS 发表于 2003-12-17 00:11:11

When I'm logged in as root, xscreensaver won't lock my screen!
Don't log in as root.

Please note that xscreensaver works fine as a screen saver when you are logged in as root: it will not, however, lock your screen when you are logged in as root. This is for good and insurmountable security reasons.

In order for it to be safe for xscreensaver to be launched by xdm, certain precautions had to be taken, among them that xscreensaver never runs as root. In particular, if it is launched as root (as xdm is likely to do), xscreensaver will disavow its privileges, and switch itself to a safe user id (such as ``nobody''.)

An implication of this is that if you log in as root on the console, xscreensaver will refuse to lock the screen (because it can't tell the difference between root being logged in on the console, and a normal user being logged in on the console but xscreensaver having been launched by the xdm ``Xsetup'' file.)

The solution to this is simple: you shouldn't be logging in on the console as root in the first place! (What, are you crazy or something?)

Proper Unix hygiene dictates that you should log in as yourself, and su to root as necessary. People who spend their day logged in as root are just begging for disaster.

When I'm logged in as root, xscreensaver won't launch at all!
Don't log in as root.

As described above, xscreensaver disavows its privileges if it finds that it is running as root, for security reasons. An unfortunate side-effect of this is that it may conflict with cookie-based authentication.

If the X server is running as one user (e.g., ``root'') and xscreensaver is running as another user (e.g., ``nobody'') then the xscreensaver process might not be allowed to connect to the X display at all, since it isn't running as the same user.

One way around this is to run the command xhost +localhost before launching xscreensaver.

But beware! This will give access to the X server to anyone capable of logging in to the local machine, and in some environments, that could be considered an unacceptable security risk.
页: [1]
查看完整版本: 求救,redhat9.0的屏幕保护不能用了