+ Post New Thread
Results 1 to 10 of 10
*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 ...
  1. #1


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    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

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    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.

  3. #3


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    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?

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Thinstation Lock screens

    There is no way to disable the keyboard/mouse input AFAIK.

  5. #5


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    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.

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Thinstation Lock screens

    You don't need to kill it. I think:

    Code:
    xscreensaver-command -restart
    Will work.

  7. #7


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Thinstation Lock screens

    thanks, but I tried - it won't restart if the screen is locked.

  8. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Thinstation Lock screens

    How about:

    Code:
    xscreensaver-command -exit

  9. #9


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Thinstation Lock screens

    same thing:

    xscreensaver-command: screen is locked

  10. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Thinstation Lock screens

    Fair enough. 'kill -9' it is.

SHARE:
+ Post New Thread

Similar Threads

  1. Firefox lock down
    By stu in forum How do you do....it?
    Replies: 9
    Last Post: 21st November 2007, 12:25 PM
  2. PDA - lock it down - how to?
    By Paid_Peanuts in forum How do you do....it?
    Replies: 7
    Last Post: 6th November 2007, 04:25 PM
  3. Desktop lock down
    By CESIL in forum Windows
    Replies: 4
    Last Post: 21st May 2007, 12:47 PM
  4. Lock workstations
    By dezt in forum How do you do....it?
    Replies: 14
    Last Post: 19th October 2006, 08:19 AM
  5. Laptop Lock downs
    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
  •