Browse Source

Autostart baangt

bernhardbuhl 4 years ago
parent
commit
c02cbfe0d3
2 changed files with 6 additions and 2 deletions
  1. 0 1
      start-vncserver.sh
  2. 6 1
      xstartup

+ 0 - 1
start-vncserver.sh

@@ -1,5 +1,4 @@
 #!/bin/bash
-
 echo "starting VNC server ..."
 export USER=root
 alias python=python3

+ 6 - 1
xstartup

@@ -1,4 +1,9 @@
 export XKL_XMODMAP_DISABLE=1
 #export DISPLAY=:1
 #autocutsel -fork
-exec /usr/bin/startlxde
+exec /usr/bin/startlxde &
+chmod a+x /baangt/browserDrivers/*
+cd /baangt/browserDrivers/
+java -jar selenium*.jar standalone &
+cd -
+python3 /baangt/baangt.py