maintainer-approval requested: [Bug 272637] x11/sddm: With sddm-0.20.0 plasma shows no power buttons : [Attachment 243577] Resurrect patch for Xsession script lost in the update to sddm-0.20.0

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


Florian Walpen <dev at submerge.ch> has asked freebsd-kde (Team) <kde at FreeBSD.org>
for maintainer-approval:
Bug 272637: x11/sddm: With sddm-0.20.0 plasma shows no power buttons
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272637

Attachment 243577: Resurrect patch for Xsession script lost in the update to
sddm-0.20.0
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243577&action=edit



--- 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?


More information about the kde-freebsd mailing list