diff --git a/xinit-nolonger-unset-dbus-session.patch b/xinit-nolonger-unset-dbus-session.patch new file mode 100644 index 0000000..59dc439 --- /dev/null +++ b/xinit-nolonger-unset-dbus-session.patch @@ -0,0 +1,10 @@ +--- xinit-1.4.0/startx.cpp.old 2018-09-15 15:37:45.914382000 +0200 ++++ xinit-1.4.0/startx.cpp 2018-09-15 15:38:02.919921000 +0200 +@@ -11,7 +11,6 @@ + XCOMM Site administrators are STRONGLY urged to write nicer versions. + XCOMM + +-unset DBUS_SESSION_BUS_ADDRESS + unset SESSION_MANAGER + + #ifdef __APPLE__ diff --git a/xinit.changes b/xinit.changes index 2261f2f..4640c0b 100644 --- a/xinit.changes +++ b/xinit.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Sep 15 13:40:18 UTC 2018 - sndirsch@suse.com + +- xinit-nolonger-unset-dbus-session.patch + * no longer unset DBUS_SESSION_BUS_ADDRESS variable to prevent + gnome-session (and probably other DEs or programs, except of + Plasma) from launching a new D-Bus session, while systemd has + already launched its own. Unsetting it broke user systemd + services that use D-Bus (e.g. PulseAudio), because X uses + another D-Bus session (boo#1108549) + ------------------------------------------------------------------- Wed Jul 11 11:16:48 UTC 2018 - fcrozat@suse.com diff --git a/xinit.spec b/xinit.spec index c463880..14784ac 100644 --- a/xinit.spec +++ b/xinit.spec @@ -31,6 +31,7 @@ Patch0: xinit.diff Patch1: xinit-client-session.patch Patch2: xinit-suse.patch Patch3: xinit-tolerant-hostname-changes.patch +Patch4: xinit-nolonger-unset-dbus-session.patch # needed for patch0 BuildRequires: gcc-c++ BuildRequires: libtool @@ -65,6 +66,7 @@ terminate. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 # needed for patch0 autoreconf -fi