Skip to content

Commit d28dda6

Browse files
authored
Merge pull request SeleniumHQ#302 from enolan/standalone-xvfb-lock
Clear the X server lock in the standalone images
2 parents 2e8052e + f233b4a commit d28dda6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Standalone/entry_point.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ if [ ! -z "$SE_OPTS" ]; then
1414
fi
1515

1616
SERVERNUM=$(get_server_num)
17+
18+
rm -f /tmp/.X*lock
19+
1720
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
1821
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
1922
${SE_OPTS} &

0 commit comments

Comments
 (0)