LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-17-2002, 01:26 AM   #1
KaktusKnight
Member
 
Registered: Dec 2002
Location: Gothenburg, Sweden
Distribution: Suse2.7, Mandrake 8, Redhat ?, Suse 8.2
Posts: 71

Rep: Reputation: 15
Lock console?


Without logging out, how do I lock the console and desktop? Is there a way?

thanks in advance
 
Old 12-17-2002, 01:42 AM   #2
cipher_arg
Member
 
Registered: Oct 2002
Distribution: slackware 8.1
Posts: 62

Rep: Reputation: 15
it dependes on what desktop you use
in gnome for example there a specil botton to do it,
 
Old 12-17-2002, 01:51 AM   #3
KaktusKnight
Member
 
Registered: Dec 2002
Location: Gothenburg, Sweden
Distribution: Suse2.7, Mandrake 8, Redhat ?, Suse 8.2
Posts: 71

Original Poster
Rep: Reputation: 15
I am using

KDE. I have looked at the logout button but I can only choose 'end session'
 
Old 12-17-2002, 01:51 AM   #4
KaktusKnight
Member
 
Registered: Dec 2002
Location: Gothenburg, Sweden
Distribution: Suse2.7, Mandrake 8, Redhat ?, Suse 8.2
Posts: 71

Original Poster
Rep: Reputation: 15
Also I have clicked on 'lock screen' but nothing happens
 
Old 12-17-2002, 04:13 AM   #5
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
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
 
Old 12-17-2002, 04:29 AM   #6
gigsvoo
Member
 
Registered: Nov 2002
Posts: 100

Rep: Reputation: 15
Which distro yuo r using?
 
Old 12-17-2002, 04:45 AM   #7
KaktusKnight
Member
 
Registered: Dec 2002
Location: Gothenburg, Sweden
Distribution: Suse2.7, Mandrake 8, Redhat ?, Suse 8.2
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
Old 12-17-2002, 05:03 AM   #8
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
Quote:
Originally posted by born4linux
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
i said u can't lock the screen in GUI mode as root.

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.
 
Old 12-17-2002, 05:37 AM   #9
KaktusKnight
Member
 
Registered: Dec 2002
Location: Gothenburg, Sweden
Distribution: Suse2.7, Mandrake 8, Redhat ?, Suse 8.2
Posts: 71

Original Poster
Rep: Reputation: 15
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..
 
Old 12-17-2002, 07:12 AM   #10
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
xscreensaver-command -lock

should do the trick in GUI mode.

Flibble
 
Old 12-17-2002, 08:23 PM   #11
gigsvoo
Member
 
Registered: Nov 2002
Posts: 100

Rep: Reputation: 15
If you are using either GNOME or KDE window manager, then the icon should be there, otherwise insert one.
 
Old 12-18-2002, 01:15 AM   #12
KaktusKnight
Member
 
Registered: Dec 2002
Location: Gothenburg, Sweden
Distribution: Suse2.7, Mandrake 8, Redhat ?, Suse 8.2
Posts: 71

Original Poster
Rep: Reputation: 15
Gigsvoo, the icon is there but its function is missing....

Flibble, xscreensaver-command -lock -none of this in any order worked. "command not found"
 
Old 12-18-2002, 01:30 AM   #13
gigsvoo
Member
 
Registered: Nov 2002
Posts: 100

Rep: Reputation: 15
You seems do not installed xscreensaver package, install it and the problem should be solved.
 
Old 12-18-2002, 02:42 AM   #14
KaktusKnight
Member
 
Registered: Dec 2002
Location: Gothenburg, Sweden
Distribution: Suse2.7, Mandrake 8, Redhat ?, Suse 8.2
Posts: 71

Original Poster
Rep: Reputation: 15
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?
 
Old 12-18-2002, 03:23 AM   #15
gigsvoo
Member
 
Registered: Nov 2002
Posts: 100

Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) phreakshew Linux - Newbie 24 04-12-2019 11:42 AM
Virtual Console/X Lock. SticklerThe1st Linux - Hardware 4 07-05-2010 11:50 AM
Caps Lock and Num Lock leds dont work! npc Linux - Hardware 2 11-08-2005 11:40 AM
RedHat 9.0 freezes with blinking Caps lock and Scroll lock queen-bee Linux - Software 0 07-30-2004 11:40 PM
How to lock Vritual Console ?? hitesh_linux Linux - General 4 12-07-2002 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration