Blame SOURCES/tigervnc-kill-session-after-logout.patch

c7bdbd
diff --git a/unix/vncserver b/unix/vncserver
c7bdbd
index b6e18c2..6b07218 100755
c7bdbd
--- a/unix/vncserver
c7bdbd
+++ b/unix/vncserver
c7bdbd
@@ -63,7 +63,8 @@ $defaultXStartup
c7bdbd
     = ("#!/bin/sh\n\n".
c7bdbd
        "unset SESSION_MANAGER\n".
c7bdbd
        "unset DBUS_SESSION_BUS_ADDRESS\n".
c7bdbd
-       "exec /etc/X11/xinit/xinitrc\n");
c7bdbd
+       "/etc/X11/xinit/xinitrc\n".
c7bdbd
+       "vncserver -kill \$DISPLAY\n");
c7bdbd
c7bdbd
 $defaultConfig
c7bdbd
     = ("## Supported server options to pass to vncserver upon invocation can be listed\n".