X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fskel%2F.xinitrc.d%2Fgrml_vnc;h=19621799f29aa8dd9d924dbdc505ea0e4338f1a2;hb=5c9517ecbec4c9070fe906018059deb813f9b240;hp=eff5a40af75a5bb2a960359a8332ecfa245d8473;hpb=1d2e5cb5139291ba2ba9f86b917677d1d9c292ab;p=grml-etc.git 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 #################################################################