禁止用户锁定

王朝other·作者佚名  2006-11-24
窄屏简体版  字體: |||超大  

1 - Rename or remove :

/usr/openwin/bin/xlock

2 - Remove the Screen Style Manager window:

remove : /usr/dt/appconfig/appmanager/C/Desktop_Controls/SetDtScreen

3 - Remove the Lock icon from the toolbar:

Edit file: /usr/dt/appconfig/types/C/dtwm.fp

Add: DELETE True to the CONTROL Lock definition

Edit file: /usr/dt/appconfig/types/C/dt.dt

Comment the definition: ACTION LockDisplay

4 - Disable automatic lock:

Edit file: /usr/openwin/lib/speckeysd.map

Add -x option to sys-suspend

5 - Remove the "Lock Display" from the Workspace Menu:

Edit file: /usr/dt/config/C/sys.dtwmrc

Comment line: "Lock Display" f.action LockDisplay

You need to restart dtlogin, like this:

/etc/init.d/dtlogin stop

/etc/init.d/dtlogin start

修改文件之前做好备份,这种方法应该可以,我试过琐屏功能失效。仅供参考。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有  導航