ports/x11/sddm/files/patch-data_scripts_Xsession
Gleb Popov 6553c93b0a x11/sddm: Restore a patch for the Xsession script.
Make it start D-Bus and ConsoleKit again.

PR:		272637
Sponsored by:	Serenity Cybersecurity, LLC
2023-08-13 21:23:35 +03:00

12 lines
420 B
Text

Start a session D-Bus before anything else.
Then register ourselves with ConsoleKit via $STARTUP
--- data/scripts/Xsession.orig 2023-06-23 12:28:38 UTC
+++ data/scripts/Xsession
@@ -90,5 +90,5 @@ else
if [ -z "$*" ]; then
exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
else
- exec $@
+ exec %%LOCALBASE%%/bin/dbus-launch --exit-with-x11 -- $STARTUP "$@"
fi