The officially official Devuan Forum!

You are not logged in.

#1 2021-03-09 13:56:35

nauved-rex
Member
From: USA
Registered: 2021-01-07
Posts: 24  

[SOLVED]LXDE: Privilege Elevation Doesn't Work

A 4 TB HD is plugged into a USB port. When I boot up and log on, it appears in PCManFM. However, when I click on it, I get

Not authorized to perform operation

So then I can mount it manually to a local folder, so no problem. However, it should "hot mount", right?

When I was running ASCII, I had to replace LightDM with LXDM to solve problems like this. Under Beowulf, this doesn't help.

I have chrome-remote-desktop installed on this computer. Could this be interfering? I may try uninstalling it, just to be sure.

Last edited by nauved-rex (2021-03-11 20:39:56)

Offline

#2 2021-03-09 16:55:09

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

Is the gvfs-backends package installed?


Brianna Ghey — Rest In Power

Offline

#3 2021-03-09 21:17:34

nauved-rex
Member
From: USA
Registered: 2021-01-07
Posts: 24  

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

Head_on_a_Stick wrote:

Is the gvfs-backends package installed?

Yes.

Offline

#4 2021-03-11 20:40:43

nauved-rex
Member
From: USA
Registered: 2021-01-07
Posts: 24  

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

I installed Lubuntu, now I don't have this problem.

Offline

#5 2021-03-12 01:13:05

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

I just installed lxde in beowulf to see how it is. Starting with just a standard (no-X) system, apt refused to install the lxde metapackage or any individual parts until I tried intsalling lxde and policykit-1 together. Then it worked.

I did not test removable drives because I'm testing in a qemu VM. But the user could not shutdown or reboot from the desktop without entering the root password and not at all from the lightdm login screen. All the polkit and elogind stuff was there. Turned out that udisks was missing. When I added that, shutdown and reboot were active on desktop and login screen.

Offline

#6 2021-03-12 10:15:27

nauved-rex
Member
From: USA
Registered: 2021-01-07
Posts: 24  

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

fsmithred wrote:

I just installed lxde in beowulf to see how it is. Starting with just a standard (no-X) system, apt refused to install the lxde metapackage or any individual parts until I tried intsalling lxde and policykit-1 together. Then it worked.

I did not test removable drives because I'm testing in a qemu VM. But the user could not shutdown or reboot from the desktop without entering the root password and not at all from the lightdm login screen. All the polkit and elogind stuff was there. Turned out that udisks was missing. When I added that, shutdown and reboot were active on desktop and login screen.

Interesting

Offline

#7 2021-03-12 15:44:46

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

Here's a live-iso I made today. It's a proof-of-concept, experimental, unofficial, and it looks like it works just fine.
Beowulf, LXDE, it has both lxdm and lightdm with lxdm the active display manager. I forgot to remove lightdm. To change the default, run dpkg-reconfigure lightdm

There's not much more than what comes with lxde. Just a few apps. No gimp or libreoffice.

https://get.refracta.org/files/experime … 2_0818.iso

Login: Password
user:user
root:root

sha256sum:
6d4247852ea41865b0f1977ea88f8399f6ddab4b55c91da079ce1536c443b859  snapshot_beowulf_lxde_amd64-20210312_0818.iso

Offline

#8 2021-03-14 00:33:23

nauved-rex
Member
From: USA
Registered: 2021-01-07
Posts: 24  

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

fsmithred wrote:

Here's a live-iso I made today. It's a proof-of-concept, experimental, unofficial, and it looks like it works just fine.
Beowulf, LXDE, it has both lxdm and lightdm with lxdm the active display manager. I forgot to remove lightdm. To change the default, run dpkg-reconfigure lightdm

There's not much more than what comes with lxde. Just a few apps. No gimp or libreoffice.

https://get.refracta.org/files/experime … 2_0818.iso

Login: Password
user:user
root:root

sha256sum:
6d4247852ea41865b0f1977ea88f8399f6ddab4b55c91da079ce1536c443b859  snapshot_beowulf_lxde_amd64-20210312_0818.iso

Thanks, Admin! This is rather nice. I booted it up on my Chromebook. I had to edit the boot text to include i915.fastboot=1 because of a somewhat incompatibility which causes a flashing screen, but after this, I came to the desktop.

After inserting a MicroSD card, I was able to browse the media using pcmanfm. So right now, I'm clueless as to why I had a problem earlier. I will try installing from the netinst.iso again soon, and will let you know.

Offline

#9 2021-03-14 05:06:48

nauved-rex
Member
From: USA
Registered: 2021-01-07
Posts: 24  

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

Update: I downloaded the netinst.iso and installed the default desktop. (Normally, I roll my own install after booting to a command line.)

So after opening in XFCE, I installed LXDE. Everything works fine except for dynamic brightness control. No problem at all accessing attached storage. For brightness control, I added the following line in .config/lxsession/LXDE/autostart:

xrandr --output eDP-1 --brightness .85

which was a very comfortable level.

After a reboot, the xfce4-power-manager slider easily controlled the brightness.

After uninstalling LibreOffice and several multimedia programs, I was only using 3 GB, which is great!

Last edited by nauved-rex (2021-03-14 07:00:08)

Offline

#10 2021-03-14 17:56:33

nauved-rex
Member
From: USA
Registered: 2021-01-07
Posts: 24  

Re: [SOLVED]LXDE: Privilege Elevation Doesn't Work

I think the answer lies in the udisks package. When I roll my own, it likely never gets installed. So when I try one more time, I will check for this. The name of the package is udisks2.

Offline

Board footer