|
@@ -3,10 +3,10 @@
|
|
|
export USER=root HOME=/root DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority
|
|
|
|
|
|
mkdir -p $HOME/.vnc
|
|
|
-echo '' | vncpasswd -f >$HOME/.vnc/passwd
|
|
|
+echo fnord | vncpasswd -f >$HOME/.vnc/passwd
|
|
|
chmod -R go= $HOME/.vnc
|
|
|
|
|
|
# -localhost
|
|
|
-vncserver $DISPLAY -geometry 1920x1080 -depth 16 -nolisten tcp
|
|
|
+vncserver $DISPLAY -geometry ${WIDTH}x${HEIGHT} -depth ${DEPTH} -nolisten tcp
|
|
|
icewm
|
|
|
vncserver -kill $DISPLAY
|