summaryrefslogtreecommitdiffstats
path: root/fpga/hp_lcd_driver/scripts
diff options
context:
space:
mode:
authorroot <root@new-fish.medaka.james.internal>2025-06-16 09:39:36 +0100
committerroot <root@new-fish.medaka.james.internal>2025-06-16 09:39:36 +0100
commitd3862a0f94a0b5dda26970b91ea6a7d25ac86251 (patch)
treec4d7149803118875d75bef36e224b731d03a6dc2 /fpga/hp_lcd_driver/scripts
parent2ec5e2b43370697a198e5aa432d0295b4633e327 (diff)
downloadhp_instrument_lcds-d3862a0f94a0b5dda26970b91ea6a7d25ac86251.tar.gz
hp_instrument_lcds-d3862a0f94a0b5dda26970b91ea6a7d25ac86251.tar.bz2
hp_instrument_lcds-d3862a0f94a0b5dda26970b91ea6a7d25ac86251.zip
add smh-ac415b
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