The officially official Devuan Forum!

You are not logged in.

#1 Re: Hardware & System Configuration » [SOLVED] LXQt user shutdown » 2024-05-07 21:06:32

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.

#2 Re: Hardware & System Configuration » [SOLVED] LXQt user shutdown » 2024-04-23 21:44:46

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.

#3 Re: Hardware & System Configuration » [SOLVED] LXQt user shutdown » 2024-04-23 16:03:12

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.

#4 Hardware & System Configuration » [SOLVED] LXQt user shutdown » 2024-04-23 10:27:16

shep
Replies: 7

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?

Board footer

Forum Software