X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.xinitrc;h=e3c73103167c0f031db2aba0a341b96e3a7accbd;hb=7edcd9e4a74092f36a67e82c892987fec3969744;hp=8b5938daa83ddccbbffeb4394711078e712edee8;hpb=986780d33b936a9ac190eef9c06f54b41b767c9e;p=grml-etc.git diff --git a/etc/skel/.xinitrc b/etc/skel/.xinitrc index 8b5938d..e3c7310 100755 --- a/etc/skel/.xinitrc +++ b/etc/skel/.xinitrc @@ -70,6 +70,12 @@ # start browser with startpage.html, but only in live-cd mode [ -r /etc/grml_cd ] && grml-info & +# if the vnc bootoption sets up the password let's start the vnc server + if [ -e $HOME/.vnc/passwd ]; then + /usr/bin/x11vnc -bg -forever -noxdamage -o $HOME/.vnc/x11vnc.log -rfbauth \ + $HOME/.vnc/passwd -auth $HOME/.Xauthority -display $DISPLAY + fi + # default entry, use e.g. 'grml-x windowmanager' for changing or just adjust manually exec /usr/bin/x-window-manager