On mer., 2012-02-01 at 19:54 +0000, Brian Potkin wrote: > Package: xfce4-session > Version: 4.8.2-3 > Severity: wishlist > > > Regarding using startx README.Debian says: > > This is because Debian now uses PolicyKit/ConsoleKit to manage > policies for things like device and power management. If you run > Xfce from a compatible display manager (like gdm or lightdm), > they'll talk to consolekit so your X session will have the > authentication tokens, but if you use startx, it won't. There's > a script shipped by default with ConsoleKit which will do that, > in /etc/X11/Xsession.d/90consolekit, but the /etc/X11/Xsession.d/ > scripts are only executed if you don't use any .xinitrc. See > startx (1) for more information. > > The implication is that the required authentication tokens will get to > Consolekit via the use of 90consolekit. However, ck-list-sessions shows > 'active = FALSE' and 'is-local = FALSE' when startx is used. As a > consequence, Policykit does not permit the user to restart, stop, > suspend or hibernate the machine or mount USB devices. The same thing > happens if XDM is used to login. 90consolekit appears to do nothing more > than allow Consolekit to register a session. > > In brief: /etc/polkit-1/localauthority/50-local.d/ seems to the place to > inform Policykit about local policy, so one solution would be for the > user to put .pkla files there. An example might be: > > [udisks] > Identity=unix-group:plugdev > Action=org.freedesktop.udisks* > ResultAny=yes > > to give the ability to view the contents of a USB device. > > I wonder whether you would consider a change to README.Debian is necessary > and whether something along these lines would be useful and appropriate. > > > Indeed, it doesn't seem to work anymore, but afaict that looks like a bug in consolekit.
Michael, does it sounds familiar? It looks like 90consolekit doesn't work anymore. Regards, -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part