From 5c9517ecbec4c9070fe906018059deb813f9b240 Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Sun, 7 Nov 2010 20:28:54 +0100 Subject: [PATCH] Add support for vnc_connect feature (#877) --- etc/skel/.xinitrc.d/grml_vnc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/skel/.xinitrc.d/grml_vnc b/etc/skel/.xinitrc.d/grml_vnc index eff5a40..1962179 100755 --- a/etc/skel/.xinitrc.d/grml_vnc +++ b/etc/skel/.xinitrc.d/grml_vnc @@ -12,8 +12,9 @@ fi # if the vnc bootoption sets up the password let's start the vnc server if [ -e $HOME/.vnc/passwd ]; then + test -f $HOME/.vnc/options && OPTIONS=$(cat $HOME/.vnc/options) /usr/bin/x11vnc -bg -forever -noxdamage -o $HOME/.vnc/x11vnc.log -rfbauth \ - $HOME/.vnc/passwd -auth $HOME/.Xauthority -display $DISPLAY + $HOME/.vnc/passwd -auth $HOME/.Xauthority -display $DISPLAY $OPTIONS fi ## END OF FILE ################################################################# -- 2.1.4