Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] PCMAN no longer opens encrypted drive

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
ticketman
Posts: 136
Joined: 2012-06-30 11:06
Has thanked: 3 times

[SOLVED] PCMAN no longer opens encrypted drive

#1 Post by ticketman »

After a recent upgrade to stretch, when I use pcman to open an encrypted data drive, it complains "Not authorized to perform operation".

Before the upgrade, the same operation would result in asking me the passphrase and then the root password. The drive would then be readable.
I want to recover this behaviour.

Right now, to open the disc, I have to enter on the command line:

Code: Select all

sudo cryptsetup luksOpen /dev/sdc1 Other0 
sudo mkdir /media/my_name/Other0  
sudo mount /dev/mapper/Other0  /media/my_name/Other0 
Some config has changed, but I don't know what it is or how to fix it.

I am using lxde and pcman
Last edited by ticketman on 2017-05-11 17:14, edited 1 time in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: PCMAN no longer opens encrypted drive

#2 Post by arochester »

I use LXQt, not LXDE...

I have LXQt-PolicyKit Authentication in Startup
The lxqt-policykit D-Bus session bus service that is used to
bring up authentication dialogs used for obtaining privileges.

This package contains the LXQt policy kit authentication agent.
Do you have lxpolkit in Startup?
LXPolkit is a GUI application for the Lightweight X11 Desktop Environment
(LXDE).

It's a simple PolicyKit authentication agent.
Otherwise have you tried: sudo pcmanfm

ticketman
Posts: 136
Joined: 2012-06-30 11:06
Has thanked: 3 times

Re: PCMAN no longer opens encrypted drive

#3 Post by ticketman »

Indeed I don't have lxpolkit installed.
Do I need to do anything after installing it?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: PCMAN no longer opens encrypted drive

#4 Post by debiman »

yes, make sure it's autostarted.

ticketman
Posts: 136
Joined: 2012-06-30 11:06
Has thanked: 3 times

[SOLVED] PCMAN no longer opens encrypted drive

#5 Post by ticketman »

Yes, that fixed it, thanks debiman!
Install and make sure it autostarts. No other configuration necessary.
That was surprisingly easy!

I guess the kit installs some default policies that includes access to encrypted discs.

It does seem odd to me that each desktop environment has to have its own policy kit.
(Not that I know much about this subject ...)

Post Reply