Operating System - HP-UX
1834018 Members
2455 Online
110063 Solutions
New Discussion

How do I automate a screensaver lock

 
Carl Zabel
Occasional Advisor

How do I automate a screensaver lock

Due to a security requirement I must set my HPUX workstations so that after 10 minutes the screensaver starts and system locks. This must not be changeable by the local user.
Indecsion is the key to flexibility
4 REPLIES 4
Bill McNAMARA_1
Honored Contributor

Re: How do I automate a screensaver lock

you could set up xlock somehow..
I'll try to figure out a good way!
Later,
Bill
It works for me (tm)
Theresa Patrie
Regular Advisor

Re: How do I automate a screensaver lock

In order to take the screen lock on/off capability away from the user, you can edit the file /usr/dt/app-defaults/C/Dtstyle and remove the "screen" entry from the componentList. The user's will no longer be able to turn on/off screen lock or choose the screensaver.
Not sure of a good way to setup the 10 minute interval before doing this. Maybe if you do it manually on each machine before taking the capability away, it will work for every user. There must be a global dt file that would set this for every user, but I am not sure where it is.
This is my easy job!
Pete Randall
Outstanding Contributor

Re: How do I automate a screensaver lock

Carl,

I think the settings are saved in .dt/sessions/home/dt.settings and .dt/sessions/home/dt.resources

(substitute current for home if you don't return to a home session at startup).

If you get the screen lock set up the way you want for one user, you can then copy the dt.settings and dt.resources to everyone else and remove write permission.

Pete

Pete
Theresa Patrie
Regular Advisor

Re: How do I automate a screensaver lock

Hi Carl,
I do not think you want to have to do this in every user's home directory. If you edit the file /usr/dt/app-defaults/C/Dtscreen on every machine to set the Dtscreen.timeout value to 10 then take away the user's ability to modify the screen parameters (as specified in my earlier post) you should be all set!
Theresa
This is my easy job!