Using the GUI (Desktop) to shutdown or restart the server does not work

  • 7024108
  • 10-Sep-2019
  • 16-Sep-2019

Environment


Open Enterprise Server 2015 (OES 2015) Linux Support Pack 1

Situation

The server will restart if you open a terminal and do an init 6.

The server will shut down if you open a terminal and do an init 0

The server will not shutdown or restart if you click on Computer > Shutdown > and then select either Restart or Shut Down.

The expectation is that you would be presented with an authentication dialog to authorize the selected action.
This dialog does not appear.

Resolution

Stop apparmor.
You will now be able to use the GUI to shut down or restart the server.

You might want to disable it manually at the console or terminal like this:

List information about how it is configured to be run at boot up currently:

chkconfig -A | grep -i app

Stop it from loading on boot up like this:

chkconfig boot.apparmor off

Stop it from running right now like this:

/etc/init.d/boot.apparmor stop