From 522fe20d648f75428b84a9c891322c1b326d6e35b24bafdcaec4917b27fe4ad0 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 17 Sep 2020 02:27:59 +0000 Subject: [PATCH] start dbus-launch with --exit-with-x11 option OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=187 --- u_tigervnc_update_default_vncxstartup.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/u_tigervnc_update_default_vncxstartup.patch b/u_tigervnc_update_default_vncxstartup.patch index c641974..9d3985e 100644 --- a/u_tigervnc_update_default_vncxstartup.patch +++ b/u_tigervnc_update_default_vncxstartup.patch @@ -33,12 +33,12 @@ Index: b/unix/vncserver - " exec /etc/X11/xinit/xinitrc\n". + "\n". + "if [ -x \"\$client\" ]; then\n". -+ " exec dbus-launch \"\$client\"\n". ++ " exec dbus-launch --exit-with-x11 \"\$client\"\n". "fi\n". - "if [ -f /etc/X11/xinit/xinitrc ]; then\n". - " exec sh /etc/X11/xinit/xinitrc\n". + "if [ -f \"\$client\" ]; then\n". -+ " exec dbus-launch sh \"\$client\"\n". ++ " exec dbus-launch --exit-with-x11 sh \"\$client\"\n". "fi\n". + "\n". "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n".