mirror of
https://git.freebsd.org/ports.git
synced 2025-05-05 16:07:38 -04:00
Make it start D-Bus and ConsoleKit again. PR: 272637 Sponsored by: Serenity Cybersecurity, LLC
12 lines
420 B
Text
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
|