You are not logged in.
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
I am running LXQt under Daedalus and use lxqt-leave, which works nicely.
I use LXDM as the display manager, which I find also works nicely, although I have not seen many comments about it here.
My desktop uses Runit-init and my laptop uses OpenRC and they both terminate promptly and cleanly when using lxqt-leave --shutdown.
Geoff
Offline
not familiar with the particulars but did some poking around.
saw there were 83 results to this search:
ttps://forum.freecad.org/search.php?keywords=devuan
also noted from the developer hub webpage:
ttps://wiki.freecad.org/Developer_hub
Roadmap
--------------------------
FreeCAD, though usable in certain areas, is at the beginning of a long way into the CAD mainstream. There is still a lot to do to reach a state where we can compete with commercial software.
Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!
Offline
When applying for a patent, intellectual property rights hinge on the device being novel and not in the public domain. One aspect, that has not been legally scrutinized is if you develop your idea using cloud based CAD programs, like Fusion360. OnShape, Solidworks, is your work is in the public domain? How secure is your work on a Cloud Based software? Also a number of popular 3D printers essentially force LAN uploading of the gcode to go through cloud servers hosted by the chinese manufacturers. It is an issue you do not have to worry about with FreeCAD.
What ever CAD software you pick, none of them are intuitive and all have a learning curve. There is a UK teacher who has put out an entire YouTube series of FreeCAD tutorial and the community is on par with Devuan and walks new users through the generation of complex parametric shapes. https://www.youtube.com/@MangoJellySolutions
FreeCAD 20.2 proved to be more than useable for me and had some helpful features as far as generating patent drawings via the TechDraw workbench. The assembly A2Plus workbench was great in terms of making sure my parts fit together. My issue was having the most recent stable release break in Arch. It still is not fixed in Arch Linux.
If I had kept development in Devuan/Debian, I would not have had the issue. I would have preferred Devuan but unfortunately at the time I installed, there were some hiccups with missing update packages in the Devuan repos. I'm going to mark this solved because it is changing topic to CAD sofware.
Offline