Mon Jan 21, 2013 5:43 pm
I do not know what I have done wrong, but I cannot get the KDE Action Restrictions to work.
I logged on as root and defined/added in the .kde/share/config/kdeglobals file the following:
[KDE Action Restrictions][$i]
afterwards I logged out from the root account and in again, but I still could open with ALT-F2 a konsole window!
I have KDE 4.3.4 installed!
Mon Jan 21, 2013 9:28 pm
did you enforce a sycoca update?
Please don't expect too much support for that particular version
Tue Jan 22, 2013 7:13 am
You mean to run kbuildsycoca4 (without parameters)?
The problem is, I am bound to KDE 4.3.4!
Here is the contents of my /root/.kde/share/config/kdeglobals file:
Automatically select filename extension=true
Show Full Path=false
Show hidden files=false
[KDE Action Restrictions] [$i]
The stuff I added KDE Action Restrictions] [$i] is in bold.
Wed Jan 23, 2013 12:09 am
Nope, has to happen in system level dirs (unless you're trying for the root user, no good idea, for exploration only - and i've no idea whether that works) like /usr/share/config/kdeglobals - /root/.kde has no impact on eg. ~gromit (unless you added root to the KDEDIRS and made it world readable - what you should absolutely *not* do at all, by no means, for no reason, never!
Seen http://techbase.kde.org/KDE_System_Admi ... troduction ?
also try "--noincremental" and (as root) "--noincremental --global" (just in case things don't work automatically)
Wed Jan 23, 2013 7:24 am
Correct, I put kdeglobals into the directory /usr/share/config/ performed a kbuildsycoca4 --noincremental and the konsole window disappeared from the Start Menu.
The problem I have now is, how can I specify in the kdeglobals file that only certain users will have e.g. no Konsole menu entry/access?
Note: executing kbuildsycoca4 --noincremental --global gives me the error Error writing database "usr/share/config"! Disk full?.
Wed Jan 23, 2013 9:56 pm
I don't know whether such differentiation is supported by kiosk, but you can of course now make use of KDEDIRS to control which user sees what global config files (ie. you add /usr/restricted/share/config/kdeglobals with the required kiosk settings and in /usr/share/config/kdm/Xsession -i think- control the KDEDIRS var by the UID)
btw, you do not assume that this is a security feature, do you?
Either you operate on some ro mouted disk, the disk is indeed full (not good) or you didn't run with required permissions (root)