startup.sh 294 B

123456789101112
  1. #!/bin/sh -
  2. export USER=root HOME=/root DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority
  3. mkdir -p $HOME/.vnc
  4. echo fnord | vncpasswd -f >$HOME/.vnc/passwd
  5. chmod -R go= $HOME/.vnc
  6. # -localhost
  7. vncserver $DISPLAY -geometry ${WIDTH}x${HEIGHT} -depth ${DEPTH} -nolisten tcp
  8. icewm
  9. vncserver -kill $DISPLAY