XScreenSaver display”:0.0” Err
Warning: The XScreenSaver daemon doesn\'t seem to be running on display \":0.0\".
硬體: ThinkPad X30
OS: FreeBSD relaxbsd 6.0-STABLE
Xwin: GNOME 2.10.0
嘿！注意看！我的 OS 是 FreeBSD 並不是 Windows
我用的桌面系統是 XWindow 中的 GNOME
- 魚兒來Lv 61 decade agoFavorite Answer
When I'm logged in as root, xscreensaver won't launch
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
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
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.
This is discussed in more detail in the
``Using XDM'' section of
the xscreensaver manual.
- 1 decade ago