*nix Thread, Thinstation Lock screens in Technical; I'm thinking outloud...
Outcome I want...
Teachers to be able to 'lock' and 'unlock' screens of entire classrooms.
what I ...
-
9th November 2006, 09:57 AM #1 Thinstation Lock screens
I'm thinking outloud...
Outcome I want...
Teachers to be able to 'lock' and 'unlock' screens of entire classrooms.
what I have (almost, I need to finish some bits)
DHCP server with mac's and IP addresses for classrooms
PXE booting thinstation
Citrix ICA client
ssh client on thinstation
ip address of clients
script that will log into all clients in a classroom as root (nearly)
web interface that allows teachers to do XYZ to the thinstation (ok, I'm no-where near doing this yet)
what I need...
suggestions. AFIK citrix can't lock the session?. Can my X server be told to lock and restart the session from ssh ? how?
TIA
-
-
IDG Tech News
-
9th November 2006, 10:00 AM #2 Re: Thinstation Lock screens
Assuming they have xscreensaver running:
Code:
xscreensaver-command -lock
however there's no equivelent unlock command. Plus it'll nag for a (probably no existant) local user password to unlock it.
You might be better off with
Code:
xscreensaver-command -activate
Code:
xscreensaver-command -deactivate
Which also blanks/unblanks the screen but with out any locking.
-
-
9th November 2006, 10:37 AM #3 Re: Thinstation Lock screens
Thanks
I tried on my machine and that almost worked perfectly, but I got the problems you described.
what about remotely activating xcreensaver and simultaneously locking the kb/mouse ? any suggestions?
-
-
9th November 2006, 10:52 AM #4 Re: Thinstation Lock screens
There is no way to disable the keyboard/mouse input AFAIK.
-
-
9th November 2006, 10:57 AM #5 Re: Thinstation Lock screens
got it...
Run Code:
xscreensaver-command -lock [
to lock the screen
remotely kill the xscreensaver process to unlock the screen tehn restart the xscreenserver daemon.
Thanks for your help, just got to work on getting xscreensaver in thinstation. doh.
-
-
9th November 2006, 11:01 AM #6 Re: Thinstation Lock screens
You don't need to kill it. I think:
Code:
xscreensaver-command -restart
Will work.
-
-
9th November 2006, 11:45 AM #7 Re: Thinstation Lock screens
thanks, but I tried - it won't restart if the screen is locked.
-
-
9th November 2006, 11:46 AM #8 Re: Thinstation Lock screens
How about:
Code:
xscreensaver-command -exit
-
-
9th November 2006, 11:50 AM #9 Re: Thinstation Lock screens
same thing:
xscreensaver-command: screen is locked
-
-
9th November 2006, 11:53 AM #10 Re: Thinstation Lock screens
Fair enough. 'kill -9' it is.
-
SHARE: 
Similar Threads
-
By stu in forum How do you do....it?
Replies: 9
Last Post: 21st November 2007, 12:25 PM
-
By Paid_Peanuts in forum How do you do....it?
Replies: 7
Last Post: 6th November 2007, 04:25 PM
-
By CESIL in forum Windows
Replies: 4
Last Post: 21st May 2007, 12:47 PM
-
By dezt in forum How do you do....it?
Replies: 14
Last Post: 19th October 2006, 08:19 AM
-
By lols in forum Hardware
Replies: 16
Last Post: 3rd May 2006, 07:34 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules