QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 941|回复: 10

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

[复制链接]
发表于 2003-9-22 17:05:29 | 显示全部楼层 |阅读模式
不知道为什么开始安装的时候可以用
但现在我一点首选项里面的屏幕保护就出现
Warning:

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

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

在出问题之前我安装了小企鹅加载了FAT 32格式的D,E,F盘,再也没有干其他非法的事情
发表于 2003-9-22 18:03:51 | 显示全部楼层
xscreensaver 不能以 root 用户权限运行,建议你最好建立一个普通用户供平时自己使用(这也是出于系统安全考虑)。

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

使用道具 举报

发表于 2003-9-22 18:04:30 | 显示全部楼层
xscreensaver没启动
回复

使用道具 举报

发表于 2003-9-22 18:08:04 | 显示全部楼层
[quote:610ac86190="mozilla"]xscreensaver没启动[/quote]


在那里设置它启动??
回复

使用道具 举报

发表于 2003-9-22 18:10:25 | 显示全部楼层
按kuye的做,xscreensaver是个程序
回复

使用道具 举报

 楼主| 发表于 2003-9-22 20:03:49 | 显示全部楼层
果然是这个问题

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

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

谢谢

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

使用道具 举报

发表于 2003-9-22 20:56:05 | 显示全部楼层
我的TNT2的显卡主板是K7S5A的
居然改成sis驱动不了
郁闷呀!
改成NV就又可以驱动了
_________________

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

使用道具 举报

发表于 2003-12-16 20:42:56 | 显示全部楼层
the result is as follows:

ERROR:

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

why?
回复

使用道具 举报

发表于 2003-12-16 20:48:13 | 显示全部楼层
都说root用户不能用了
回复

使用道具 举报

发表于 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 !
回复

使用道具 举报

发表于 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.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-30 13:21 , Processed in 0.036961 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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