[Bug 272637] x11/sddm: With sddm-0.20.0 plasma shows no power buttons

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 24 01:05:42 BST 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272637

Florian Walpen <dev at submerge.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at FreeBSD.org
 Attachment #243577|                            |maintainer-approval?(kde at Fr
              Flags|                            |eeBSD.org)

--- Comment #5 from Florian Walpen <dev at submerge.ch> ---
Created attachment 243577
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243577&action=edit
Resurrect patch for Xsession script lost in the update to sddm-0.20.0

Resurrect a patch that was removed by the update to sddm-0.20.0 (commit
718687d3ee3e9556cd440c0aa26a36c52937e620). It explicitly starts the session
with

> exec $STARTUP /usr/bin/dbus-run-session --dbus-daemon=/usr/bin/dbus-daemon -- "$@"

This fixes the missing power options for me, sddm-0.20.0 on 13.2-RELEASE-p1.
The comment in the patch says:

> Fix use of "$@" (see sh(1)).
> 
> There's no systemd on FreeBSD so start the session using $STARTUP which is
> defined in 90-consolekit if ConsoleKit2 is installed.  By default this allows
> local users to shutdown/reboot the machine and access devices like USB keys.
> 
> Also use dbus-run-session so libdbus doesn't have to autolauch the session bus
> daemon on first use.  Autolaunched dbus daemons tend to linger and may only
> exit if the X server exits.

Maybe there's something with the autolaunch of the DBUS session not working for
Serge and me, but does work for Graham?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the kde-freebsd mailing list