>-----Original Message----- >From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On >Behalf Of John Hodrien >Sent: Thursday, January 20, 2011 2:02 PM >To: CentOS mailing list >Subject: Re: [CentOS] How to disable screen locking system-wide? > >>> I don't know the exact path but you can use gconftool-2 (or >>> gconf-editor as a GUI) to set the screensaver not to lock (and mimick >>> doing so by changing the screensaver preferences in >>> "System-Preferences-Screensaver"). >> >> That's a per-user setting you describe, right? > >No, you can make that work for all users with gconf-editor by editing the >right file. My previously suggested solution just does that in one go >without a gui: > >gconftool-2 --direct \ >--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool >\ >--set /apps/gnome-screensaver/lock_enabled false > >That makes it mandatory, so it can't be overridden, and will affect all >users. Only fixes it for gnome, I don't know what the equivalent fix is for >KDE. You need to take other steps to enforce it in the other direction, as >killall gnome-screensaver would defeat it. Ah, I misunderstood first. The penny dropped now. 8-) Thanks. -- /Sorin -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5110 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20110120/614dccb1/attachment-0005.bin>