Lock console?
Without logging out, how do I lock the console and desktop? Is there a way?
thanks in advance |
it dependes on what desktop you use
in gnome for example there a specil botton to do it, |
I am using
KDE. I have looked at the logout button but I can only choose 'end session'
|
Also I have clicked on 'lock screen' but nothing happens
|
you can't lock your gui screen as root. u r not logged as root, right?
for the console, in text mode, use vlock. man vlock |
Which distro yuo r using?
|
vlock in not working.
"no manual entry for vlock". And how come I must be logged in as root to lock, I do not want to mess about as root and in SUSE 7.2 the 'lock screen' is working fine without being logged in as root. help! thanks in advance |
Quote:
vlock might not be installed: Searching for vlock (Red Hat Linux 8.0)... CD-3:vlock-1.3-11.i386.rpm Check ~/.xsession-errors (it means the file .xsession-errors in your home directory). It would most likely reflect the error messages encountered when you try to gui lock your system. |
Born4linux, sorry about my misunderstanding.
I use SUSE 8.1 and SUSE 7.2, in 7.2 this works fine but in 8.1 it is not working at all. the .xsession-errors file did not give me much clue. =( thanks for trying to help.. |
xscreensaver-command -lock
should do the trick in GUI mode. Flibble |
If you are using either GNOME or KDE window manager, then the icon should be there, otherwise insert one.
|
Gigsvoo, the icon is there but its function is missing....
Flibble, xscreensaver-command -lock -none of this in any order worked. "command not found" |
You seems do not installed xscreensaver package, install it and the problem should be solved.
|
Gigsvoo, I managed to install the xscreensaver, thanks a lot, but when I try to configure it I get some weird answers:
Xlib: connection to ":=:=" refused by server Xlib: Invalid AUTHORIZATION-1 key (failed key comparison) xscreensaver-command: can't open display :0 What does this mean. I run the man xscreensaver and tried to follow the instructions but whatever I do I get this answer.. Can you help again, please? |
Try this:
# DISPLAY=<your ip>:0.0; export DISPLAY then only run configure your xscreensaver. Normally you need to make sure xscreensaver daemon server starts during system bootup, try to reboot and see? |
All times are GMT -5. The time now is 04:21 AM. |