clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
521 stars 29 forks source link

"Authentication Required" on live system #1241

Open ovearmbrust opened 5 years ago

ovearmbrust commented 5 years ago

When I run a root-requiring program/command on the live distribution of Clear (run from flash drive), I get a pop-up saying "Authentication Required". When I click "Authenticate", nothing seems to happen - the pop-up stays, I can't move it, it is drawing over everything else. The root command executes fine. See attached screenshot. Using Clear 2.1.1. auth_req

bryteise commented 5 years ago

@mdhorn Would this be something you'd know about?

mdhorn commented 5 years ago

Hmmm...just tried the latest image and I was able to launch gparted without seeing that window.

Does the installer launch okay?

This is stating 2.1.1 which is the older version of the clr-installer, what is the version of Clear Linux* OS?

swupd info

ovearmbrust commented 5 years ago

Installed version: 30970

mdhorn commented 5 years ago

Steps to reproduce:

  1. Boot ISO live-desktop
  2. Launch gparted (from desktop icon)
  3. Lock the display (from desktop icon Lock Screen)

This appears to be a policy kit problem for gparted.

Note: This does not happen when the clr-installer launches gparted as it is enabling root to have access to clrlinux (non-privileged user's) display via xhost.

mdhorn commented 5 years ago

The problem here seems to be that the default user in the ISO clrlinux does not have a password. When gparted is launched, policy kit allows it to start even though there is no password. However, when resuming from the screen lock Policy Kit attempts to require authentication, but can not because the clrlinux account has no password.