VectorLinux
September 20, 2014, 03:36:53 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: HowTo Lock Xfce (on soho,or if you have kde)  (Read 9158 times)
blurymind
Packager
Vectorian
****
Posts: 1082



« on: March 04, 2007, 03:13:45 am »

Code:
To lock screen xfce4 uses xflock4 script. It tries to run either xscreensaver-command or xlock. You can edit the script or create file /usr/bin/xlock
[code]kdesktop_lock --forcelock
make it executable
Code:
chmod 755 /usr/bin/xlock
Now if you want to lock screen, press the lock icon on the xfce panel. Locking the screen with kdesktop_lock allows you to easily log in as another user without closing your graphical session.

or you can also simply type:
Code:
kdesktop_lock --forcelock
in console when you are in xfce.So there you have it.

Does anybody know other good ways to lock xfce, without xscreensaver running?[/code]
« Last Edit: March 31, 2007, 07:37:33 am by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
shahgols
Vectorite
***
Posts: 206


« Reply #1 on: March 04, 2007, 08:51:35 pm »

Hi,

When I run "kdesktop_lock --forcelock" from the command line it says "bash: kdesktop_lock: command not found".

Also, I wasn't sure, are you asking that we make a file /usr/bin/xlock and put the following in it?

kdesktop_lock --forcelock[/quote]
Logged
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #2 on: March 06, 2007, 11:00:40 am »

Hi,

When I run "kdesktop_lock --forcelock" from the command line it says "bash: kdesktop_lock: command not found".

Also, I wasn't sure, are you asking that we make a file /usr/bin/xlock and put the following in it?

kdesktop_lock --forcelock
[/quote]

hi,in order to use that command you need to have kde installed on your box.I am sorry i mentioned it only in the thread's name.
Also,you can do it without creating that file.Just type the following in terminal
kdesktop_lock --forcelock

the file is only a launcher of the locker
you can lock your xfce,using kde's lock...that way you can also easily switch users .
Alternatively you can switch users with
ctrl+alt+f7,8,9 or whateva
« Last Edit: March 06, 2007, 11:02:27 am by blurymind » Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #3 on: December 24, 2007, 10:21:19 am »

or just run this command,if you dont have kde:
Quote
xlock
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
blurymind
Packager
Vectorian
****
Posts: 1082



« Reply #4 on: January 30, 2008, 11:20:11 am »

if you have gnome installed or GDM, you can use this command:

Code:
gdmflexiserver
Logged

status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!