[Pkg-xfce-devel] Bug#658284: Bug#658284: xfce4-session: Please review README.Debian

Michael Biebl biebl at debian.org
Wed Feb 1 21:36:22 UTC 2012


On 01.02.2012 22:15, Yves-Alexis Perez wrote:
> 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

I wouldn't recommend doing that.

>>
>>
> 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.


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598150

Filed by yours truly.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20120201/cdf3beae/attachment.pgp>


More information about the Pkg-xfce-devel mailing list