Hello,
I've found many topics in this forum that solves this issue, but I can't get the shutdown and restart menu entries to appear on MATE with the Slim login manager. My user belongs to the following groups:
Adding myself to the operator or wheel group doesn't fix anything. I would like to shutdown the system from the desktop environment, not through the
I tried to create a file, /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.pkla, with the following content:
I also tried adding the following to the /usr/local/etc/PolicyKit/PolicyKit.conf file:
But none of these methods worked. This is my /etc/rc.conf file (the VirtualBox lines are intentional, it's installed as a VirtualBox guest):
And this is my
How can I enable the shutdown and reboot menu entries?
I'm using FreeBSD 12.1-RELEASE under amd64 architecture, and the MATE version is 1.22.2
Thanks in advance.
I've found many topics in this forum that solves this issue, but I can't get the shutdown and restart menu entries to appear on MATE with the Slim login manager. My user belongs to the following groups:
Code:
$ groups
blervawa operator
/sbin/shutdown
command.I tried to create a file, /usr/local/etc/polkit-1/localauthority/50-local.d/org.freedesktop.consolekit.pkla, with the following content:
Code:
[Restart]
Identity=unix-group:blervawa
Action=org.freedesktop.consolekit.system.restart
ResultAny=yes
ResultInactive=yes
ResultActive=yes
[Shutdown]
Identity=unix-group:blervawa
Action=org.freedesktop.consolekit.system.stop
ResultAny=yes
ResultInactive=yes
ResultActive=yes
I also tried adding the following to the /usr/local/etc/PolicyKit/PolicyKit.conf file:
Code:
<match action="org.freedesktop.hal.power-management.shutdown">
<match group="blervawa">
<return result="yes"/>
</match>
</match>
<match action="org.freedesktop.hal.power-management.reboot">
<match group="blervawa">
<return result="yes"/>
</match>
</match>
But none of these methods worked. This is my /etc/rc.conf file (the VirtualBox lines are intentional, it's installed as a VirtualBox guest):
Code:
clear_tmp_enable="YES"
syslogd_flags="-ss"
sendmail_enable="NONE"
hostname="freebsd"
keymap="es.acc.kbd"
ifconfig_em0="DHCP"
sshd_enable="YES"
ntpd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
dbus_enable="YES"
hald_enable="YES"
slim_enable="YES"
vboxguest_enable="YES"
vboxservice_enable="YES"
vboxservice_flags="--disable-timesync"
~/.xinitrc
file:
Code:
export LANG=es_ES.UTF-8
exec /usr/local/bin/ck-launch-session mate-session
exec mate-session
doesn't work either.How can I enable the shutdown and reboot menu entries?
I'm using FreeBSD 12.1-RELEASE under amd64 architecture, and the MATE version is 1.22.2
Thanks in advance.