! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Kiosk mode not working in Xfdesktop
Status:
RESOLVED: DUPLICATE
Product:
Xfdesktop
Component:
General

Comments

Description Saurabh Jain 2009-08-14 11:42:22 CEST
Created attachment 2503 
kioskrc file used for testing the bug

I am using xfdesktop-4.6.1-1 shipped with Fedora 11. kioskrc no longer seems to
have an effect on the working of xfdesktop.

The kioskrc used is attached. The same kioskrc locks down the panel. However,
it has no effect on the session or desktop. Is there a mistake in the kioskrc
file?
Comment 1 Kevin Day 2010-05-29 15:04:34 CEST
I can confirm this problem with the latest xfdesktop (4.6.2).

The problem seems to be that the code that processes the kiosk files was removed.

Under 4.6.2:
Only "UserMenu" and "CustomizeDesktopMenu" appear with xfce_kiosk_query() calls.
Files: modules/menu/desktop-menu.c, panel-plugin/desktop-menu-plugin.c, common/desktop-menu-utils.c

In the modules/menu/desktop-menu.c, at glance, it looks like the results of xfce_kiosk_query() is not even being used!


Under 4.4.3:
"UserMenu", "CustomizeWindowlist", "CustomizeDesktopMenu", "CustomizeDesktopIcons", "CustomizeBackdrop" appear xfce_kiosk_query() calls.
Files: modules/menu/desktop-menu.c, modules/menu/desktop-menu-dentry.c, common/xfdesktop-common.c, settings/behavior-settings.c, settings/appearance-settings.c


Limiting the desktop icons, backdrop, etc.. are an important part in running xfce desktop in kiosk mode.

Please put those xfce_kiosk_query() back with the newer code.
Comment 2 Alexandros Prekates 2010-11-09 23:25:08 CET
I've installed xubuntu 10.04 with xfce 4.6.1 in two school labs with 7 pc's each.

$ su teacher
$ sudo nano /etc/xdg/xfce4/kiosk/kioskrc
[xfdesktop]
UserMenu=%admin
CustomizeBackdrop=alex
CustomizeDesktopMenu=%admin
CustomizeWindowlist=%admin
CustomizeDesktopIcons=%admin

[login as student]
$xfce4-kiosk-query xfdesktop CustomizeBackdrop  
MODULE "xfdesktop"
  CAP "CustomizeBackdrop" = DENIED

and i can change backdrop .


So i add my wish two for that fix.

Thanks
Comment 3 Eric Koegel editbugs 2014-07-24 18:47:33 CEST
Consolidating Kiosk bugs, I'll hopefully have time to look into these shortly. A lot of it now is xfconf based but the old kiosk code may come back for the wallpapers.
See the Kiosk mode section of http://docs.xfce.org/xfce/xfconf/start for more on the xfconf kiosk mode.

*** This bug has been marked as a duplicate of bug 11011 ***

Bug #5674

Reported by:
Saurabh Jain
Reported on: 2009-08-14
Last modified on: 2014-07-24

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
3 users

Version

Attachments

kioskrc file used for testing the bug (371 bytes, text/plain)
2009-08-14 11:42 CEST , Saurabh Jain
no flags

Additional information