You are not logged in.
Pages: 1
A new LXQT Dadelus install will not shutdown. My install was somewhat disjointed as I was trying to avoid also installing KDE plasma - a known issue. I started with a bare metal install and installed packages with "apt install --no-install-recommends lxqt" and managed to fill almost all missing packages for full function with the exception of user shutdown
I'm having user reboot and shutdown issues from the lxqt menu. I can shutdown from SDDM
I ran the user shutdown invocation from the command line and had this error output:
***@********:~$ lxqt-leave --shutdown
** Dbus error **************************
Error name "org.freedesktop.DBus.Error.AccessDenied"
Error msg "Permission denied"
****************************************
systemd: "CanPowerOff" = "Permission denied"
dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanPowerOff"
***@*****:~$ loginctl session-stat;us
-bash: us: command not found
***@*******:~$ loginctl session-status
2 -*** (1000)
Since: Tue 2024-04-23 02:35:59 PDT; 16min ago
Leader: 1506 (sddm-helper)
Seat: seat0; vc7
Display: :0
Service: sddm; type x11; class user
Desktop: LXQt
State: active
I'm new to elogind and believe that it has some consolekit/polkit/systemd cludges.
root@****:/home/****# apt list --installed | grep consolekit
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libpolkit-gobject-consolekit-1-0/stable,now 122-3devuan1 amd64 [installed]
Consolekit it self is not installed
root@****:/home/****# apt list --installed | grep consolekit
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libpolkit-gobject-consolekit-1-0/stable,now 122-3devuan1 amd64 [installed]
root@****:/home/***# apt search consolekit
Sorting... Done
Full Text Search... Done
consolekit/stable,now 1.2.4-2 amd64 [residual-config]
framework for defining and tracking users, sessions and seats
.....
libconsolekit1/stable 1.2.4-2 amd64
ConsoleKit base library
.....
libpam-ck-connector/stable 1.2.4-2 amd64
ConsoleKit PAM module
libpolkit-gobject-1-0/stable,now 122-3devuan1 all [installed,automatic]
polkit Authorization API
libpolkit-gobject-1-dev/stable 122-3devuan1 all
polkit Authorization API
libpolkit-gobject-consolekit-1-0/stable,now 122-3devuan1 amd64 [installed]
polkit Authorization API
Did my disjointed install leave out something, ?libconsolekit1? ?polkit? Need to be a member of a group?
Last edited by shep (2024-04-23 10:32:37)
Offline
You may have more luck when installing
# apt install libpolkit-gobject-elogind-1-0 libpolkit-backend-elogind-1-0
This should remove the consolekit packages and install elogind stuff instead. And that should work.
Offline
Thanks for the quick reply. When I installed libreoffice, some of the jre 17 packages were not available.
When I tried your suggestion libpolkit-backend-elogind-1-0 was also not available.
root@*****:/home/***# apt search libpolkit
Sorting... Done
Full Text Search... Done
libpolkit-agent-1-0/stable,now 122-3devuan1 amd64 [installed,automatic]
polkit Authentication Agent API
libpolkit-agent-1-0-dbgsym/stable 122-3devuan1 amd64
debug symbols for libpolkit-agent-1-0
libpolkit-agent-1-dev/stable 122-3devuan1 amd64
polkit Authentication Agent API - development files
libpolkit-gobject-1-0/stable,now 122-3devuan1 all [installed,automatic]
polkit Authorization API
libpolkit-gobject-1-dev/stable 122-3devuan1 all
polkit Authorization API
libpolkit-gobject-consolekit-1-0/stable,now 122-3devuan1 amd64 [installed]
polkit Authorization API
libpolkit-gobject-consolekit-1-0-dbgsym/stable 122-3devuan1 amd64
debug symbols for libpolkit-gobject-consolekit-1-0
libpolkit-gobject-consolekit-1-dev/stable 122-3devuan1 amd64
polkit Authorization API - development files
libpolkit-gobject-elogind-1-0/stable 122-3devuan1 amd64
polkit Authorization API
libpolkit-gobject-elogind-1-0-dbgsym/stable 122-3devuan1 amd64
debug symbols for libpolkit-gobject-elogind-1-0
libpolkit-gobject-elogind-1-dev/stable 122-3devuan1 amd64
polkit Authorization API - development files
libpolkit-qt5-1-1/stable,now 0.114.0-2 amd64 [installed,automatic]
PolicyKit-qt5-1 library
libpolkit-qt5-1-dev/stable 0.114.0-2 amd64
PolicyKit-qt5-1 development files
A quick search on polkit backends:
https://dev1galaxy.org/viewtopic.php?id=1820
https://dev1galaxy.org/viewtopic.php?id=4155
The first thread indicates that there may be conflicts with sddm and lxqt as far as user privileges. I used sddm in a test install on an older machine but I'm ok with lightdm
libpolkit-gobject-elogind-1-0 did install with some warning messages:
root@*****:/home/***# apt install libpolkit-backend-elogind-1-0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libpolkit-backend-elogind-1-0
.
I used sddm because Arch recommended it as the DM for LXQT but I'm open to another DM, preferrably Qt based.
Offline
Well, I am working with LightDM/Mate re. Cinnamon. I myself had some trouble getting ASCII to work with consolekit, the elogind stuff fixed that. And that is what I copied into my reply.
When I do an apt list on my Daedalus I get:
# apt list libpolkit*
Auflistung… Fertig
libpolkit-agent-1-0-dbgsym/stable 122-3devuan1 amd64
libpolkit-agent-1-0-dbgsym/stable 122-3devuan1 i386
libpolkit-agent-1-0/stable,now 122-3devuan1 amd64 [Installiert,automatisch]
libpolkit-agent-1-0/stable 122-3devuan1 i386
libpolkit-agent-1-dev/stable 122-3devuan1 amd64
libpolkit-agent-1-dev/stable 122-3devuan1 i386
libpolkit-gobject-1-0/stable,stable,now 122-3devuan1 all [Installiert,automatisch]
libpolkit-gobject-1-dev/stable,stable 122-3devuan1 all
libpolkit-gobject-consolekit-1-0-dbgsym/stable 122-3devuan1 amd64
libpolkit-gobject-consolekit-1-0-dbgsym/stable 122-3devuan1 i386
libpolkit-gobject-consolekit-1-0/stable 122-3devuan1 amd64
libpolkit-gobject-consolekit-1-0/stable 122-3devuan1 i386
libpolkit-gobject-consolekit-1-dev/stable 122-3devuan1 amd64
libpolkit-gobject-consolekit-1-dev/stable 122-3devuan1 i386
libpolkit-gobject-elogind-1-0-dbgsym/stable 122-3devuan1 amd64
libpolkit-gobject-elogind-1-0-dbgsym/stable 122-3devuan1 i386
libpolkit-gobject-elogind-1-0/stable,now 122-3devuan1 amd64 [Installiert,automatisch]
libpolkit-gobject-elogind-1-0/stable 122-3devuan1 i386
libpolkit-gobject-elogind-1-dev/stable 122-3devuan1 amd64
libpolkit-gobject-elogind-1-dev/stable 122-3devuan1 i386
libpolkit-qt5-1-1/stable,now 0.114.0-2 amd64 [Installiert,automatisch]
libpolkit-qt5-1-1/stable 0.114.0-2 i386
libpolkit-qt5-1-dev/stable 0.114.0-2 amd64
libpolkit-qt5-1-dev/stable 0.114.0-2 i386
Looks like the backend stuff is gone, don't know when, and apt list *backend* confirmed that.
Give the first part a try, it should replace the consolekit stuff.
Offline
It is a long story but this build started as a need for a stable FreeCAD system. Was using Arch with LXQt 1.4 but FreeCAD broke with qt5 -> qt6. I'm trying to develop a commercial grade device that I'm in the midst of patenting. The other issue is that FreeCAD is adding need code to the saved format - new CAD files will not open in older versions. I need a stable FreeCAD here and now.
I went ahead and shifted to Debian and shutdown/reboot works from LXQt. I'm not a big fan of systemd but it looks like the LXQt developers target systemd. I'd have stayed with Arch but the new LXQt release forces qt6 and FreeCAD is lagging. I just don't have time right now to spend a lot of time getting LXQt 1.2 to work with elogind.
Thanks for the help.
Offline
Pages: 1