Bug 74898
Summary: | Lock Screen does not work | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Jeff Collins <jeffrey_collins> |
Component: | lockdev | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | david.balazic |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-11-22 01:33:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeff Collins
2002-10-02 17:36:58 UTC
I think I've figured out why it doesn't work. It's not working when I'm logged in as root, because the Xscreensaver isn't running. If I log in as another user and click the lock screen option, the Xscreensaver screen pops up and asks me for my password. Should this work for users logged in as root? It should. Or it should put up an explanation why it doesn't. Here is what I get in .xsession-errors file : SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/789 Loaded background '0x8095f50 xscreensaver-command: no screensaver is running on display :0.0 If you run xscreensaver as root it prints this: xscreensaver: Can't open display: :0.0 xscreensaver: initial effective uid/gid was root/root (0/0) xscreensaver: running as nobody/nobody (99/99) xscreensaver: This is probably because you're logging in as root. You shouldn't log in as root: you should log in as a normal user, and then `su' as needed. If you insist on logging in as root, you will have to turn off X's security features before xscreensaver will work. Please read the manual and FAQ for more information: http://www.jwz.org/xscreensaver/faq.html http://www.jwz.org/xscreensaver/man.html It *is* true that logging in as root is a pretty bad idea, though it's also true that you have to use the command line to avoid a root login sometimes (always a bug when you have to, IMO). |