Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

[SOLVED] Authorization [for mounting external partition] Failed for Some Reason

Started by dhinds, August 06, 2017, 12:37:31 AM

Previous topic - Next topic

dhinds

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

pavroo

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
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

Quote from: pavroo on August 06, 2017, 06:52:36 PM
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


pavroo

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
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

Quote from: pavroo on August 07, 2017, 07:56:03 PM
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.

dhinds

Quote from: pavroo on August 07, 2017, 07:56:03 PM
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).

dhinds


The problem persists unchanged, after rebooting

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

TIA

pavroo

Check does the policykit work:
pidof lxqt-policykit-agent
If the output is empty, run it:
lxqt-policykit-agent
Then check again.
If not empty now, try to mount an external disk.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

pavroo

Somebody posted the same problem on our Polish forums too.
It's already fixed (hope so), so:
sudo apt update
sudo apt full-upgrade
sudo reboot
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

dhinds

Quote from: pavroo on August 08, 2017, 01:50:26 PM
Check does the policykit work:
pidof lxqt-policykit-agent

Nothing came back.

Quote from: pavroo on August 08, 2017, 01:50:26 PM
If the output is empty, run it:
lxqt-policykit-agent
Then check again.
If not empty now, try to mount an external disk.

This is the result:

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"

dhinds

Quote from: pavroo on August 08, 2017, 06:59:17 PM
Somebody posted the same problem on our Polish forums too.
It's already fixed (hope so), so:
sudo apt update
sudo apt full-upgrade
sudo reboot


Now I'll try that

dhinds


View the most recent posts on the forum