Please support VectorLinux!

Author Topic: HowTo Lock Xfce (on soho,or if you have kde)  (Read 9798 times)

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
HowTo Lock Xfce (on soho,or if you have kde)
« on: March 04, 2007, 03:13:45 am »
Code: [Select]
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: [Select]
chmod 755 /usr/bin/xlockNow 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: [Select]
kdesktop_lock --forcelockin 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, 08:37:33 am by blurymind »
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
Re: HowTo Lock Xfce (on soho,or if you have kde)
« 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]

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
Re: HowTo Lock Xfce (on soho,or if you have kde)
« 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 »
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
Re: HowTo Lock Xfce (on soho,or if you have kde)
« Reply #3 on: December 24, 2007, 10:21:19 am »
or just run this command,if you dont have kde:
Quote
xlock
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
Re: HowTo Lock Xfce (on soho,or if you have kde)
« Reply #4 on: January 30, 2008, 11:20:11 am »
if you have gnome installed or GDM, you can use this command:

Code: [Select]
gdmflexiserver
status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/