• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

MATE Shutdown/Reboot button missing

stuffbymatt

New Member


Messages: 1

#1
Since the last upgrade to MATE (I use packages - not ports) on my FreeBSD 11.1 desktop, the Shutdown/Reboot option under the System menu has gone missing.

If I login as root the menu item appears as expected.

I do not see the menu item when I am logged in as a regular system user, who is also member of the wheel and operator groups.

I have tried numerous solutions as posted in these forums and others for similar issues however have had no luck thus far and I'm wondering if someone else has experienced the same problem.

/etc/rc.conf contains:

Code:
dbus_enable="YES"
hald_enable="YES"
My ~/.xinitrc contains:

Code:
exec /usr/local/bin/ck-launch-session mate-session
/usr/local/etc/PolicyKit/PolicyKit.conf contains the following:

Code:
<config version="0.1">
    <match action="org.freedesktop.hal.storage.mount-removable">
        <return result="yes"/>
    </match>
    <match action="org.freedesktop.hal.storage.mount-fixed">
        <return result="yes"/>
    </match>
    <match action="org.freedesktop.hal.power-management.shutdown">
        <return result="yes"/>
    </match>
    <match action="org.freedesktop.hal.power-management.reboot">
        <return result="yes"/>
    </match>
    <match user="root">
        <return result="yes"/>
    </match>
    <define_admin_auth group="wheel"/>
</config>
From what I understand, this should be all that I need. Perhaps something has changed in MATE?

Any thoughts or direction would be appreciated. Thank you!
 

zeissoctopus

Active Member

Thanks: 36
Messages: 162

#2
If your regular login id is in group wheel
Try to edit in /usr/local/etc/PolicyKit/PolicyKit.conf
Code:
<config version="0.1">
   <match action="org.freedesktop.hal.storage.mount-removable">
        <match group="wheel">
            <return result="yes"/>
        </match>
   </match>
   <match action="org.freedesktop.hal.storage.mount-fixed">
        <match group="wheel">
            <return result="yes"/>
        </match>
   </match>
   <match action="org.freedesktop.hal.power-management.shutdown">
        <match group="wheel">
            <return result="yes"/>
        </match>
   </match>
   <match action="org.freedesktop.hal.power-management.reboot">
        <match group="wheel">
            <return result="yes"/>
        </match>
   </match>
   <match user="root">
       <return result="yes"/>
   </match>
   <define_admin_auth group="wheel"/>
</config>