SHA256
1
0
forked from pool/tigervnc

start dbus-launch with --exit-with-x11 option

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=187
This commit is contained in:
Stefan Dirsch 2020-09-17 02:27:59 +00:00 committed by Git OBS Bridge
parent 7c529ef24d
commit 522fe20d64

View File

@ -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".