xfce4 kiosk mode

I am using FreeBSD 9.0-RELEASE-p4 i386 with latest ports. I can't get xfce4 (4.10) to work in kiosk mode. I followed howto on xfce wiki, creating kiosk dir in /usr/local/etc/xdg/xfce4, and kioskrc file in it, so my /usr/local/etc/xdg/xfce4/kioskrc file looks like this:

Code:
[xfce4-panel]
CustomizePanel=root

[xfce4-session]
CustomizeSplash=root
CustomizeChooser=root
CustomizeLogout=root
CustomizeCompatibility=root
Shutdown=ALL
CustomizeSecurity=root

[xfdesktop]
UserMenu=root
CustomizeBackdrop=root
CustomizeDesktopMenu=root
CustomizeWindowlist=root
CustomizeDesktopIcons=root

However, when logged in as an unprivileged user I can still do all the customization.

I do not think the fact that I boot over PXE with NFS read-only root has any influence on this.

Any suggestions how to make it work?
 
It appears that I have misunderstood the idea of xfce4 kiosk mode. Kiosk mode apparently does not prevent users to change settings, they are just being reset on next login (someone please correct me if I am wrong). I already have this thanks to PXE booting with /home directory being memory disk which gets reset on every reboot.

Fortunately I found a way to accomplish my goal by monitoring xfconf changes with xfconf-query and editing .xml files in /usr/local/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ accordingly.
 
Back
Top