diff options
author | Rob Austein <sra@hactrn.net> | 2019-09-04 21:11:16 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2019-09-04 21:57:36 +0000 |
commit | 60eee0111d92f2fc0ed65d942565699ad70b6799 (patch) | |
tree | a1ae02954c9c3e73338e3e89f32f4c4f89a13eb6 /startup.sh |
First public version
Diffstat (limited to 'startup.sh')
-rwxr-xr-x | startup.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/startup.sh b/startup.sh new file mode 100755 index 0000000..539b446 --- /dev/null +++ b/startup.sh @@ -0,0 +1,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 1280x768 -depth 16 -nolisten tcp +icewm +vncserver -kill $DISPLAY |