Author Topic: [SOLVED] Authorization [for mounting external partition] Failed for Some Reason  (Read 483 times)

Offline dhinds

  • Full Member
  • ***
  • Posts: 192
After an upgrade and rebooting, when I attempted to mount the three external partitions I always use with any OS on this desktop computer with an Intel CPU, I get the following error message:

Authorization Failed for Some Reason.  Not authorized to perform operation.

Also, I was unable to sudo.  (I had made no changes to that).  No password would work.

So I logged out and logged in as root, then added the user dhinds to the disks group. But that didn't work when I logged back in. Then I added dhinds to the root, adm and fuse groups.

But that didn't help.  I still can't mount those partitions as the user (only as root).

I did change the dhinds password though with no problems (if I don't forget it).

Any suggestions?

TIA
« Last Edit: August 09, 2017, 12:00:36 am by dhinds »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1668
    • SparkyLinux
Please, always provide minimum info, such as:
- edition (stable or testing)
- arch (32 or 64 bit)
- desktop
Nothing is easy as it looks.
Danielle Steel

Offline dhinds

  • Full Member
  • ***
  • Posts: 192
Please, always provide minimum info, such as:
- edition (stable or testing)
- arch (32 or 64 bit)
- desktop

Sorry about that.

A brand new and updated installation of Sparky Testing (that's all I use) LXQt, 64 bit.

(Everything was working fine).

/, /home (both ext4) and Swap Partitions

Running On Gigabyte X58 Motherboard w/ a 1st Gen i7 CPU and 16 GB of DDR3 RAM

Offline dhinds

  • Full Member
  • ***
  • Posts: 192
Could this be an fstab problem?

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1668
    • SparkyLinux
I don't think so.
The latest LXQt provided a new authentication mechanism.
Make sure you have installed 'lxqt-policykit' package.
If you installed it right now, have to reboot.
Nothing is easy as it looks.
Danielle Steel

Offline dhinds

  • Full Member
  • ***
  • Posts: 192
I don't think so.
The latest LXQt provided a new authentication mechanism.
Make sure you have installed 'lxqt-policykit' package.
If you installed it right now, have to reboot.

I'll boot into Sparky LXQt now and check.

Offline dhinds

  • Full Member
  • ***
  • Posts: 192
The latest LXQt provided a new authentication mechanism.
Make sure you have installed 'lxqt-policykit' package.
If you installed it right now, have to reboot.

First I'm doing an apt full-upgrade --no-install-recommends -y --force-yes

System is now up to date.

lxqt-policykit is already installed.

I reinstalled it and will now reboot.

(Maybe I should have removed it and then reinstalled it).

I noticed that synaptic would not open at first via the lxqt panel menu.  (It too said "Authorization failed for some reason"). I had to open a terminal and used sudo (which now has a stronger password).
« Last Edit: August 08, 2017, 03:31:51 am by dhinds »

Offline dhinds

  • Full Member
  • ***
  • Posts: 192

The problem persists unchanged, after rebooting

Do you suggest I remove lxqt-policykit or remove lxqt-policykit completely, then reinstall it, or ??

TIA

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1668
    • SparkyLinux
Check does the policykit work:
Code: [Select]
pidof lxqt-policykit-agentIf the output is empty, run it:
Code: [Select]
lxqt-policykit-agentThen check again.
If not empty now, try to mount an external disk.
Nothing is easy as it looks.
Danielle Steel

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1668
    • SparkyLinux
Somebody posted the same problem on our Polish forums too.
It's already fixed (hope so), so:
Code: [Select]
sudo apt update
sudo apt full-upgrade
sudo reboot
Nothing is easy as it looks.
Danielle Steel

Offline dhinds

  • Full Member
  • ***
  • Posts: 192
Check does the policykit work:
Code: [Select]
pidof lxqt-policykit-agent

Nothing came back.

If the output is empty, run it:
Code: [Select]
lxqt-policykit-agentThen check again.
If not empty now, try to mount an external disk.

This is the result:

Code: [Select]
lxqt-policykit-agent:2734): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
New PolkitAgentListener  0x55f2e8f87f00
Adding new listener  PolkitQt1::Agent::Listener(0x7ffd4b67dcd0) for  0x55f2e8f87f00

** (lxqt-policykit-agent:2734): WARNING **: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
"Cannot register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject"

Offline dhinds

  • Full Member
  • ***
  • Posts: 192
Somebody posted the same problem on our Polish forums too.
It's already fixed (hope so), so:
Code: [Select]
sudo apt update
sudo apt full-upgrade
sudo reboot

Now I'll try that

Offline dhinds

  • Full Member
  • ***
  • Posts: 192
Yes, that did the trick.

Good job, pavroo