[blfs-support] Polkit Actions

Dan McGhee beesnees at grm.net
Wed Dec 11 16:06:19 PST 2013


On 12/11/2013 05:50 PM, Armin K. wrote:
> On 12/12/2013 12:47 AM, Dan McGhee wrote:
>> On 12/11/2013 05:35 PM, Armin K. wrote:
>>> On 12/12/2013 12:19 AM, Dan McGhee wrote:
>>> You can always try running "pkexec /usr/sbin/gparted" from a terminal
>>> and check the output.
>> Interesting output. Now I need to find out why when running pkexec from
>> the terminal, it thinks I'm somebody else.
>>> dan [ ~ ]$ pkexec /usr/sbin/gparted
>>> Error executing command as another user: Not authorized
> This is due to consolekit misconfiguration. Most people ignore
> recommended dependency of Linux PAM on the ConsoleKit page, which is
> really, really *required* if you want ConsoleKit to work correctly. On
> the other hand, I use systemd, which has logind - a replacement for
> consolekit so I don't really know if polkit works anymore with just
> consolekit.
>
> Post output of ck-list-sessions. It should read something like (if the
> memory serves me well) active: yes, local: yes. If these two are not
> yes, then consolekit is not configured correctly.
I had just done this when your reply arrived and I had thought there was 
something wrong with consolekit. Here's the output

> Session3:
> unix-user = '100'
> realname = '(null)'
> seat = 'Seat4'
> session-type = ''
> active = FALSE
> x11-display = ''
> x11-display-device = ''
> display-device = '/dev/tty1'
> remote-host-name = ''
> is-local = FALSE
> on-since = '2013-12-11T21:20:56.318833Z'
> login-session-id = '4294967295'
> idle-since-hint = '2013-12-11T21:21:26.873134Z'
And I'm one of the ones who didn't install pam. I'll check into all of 
this. Once again, thanks, Armin

Dan




More information about the blfs-support mailing list