Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    Dec 2008
    Posts
    11

    Default screensaver with lock

    As you know untangle comes with a kiosk view, allowing any user to reboot or shutdown the box. This is a security concern for many of us.
    Here is the procedure to follow to provide a screensaver with lock dialog box.

    First of all, you'll need a password for kiosk user. To create a password, use the console/terminal and type 'passwd kiosk'. The prompt will ask you twice for the new password.

    Second, you'll need to install xscreensaver. To do so, you have to add Debian (Lenny) repository (this applies to untangle 6.1 and 6.2). Create a new file in /etc/apt/sources.list.d and name it debian.list and write the next line on the file:
    'deb http://ftp.us.debian.org/debian lenny main contrib non-free'

    After that, at the console do a 'apt-get update'
    and then do a 'apt-get install xscreensaver'

    Now you have xscreensaver installed! It's time to configure it.
    edit the hidden file /home/kiosk/.xsession and just after 'xset dpms' type the following command in a new line: 'xscreensaver &' (no quotation marks) this will start the xscreensaver daemon

    edit /home/kiosk/utils/screensaver.sh (this is the script that is called when you hit the "Turn On Screensaver" button. Locate the 'case' function. Type the following command within the 'on)' part: 'xscreensaver-command -lock' (this will call the client side of the screensaver everytime you hit that button).

    After this, you'll have to reboot the untangle server, so the .xsession is loaded again. You can't type xscreensaver & into the terminal because terminal is running with root privileges. It has to be run with kiosk user. Once the untangle is rebooted, you'll only have to hit the "Turn On Screensaver" to call the locking screensaver.

    I've been trying to customize the windows theming (change the image) with no luck. Please share the procedure if you know how!

    Cheers!

  2. #2
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,747

    Default

    WARNING: do not forget to 'rm -f /etc/apt/sources.list.d/debian.list' afterwards

    if you do forget to do this, please don't complain when your box explodes randomly or on upgrade.


    nice howto jdelagarza!
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  3. #3
    Newbie
    Join Date
    Dec 2008
    Posts
    11

    Default

    Yeah! you're right!
    Thanks!

  4. #4
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,024

    Default

    You probably don't have to reboot... ctrl + alt + backspace to kill and reload X should get your new config online.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2