Restrict desktops for users
I'm going to install Fedoray 20 with Sugar Desktop for the kids, but want to be able to use a normal desktop environment for myself. How can I restrict their accounts so that they can only log into Sugar Desktop? Maybe using an ACL to prevent their accounts from reading some critical files, but which ones? Or is there a better way?
EDIT:
I'd like to use one of the Scripting Integration Points in GDM, but these scripts only get the username as an environment variable. How can I find out what desktop environment they are trying to use? Can I look at some running process, or some file in their home directory to find out which desktop environment they've requested?
Does wmctrl work well for this in fedora? http://askubuntu.com/a/92948/15216
well, this should give the environment name:
wmctrl -m | sed -n -e 's/Name: //' -e 1p
, but when it is run in the GDM integration script it will only return GNOME Shell regardless of what desktop environment the user has chosen.