[SOLVED] PCMAN no longer opens encrypted drive

Kernels & Hardware, configuring network, installing services

[SOLVED] PCMAN no longer opens encrypted drive

Postby ticketman » 2017-05-10 16:38

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.
ticketman
 
Posts: 69
Joined: 2012-06-30 11:06

Re: PCMAN no longer opens encrypted drive

Postby arochester » 2017-05-10 19:19

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
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1084
Joined: 2010-12-07 19:55

Re: PCMAN no longer opens encrypted drive

Postby ticketman » 2017-05-10 19:53

Indeed I don't have lxpolkit installed.
Do I need to do anything after installing it?
ticketman
 
Posts: 69
Joined: 2012-06-30 11:06

Re: PCMAN no longer opens encrypted drive

Postby debiman » 2017-05-11 15:12

yes, make sure it's autostarted.
User avatar
debiman
 
Posts: 1528
Joined: 2013-03-12 07:18

[SOLVED] PCMAN no longer opens encrypted drive

Postby ticketman » 2017-05-11 17:12

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 ...)
ticketman
 
Posts: 69
Joined: 2012-06-30 11:06


Return to System configuration

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable