-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11/sddm: Restore a patch for the Xsession script.
Make it start D-Bus and ConsoleKit again. PR: 272637 Sponsored by: Serenity Cybersecurity, LLC
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
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 |