![](https://seccdn.libravatar.org/avatar/ee22ebe1a18ff10e2cdb94c8f4058e68.jpg?s=120&d=mm&r=g)
On Thu, Jun 19, 2008 at 2:32 AM, Mair Wolfgang-awm013
I've got a server running on 10.3 and want to set, that only root can shutdown the system. What I did is set DISPLAYMANAGER_SHUTDOWN=none in the /etc/sysconfig/displaymanager and after a init 3 and init 5 it worked. Selecting the log out in the KDE menu gives me only 'End Current Session'.
So far so good. This is what I want to have. But it seems to work only if I connect localy, if I connect to this system via VNC I still can see the button 'turn off computer' and 'restart computer'. Which shall not be there. If I try to shutdown the system with this button in the VNC session, it won't do it which is a releive :). But still to prevent from confusion, those selections should not be there.
Why is this still there in the vnc session and how can I disable these buttons?
My guess is that VNC does not inherit its settings from displaymanager. I remember from Zenwalk that there was a specific shutdown script/program that was used by XFCE to shutdown the computer. Maybe you could find the openSuSE equivalent and change the permissions on that program so the user can't shutdown. In other words, if the user does not have permission to the shutdown script then it should not matter which graphical desktop you use. Mike -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org