From: Alexander Wirt Date: Sun, 7 Nov 2010 19:28:54 +0000 (+0100) Subject: Add support for vnc_connect feature (#877) X-Git-Url: http://git.grml.org/?p=grml-etc.git;a=commitdiff_plain;h=refs%2Fheads%2Fformorer%2Fvnc_connect Add support for vnc_connect feature (#877) --- 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 #################################################################