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