Operating System - HP-UX
1748266 Members
3378 Online
108760 Solutions
New Discussion

add '-s 5' to X11 configuration

 
John R. Ulmer
Occasional Advisor

add '-s 5' to X11 configuration

Hello all,

For security policy reasons, I need to automatically lock the screens if they've been idle for more than a few minutes. I would think this would be an X11 configuration item. But, I don't see a way to make it happen globally.

I need "ps -ef |grep 'X '" to show something like:

/usr/bin/X11/X :0 -s 5 -auth /var/dt/hpux1AAabb

The maze of X11 config possibilities is rather complex. I've tried using the CDE GUI as root to make this happen, with no luck.

Help?

Thanks
1 REPLY 1
John R. Ulmer
Occasional Advisor

Re: add '-s 5' to X11 configuration

Found it.

In /etc/dt/config/Xservers, add "-s 5 " to the screen definition(s). Like:

* Local local@console /usr/bin/X11/X :0 -s 5



Restart X. (I just killed it and let dtlogin automatically restart it.)