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