Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-02-09 11:12:13

Coffee12345
Member
Registered: 2016-02-09
Posts: 1

Kiosk mode not working correctly

Hello all,

I am trying to get an immutable panel in a xfce4 environment with a specific widht, full length and only the plugin "Windows Button enabled"
I am creating users who are able to log in to vnc-sessions.

OS :
RHEL 6.6 x86_64

XFCE-packages :
xfce4-panel-4.8.3-2.el6.x86_64
xfce4-doc-4.8.3-1.el6.noarch
xfce4-session-4.8.1-4.el6.x86_64
libxfce4util-4.8.1-2.el6.x86_64
libxfce4ui-4.8.0-4.el6.x86_64

/etc/xdg/xfce4/kioskrc:
[xfce4-session]
SaveSession=NONE

[xfce4-panel]
CustomizePanel=%root,dvm-pc-a-1

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

[xfdesktop]
UserMenu=%root,dvm-pc-a-1
CustomizeBackdrop=%root,dvm-pc-a-1
CustomizeDesktopMenu=%root,dvm-pc-a-1
CustomizeWindowList=%root,dvm-pc-a-1
CustomizeDesktopIcons=%root,dvm-pc-a-1


/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml & /etc/xdg/xfce4/panel/default.xml
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-panel" version="1.0">
  <property name="panels" type="empty">
    <property name="panel-0" type="empty">
      <property name="position" type="empty"/>
      <property name="length" type="uint" value="100"/>
      <property name="autohide" type="bool" value="true"/>
      <property name="position-locked" type="bool" value="true"/>
      <property name="plugin-ids" type="empty"/>
      <property name="length-adjust" type="empty"/>
      <property name="size" type="uint" value="30"/>
    </property>
  </property>
  <property name="plugins" type="empty">
    <property name="plugin-3" type="empty">
      <property name="include-all-monitors" type="empty"/>
      <property name="show-labels" type="empty"/>
      <property name="show-handle" type="empty"/>
      <property name="rotate-vertically" type="empty"/>
      <property name="sort-order" type="empty"/>
    </property>
    <property name="plugin-2" type="empty">
      <property name="sort-order" type="uint" value="1"/>
      <property name="show-labels" type="bool" value="false"/>
      <property name="show-handle" type="bool" value="false"/>
      <property name="rotate-vertically" type="bool" value="false"/>
      <property name="include-all-monitors" type="bool" value="false"/>
    </property>
  </property>
</channel>

What i have tried thus far:
Rebooted
Result when creating new user : I get "Welcome to the first start of the panel" dialog When i setup the panel  I notice that a new xfce4-panel.xml is made in the user-home-dir.


Added 'locked="*" unlocked="root"' to /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
Rebooted
Result when creating new user : I get "Welcome to the first start of the panel" dialog When i setup the panel  I notice that a new xfce4-panel.xml is made in the user-home-dir.

Removed the locked unlocked entry from /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
Added /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml to the skel directory WITHOUT the locked and unlocked entry in .config/.../...
Rebooted
Result when creating new user : The panel is the way as i want only its not immutable
If i edit the xfce4-panel.xml in the user dir and add the locked unlocked entry
Reboot
i get "Welcome to the first start of the panel" dialog
When i remove locked unlocked entry in xfce4-panel.xml in the user dir
reboot
the panel is ok(but not immutable)


Questions:
How can i have immutable panel for my users?
If no answer can be given how can i troubleshoot this further?

Thank you in advance.

Offline

Board footer

Powered by FluxBB