startup.sh 282 B

1234567891011
  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 -f /ratpoisonrc
  8. vncserver -kill $DISPLAY