2 # Filename: ~/.xinitrc.d/grml_vnc
3 # Purpose: enable vnc if configured via bootoption
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 ################################################################################
9 if [ "$XINIT_GRML_VNC" = "false" ] ; then
13 # if the vnc bootoption sets up the password let's start the vnc server
14 if [ -e $HOME/.vnc/passwd ]; then
15 /usr/bin/x11vnc -bg -forever -noxdamage -o $HOME/.vnc/x11vnc.log -rfbauth \
16 $HOME/.vnc/passwd -auth $HOME/.Xauthority -display $DISPLAY
19 ## END OF FILE #################################################################