startup.sh 275 B

1234567891011121314
  1. #!/bin/sh -
  2. export USER=root HOME=/root DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority
  3. mkdir -p $HOME/.vnc
  4. echo '' | vncpasswd -f >$HOME/.vnc/passwd
  5. chmod -R go= $HOME/.vnc
  6. vncserver $DISPLAY -geometry 1280x768 -depth 16 -nolisten tcp
  7. #ratpoison
  8. icewm
  9. vncserver -kill $DISPLAY