blob: 792c4699291ee2b12981824d652f4bbdab3c3777 (
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 '' | vncpasswd -f >$HOME/.vnc/passwd
chmod -R go= $HOME/.vnc
# -localhost
vncserver $DISPLAY -geometry 1920x1080 -depth 16 -nolisten tcp
icewm
vncserver -kill $DISPLAY
|