giving the vnc lab its own folder
[feisty_meow.git] / experiments / init.d / vncserver.004
diff --git a/experiments/init.d/vncserver.004 b/experiments/init.d/vncserver.004
deleted file mode 100755 (executable)
index 9e95549..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-PATH="$PATH:/usr/bin/"
-export USER="fred"
-DISPLAY="1"
-DEPTH="16"
-GEOMETRY="1200x800"
-XAUTHORITY="/home/$USER/.Xauthority.vnc"
-OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}"
-. /lib/lsb/init-functions
-
-case "$1" in
-start)
-log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
-;;
-
-stop)
-log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}"
-su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
-;;
-
-restart)
-$0 stop
-$0 start
-;;
-esac
-exit 0
-