Skip to content

Can't get Kiosk mode working

Hello all, i'm trying to install a xfce kiosk (with no rights for anyone, not even root) in docker but with no luck so far.

This is my forked repo: XFCE Docker

The docker build file does the following:

ENV HOME=/headless \

and then

### Install xfce UI RUN $INST_SCRIPTS/xfce_ui.sh ADD ./src/common/xfce/ $HOME/

He puts the .config folger in the home directory. The xfce folder contains a .config folder with the xfce-perchannel-xml subfolder and the following xmls:

xfce4-desktop.xml xfce4-keyboard-shortcuts.xml xfce4-panel.xml xfwm4.xml xsettings.xml

To enable kiosk mode, i deleted the above files and added the following files to /xdg/xfce4/kiosk/kioskrc

[xfce4-panel] CustomizePanel=NONE

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

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

But it doesn't work. No restrictions whatsoever.

Am i missing something?

Thanks in advance!