Can't shutdown as normal user

Projet:Trisquel mini
Version:7.0
Composant:User interface
Catégorie:Rapporter un bogue
Priorité:normal
Attribué:Non assigné
Statut:active
Description

Whenever I try to logout, shutdown or restart my machine as normal user, I just get the following error message:

GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Operation not permitted

Please fix this. Thank you very much.

ven, 08/15/2014 - 11:36

This issue can be solved by typing the following with root user rights in a terminal:
echo "session required pam_systemd.so" >> /etc/pam.d/lxdm

Please include this solution in the final version of Trisquel 7.

jeu, 10/16/2014 - 20:54

This has been fixed in the 20141014 beta iso. The display manager is now lightdm and this allows Shutdown etc. Lightdm has been part of the maintenance supplied to exisiting users. If you didn't select it when shipped please use

sudo dpkg-reconfigure lxdm

and select lightdm instead.

This issue will be marked fixed shortly.

jeu, 10/16/2014 - 21:03

I think what fixed it was the lxpanel update, as the intermediate image with lightdm didn't have this bug.

lun, 10/20/2014 - 20:00

An updated 20140831 iso system will shutdown if lightdm is the display manager, but gives the original error if lxdm is used.

I've got a patch which applies the userfix to debian/lxdm.pam in the lxdm package if it's intended to return to it. But with those details typing one line is not going to be a hardship :-).