Untangle Networks [home]


Go Back   Untangle Forums > General Forums > Feedback

Closed Thread
 
LinkBack Thread Tools
Old 06-25-2009, 01:47 PM   #1 (permalink)
Newbie
 
Join Date: Dec 2008
Posts: 8
jdelagarza is on a distinguished road
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!
jdelagarza is offline  
Old 06-25-2009, 01:57 PM   #2 (permalink)
Untangle Junkie
 
dmorris's Avatar
 
Join Date: Nov 2006
Location: San Mateo, CA
URLs submitted: 10
Posts: 6,694
dmorris is on a distinguished road
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!
dmorris is online now  
Old 06-25-2009, 02:37 PM   #3 (permalink)
Newbie
 
Join Date: Dec 2008
Posts: 8
jdelagarza is on a distinguished road
Default

Yeah! you're right!
Thanks!
jdelagarza is offline  
Old 06-25-2009, 03:43 PM   #4 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 7
Posts: 9,951
sky-knight is on a distinguished road
Default

You probably don't have to reboot... ctrl + alt + backspace to kill and reload X should get your new config online.
__________________
Intouch Technology
Rob Sandling, BS:SWE, MCP
Office: 480-272-9889
rob@intouchtechllc.com
sky-knight is online now  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 03:09 PM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.3.2