System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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.)