diff options
author | Rob Austein <sra@hactrn.net> | 2019-09-16 05:38:18 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2019-09-16 05:38:18 +0000 |
commit | 08b13cc74dde895fe4402a7d04c2180809bc87c7 (patch) | |
tree | 45a395f3299d41c606718b773f238106960b8f3f /startup.sh | |
parent | b7434629d7955957eb393b55516ab8de59133e76 (diff) |
Horrible kludge to preconfigure jnlp application
Diffstat (limited to 'startup.sh')
-rwxr-xr-x | startup.sh | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |