New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate X11 forwarding as opposed to VNC #2
Comments
How about we just expose the X server domain socket in a volume like this: |
|
Just to clarify, is the current usage of |
Correct me if I'm wrong, but I believe the answer to ^ is "yes". Would an option to bypass the if [ ! -z "$NO_XVFB" ]; then
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
${SE_OPTS} &
else
xvfb-run -n $SERVERNUM --server-args="-screen 0 $GEOMETRY -ac +extension RANDR" \
java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
${SE_OPTS} &
fi |
I agree is now incompatible as of now. I confirmed the x11 redirect works ~1yr ago on version v2.46.0-x11 while playing with Xephyr to redirect X to the docker host and passing But drop it after because didn't really want to support this use case back then but if someone wants to implement it for real and become officially supported that might help. |
Pushed #346 and looking for feedback. |
Hi all, Is this still relevant? This issue and the PR have been stale for ~1.5 years. |
Closing issue since it is completely stale (also the related PR). |
Initial issue derived from elgalu/docker-selenium#10
According to the Docker Official Repo Guidelines These images should not derive from
phusion/baseimage
. However, the initial reason to base off that image was to provide stability when running a Selenium node with VNC and Xvfb support.There was an IRC conversation with @psftw regarding a possible means of utilizing a separate container for debug purposes using X11 forwarding. This approach would remove the need to support VNC in the same container as the Selenium node, thus getting us one step closer to a more efficient image.
I have done some initial work on this on my personal x11 branch which is still a ROUGH DRAFT. In there I was able to achieve using Xvfb and the Selenium node in a single process tree. The next goal is to figure out how to attach another container and perform an SSH connection with X11 forwarding.
The text was updated successfully, but these errors were encountered: