LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2005, 10:21 AM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Lock KDE via shell


I am wondering if there is any way I can lock the computer (logout but keep the apps running) from a shell. I want to be able to do this via ssh from another computer.

Using KDE 3.3.2 on Debian Sarge.
 
Old 11-09-2005, 12:57 PM   #2
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
maybe xlock would do the trick? (man xlock)
 
Old 11-09-2005, 05:13 PM   #3
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 49
No, not really. No such command in my path at least and not on my slack box too. No such package to install via apt-get.
 
Old 11-09-2005, 10:37 PM   #4
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
maybe it's in screensaver or xscreensaver? don't have a linux box to check right now.

EDIT: Oh, and couldn't you use screen for this?

Last edited by Ynot Irucrem; 11-09-2005 at 10:44 PM.
 
Old 11-10-2005, 06:05 AM   #5
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Original Poster
Rep: Reputation: 49
Hm.. I am not sure if you understood my questions. Here is what I have: I have a computer with KDE, inlogged most of the time. When I am at my laptop I want to be able to ssh to it and lock the screen, letting all the apps keep running but make sure that no one can use it without typing a password. I would then need to go to the box and login, but I want to be able to lock the screen remotely.

I am aware that xscreensaver is used to lock the screen and I have that installed and it works. But I can't lock it remotely. I found a few commands to lock the screen from a shell but then it needed to be typed in locally.

Maybe I am being a little fuzzy here?
 
Old 11-10-2005, 06:31 AM   #6
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
you can use the -display argument to lock a certain screen with xlock/x-screensaver-lock/whatever the command is.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Number lock in KDE compu73rg33k Linux - Software 4 10-24-2005 08:56 AM
KDE 3.3.2 lock session pete123 Linux - Software 0 12-26-2004 01:38 PM
kde 3.2 logout/lock screen trollman Linux - Newbie 5 11-14-2004 11:43 PM
kde lock screen shortcut firestomper41 Linux - Software 2 09-17-2004 01:34 PM
Lock down KDE tarheel92x Linux - Newbie 2 04-04-2004 03:40 PM


All times are GMT -5. The time now is 05:48 AM.

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