From 3ee909ffe6aec8d1afe6c60750fa722a3c823dd8 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 9 Dec 2019 13:54:17 +0100 Subject: [PATCH] Don't background the main session command When used with -fg we expect the startup script to remain running until the session is over. This will not happen if the session command is put in the background using &. --- unix/vncserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/vncserver b/unix/vncserver index 9f3d97f..3996fdc 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -83,7 +83,7 @@ $defaultXStartup "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n". "xsetroot -solid grey\n". "xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n". - "twm &\n"); + "twm\n"); $defaultConfig = ("## Supported server options to pass to vncserver upon invocation can be listed\n".