From 08b13cc74dde895fe4402a7d04c2180809bc87c7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 16 Sep 2019 05:38:18 +0000 Subject: Horrible kludge to preconfigure jnlp application --- startup.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'startup.sh') diff --git a/startup.sh b/startup.sh index 17cbe4a..bba1ef2 100755 --- a/startup.sh +++ b/startup.sh @@ -1,5 +1,7 @@ #!/bin/sh - +set -x + export USER=root HOME=/root DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority mkdir -p $HOME/.vnc @@ -8,7 +10,14 @@ chmod -R go= $HOME/.vnc vncserver $DISPLAY -geometry 1280x768 -depth 16 -nolisten tcp -#ratpoison -icewm +#ratpoison & wm=$! +icewm & wm=$! + +waterfox --headless & +waterfox=$! +sleep 2 +kill -HUP $waterfox +mv handlers.json /root/.waterfox/*.default/ +wait $wm vncserver -kill $DISPLAY -- cgit v1.2.3