[Kde-kiosk] Lost

Martijn Klingens klingens at kde.org
Fri Oct 28 22:55:12 CEST 2005


On Friday 28 October 2005 20:49, Casey King wrote:
> I created a group "restricted," and added the user I want to restrict to
> that group.  Logged into KDE as you mentioned...smarter, thanks for
> mentioning that. Opened KioskTools, and created a GROUP POLICY
> "restricted."
> Then I created a profile "restricted" and setup this profile as I want.
> Now when I log in as "shop" (the uid I want to restrict, which has been
> added to the restricted group in the USERS AND GROUPS) the settings have
> not been applied.  Have I missed a step?

Only one profile can be active at a time, unlike in Windows there cannot be 
multiple. Also, user profiles always take precedence over group profiles. So 
effectively you only get the user shop's profile.

> In a previous Kiosk setup within KioskTools, I had setup individual user
> "shop", and then assigned an individual User policy 'shop' and the
> settings worked, but the problem was it extended beyond the shop user
> and 'infected' any other user also.

It shouldn't have done that, apart from you changing the XML menus, which are 
of course global.

BTW, to answer your other question:

On Thursday 27 October 2005 22:52, Casey King wrote:
> The problem I am having, and have been working to bypass, that since
> this is a system wide (all profile) setting, it also removes it for when
> I log under KDE as root. 

Right, modifying the file is a global thing that's done even before Kiosk 
profiles take effect. What you could do is add the .desktop files for the 
applications you want to hide to the profile and mark them as disabled. Off 
the top of my head you can do that by adding a line 'Visible=false' to 
the .desktop file (others on this list: right?).

I really should (still) look into XML-menus, since you can probably do this 
for a whole bunch of apps by providing a modified xml file in the profile 
that sets visible to false instead of messing with individual .desktop files, 
which is slow and laborious. If someone finds me a couple of weeks of spare 
time, feel free to mail them to me ;)

-- 
Martijn


More information about the kde-kiosk mailing list