Skip to content

Commit 86fb614

Browse files
committed
fix clear_x_locks stuff. use rm -f /tmp/x locks
1 parent e116033 commit 86fb614

File tree

3 files changed

+3
-13
lines changed

3 files changed

+3
-13
lines changed

StandaloneDebug/clear_x_locks.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

StandaloneDebug/entry_point.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#
33
# IMPORTANT: Change this file only in directory StandaloneDebug!
44

5-
source /opt/bin/clear_x_locks.sh
65
source /opt/bin/functions.sh
76

87
export GEOMETRY="$SCREEN_WIDTH""x""$SCREEN_HEIGHT""x""$SCREEN_DEPTH"
@@ -16,6 +15,8 @@ if [ ! -z "$SE_OPTS" ]; then
1615
echo "appending selenium options: ${SE_OPTS}"
1716
fi
1817

18+
rm -f /tmp/.X*lock
19+
1920
SERVERNUM=$(get_server_num)
2021
env | cut -f 1 -d "=" | sort > asroot
2122
sudo -E -u seluser -i env | cut -f 1 -d "=" | sort > asseluser

StandaloneDebug/generate.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ echo "# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >> $FOLDER/Dockerfil
1111
echo FROM selenium/$BASE:$VERSION >> $FOLDER/Dockerfile
1212
cat ../NodeDebug/Dockerfile.txt >> $FOLDER/Dockerfile
1313

14-
cp ./clear_x_locks.sh \
15-
./entry_point.sh $FOLDER
14+
cp ./entry_point.sh $FOLDER
1615

1716
BROWSER_LC=$(echo $BROWSER | tr '[:upper:]' '[:lower:]')
1817

0 commit comments

Comments
 (0)