Re: [Tails-testers] Experience installing Tails 2.0.1 using …

Poista viesti

Vastaa
Lähettäjä: David Fifield
Päiväys:  
Vastaanottaja: tails-testers
Aihe: Re: [Tails-testers] Experience installing Tails 2.0.1 using tails-installer
On Sat, Feb 20, 2016 at 10:46:08AM +0100, intrigeri wrote:
> David Fifield wrote (20 Feb 2016 08:13:08 GMT) :
> >  3. I initially didn't run the installer as root, so I didn't have
> >     permission to write the disk image.

>
> In theory you don't need to run it as root, you only need to be
> considered as an administrator by polkit (which is the default if
> you're a sudoer on Debian IIRC). So at first glance, it seems that
> either your user is not allowed to run commands as root via polkit, or
> you don't have working polkit in your current desktop session.
>
> Can you try running:
>
> $ pkexec whoami
>
> ... and report back what's happening?


I probably don't have polkit set up correctly. I remember experimenting
with some custom settings, so my configuration isn't typical. This is
what it says (I entered 1 at the first prompt):

$ pkexec whoami
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/whoami' as the super user
Multiple identities can be used for authentication:
1. david,,, (david)
2. user
Choose identity to authenticate as (1-2): 1
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.