LXDE missing lxpolkit [SOLVED]

Message
Author
User avatar
figueroa
Posts: 1105
Joined: Thu Dec 20, 2018 11:20 pm

LXDE missing lxpolkit [SOLVED]

#1 Post by figueroa »

Installing lxde desktop from the MX Package Manager does not include installing lxpolkit by default. However, lxpolkit is absolutely required to run applications from the desktop that invoke root (su-to-root). With lxpolkit, LXDE works great and the default configuration is totally usable, as long as lxpolkit is installed.

lxpolkit IS a recommended pacakge, but this degree of desktop dysfunction should not happen by default.

MX-19 works great wtih the default XFCE, but looks terrible in a remote x2go session because transparency doesn't work. That's all.
Last edited by figueroa on Sun May 03, 2020 1:29 pm, edited 1 time in total.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: LXDE missing lxpolkit

#2 Post by Head_on_a_Stick »

figueroa wrote: Sat May 02, 2020 4:22 pmlxpolkit IS a recommended pacakge, but this degree of desktop dysfunction should not happen by default.
The MX devs have decided to disable recommended packages by default, see the comment in /etc/apt/apt.conf

To remove this restriction just move that file out of the way:

Code: Select all

sudo mv /etc/apt/apt.conf{,.bak}
mod note: Signature removed, please read the forum rules

User avatar
figueroa
Posts: 1105
Joined: Thu Dec 20, 2018 11:20 pm

Re: LXDE missing lxpolkit

#3 Post by figueroa »

Head_on_a_Stick wrote: Sat May 02, 2020 5:10 pmThe MX devs have decided to disable recommended packages by default, see the comment in /etc/apt/apt.conf
Thank you for replying. I wouldn't want to do that. I agree with not installing recommended packages by default. But, lxpolkit is totally needed for LXDE. Installing lxpolkit should be forced when installing LXDE from MX Package Installer. Otherwise, why have MX Package Installer? Would we install VirtualBox without modules? MX Package Installer is supposed to improve the user experience when installing software. That's why I wrote about this.

I don't mean to sound like a complainer. MX Linux works great. In fact, LXDE works great as a desktop on MX, except for the missing lxpolkit. And it wasn't easy figuring out why programs wouldn't authenticate as root from the desktop. I'm almost an expert and I noticed lxpolkit was in the recommended apps, but I assumed it wasn't needed in MX since it wasn't installed by default.

The truth is, I ultimately installed about half of the recommended programs in order be able to manage and configure LXDE and its window manager with the GUI.

In my clumsy way I'm trying to make a contribution by sharing my experience. I realize that many dysfunctions are simply inherited from upstream. I also realize that not many users care about LXDE. Sometime tomorrow afternoon I'll share here the list of what else I installed to improve the LXDE experience.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
asqwerth
Developer
Posts: 8003
Joined: Sun May 27, 2007 5:37 am

Re: LXDE missing lxpolkit

#4 Post by asqwerth »

figueroa wrote: Sat May 02, 2020 11:57 pm
... lxpolkit is totally needed for LXDE. Installing lxpolkit should be forced when installing LXDE from MX Package Installer. Otherwise, why have MX Package Installer? Would we install VirtualBox without modules? MX Package Installer is supposed to improve the user experience when installing software. That's why I wrote about this.

....The truth is, I ultimately installed about half of the recommended programs in order be able to manage and configure LXDE and its window manager with the GUI.

In my clumsy way I'm trying to make a contribution by sharing my experience. I realize that many dysfunctions are simply inherited from upstream. I also realize that not many users care about LXDE. Sometime tomorrow afternoon I'll share here the list of what else I installed to improve the LXDE experience.
Hi, figueroa, I just checked the MXPI entry for LXDE under Popular Apps. Looks like that entry doesn't include lxpolkit, probably because not many of us are using LXDE (I used to use it in WattOS and Kanotix, but that was years ago and it came preinstalled).

I would recommend you post in the Bugs subforum or Bugzilla your list of all the recommended packages that you ultimately installed, so that the Popular Apps entry, which is supposed to be a one-click way to get your desired application up and running, can be improved for LXDE.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
sunrat
Posts: 665
Joined: Mon Mar 28, 2016 9:54 pm

Re: LXDE missing lxpolkit

#5 Post by sunrat »

I think MX should reconsider installing recommended packages by default. Debian does now.
Recommended packages used to be a dog's breakfast at times in the past but is much more sane these days.

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: LXDE missing lxpolkit

#6 Post by Head_on_a_Stick »

figueroa wrote: Sat May 02, 2020 11:57 pm
Head_on_a_Stick wrote: Sat May 02, 2020 5:10 pmThe MX devs have decided to disable recommended packages by default, see the comment in /etc/apt/apt.conf
Thank you for replying. I wouldn't want to do that. I agree with not installing recommended packages by default.
Apply the option temporarily then:

Code: Select all

sudo apt install --install-recommends task-lxde-desktop
^ That will install the desktop as it would be if you had used the Debian LXDE image. Other options are the lxde & lxde-core metapackages, which will install a more minimal subset of the LXDE desktop packages.
sunrat wrote: Sun May 03, 2020 2:22 amI think MX should reconsider installing recommended packages by default.
+1
mod note: Signature removed, please read the forum rules

User avatar
dreamer
Posts: 937
Joined: Sun Oct 15, 2017 11:34 am

Re: LXDE missing lxpolkit

#7 Post by dreamer »

@Head_on_a_Stick
Your replies provide valuable info, but you are missing the point, because
asqwerth wrote: Sun May 03, 2020 2:05 am so that the Popular Apps entry, which is supposed to be a one-click way to get your desired application up and running, can be improved for LXDE.
which was all that figueroa wanted. This was meant as help to other people and the MX team so we should thank him for pointing this out.
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

User avatar
Head_on_a_Stick
Posts: 919
Joined: Sun Mar 17, 2019 3:37 pm

Re: LXDE missing lxpolkit

#8 Post by Head_on_a_Stick »

^ My replies are intended to aid anybody who wants to install recommended packages.
mod note: Signature removed, please read the forum rules

User avatar
figueroa
Posts: 1105
Joined: Thu Dec 20, 2018 11:20 pm

Re: LXDE missing lxpolkit

#9 Post by figueroa »

asqwerth wrote: Sun May 03, 2020 2:05 amI would recommend you post in the Bugs subforum or Bugzilla your list of all the recommended packages that you ultimately installed, so that the Popular Apps entry, which is supposed to be a one-click way to get your desired application up and running, can be improved for LXDE.
Thank you and good idea. I'll do that. I'll post as suggested in the Bugs subforum.
Head_on_a_Stick wrote: Sun May 03, 2020 6:49 am Apply the option temporarily then:

Code: Select all

sudo apt install --install-recommends task-lxde-desktop
^ That will install the desktop as it would be if you had used the Debian LXDE image. Other options are the lxde & lxde-core metapackages, which will install a more minimal subset of the LXDE desktop packages.
In the case of LXDE, I wouldn't want to do that either. The total recommended programs are a bit of a dog's breakfast in this case. One would end up with unnecessary duplication to what's already installed in MX-19 out-of-the-box, and I don't intend to un-install any of that. I'm using LXDE as a supplementary desktop here, not as a replacement.

What I did end up installing in addition to lxpolkit was: gtk2-engines gnome-disk-utility gnome-system-tools gucharmap usermode lxhotkey-plugin-openbox lxhotkey-data and obconf. Of those, I would put obconf (GUI OpenBox configuration manager) highest on the list. Why install a WM without it's configuration tool?
Last edited by figueroa on Sun May 03, 2020 1:22 pm, edited 1 time in total.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
dolphin_oracle
Developer
Posts: 22497
Joined: Sun Dec 16, 2007 12:17 pm

Re: LXDE missing lxpolkit

#10 Post by dolphin_oracle »

I've just added lxpolkit to the lxde entry in Popular Apps. Will probabky show up in a day or two
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Post Reply

Return to “Software / Configuration”