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