summaryrefslogtreecommitdiffstats
path: root/fpga/hp_lcd_driver/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'fpga/hp_lcd_driver/scripts')
-rwxr-xr-xfpga/hp_lcd_driver/scripts/run_in_x3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpga/hp_lcd_driver/scripts/run_in_x b/fpga/hp_lcd_driver/scripts/run_in_x
index 1031f9a..680f07c 100755
--- a/fpga/hp_lcd_driver/scripts/run_in_x
+++ b/fpga/hp_lcd_driver/scripts/run_in_x
@@ -6,7 +6,10 @@ trap "kill -INT ${XPID}" INT
D=0
XA=xauthority
+
while true; do
+touch ${XA}
+xauth -f ${XA} add :${D} . $(xxd -l 16 -p /dev/urandom)
Xvfb :${D} -auth ${XA} 2> /dev/null &
XPID=$!
sleep .1