We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After some research, there are some methods to enable X11 display inside the container.
Simple (insecure) method did not work in my (remote) environment (SSH + X11 forwarding). If yours are similar to my ones, then please try below.
StackOverflow by Ruben
assuming docker host's virtual NIC has IP as 172.17.0.1. If not, change the DISPLAY variable regarding your situation.
172.17.0.1
Let SSH daemon allow remote X11 connection (TODO insecure) /etc/ssh/sshd_config: X11UseLocalhost no
/etc/ssh/sshd_config
X11UseLocalhost no
Make another Xauthority file
touch /tmp/.docker.xauth XAUTH=/tmp/.docker.xauth xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | sudo xauth -f $XAUTH nmerge - sudo chmod 777 $XAUTH
(I skipped configuring firewall (ufw)...)
Run the docker container with dedicated Xauthority file, modified DISPLAY variable
sudo docker run --rm -it \ -e LM_LICENSE_FILE="<port>@<host>" \ -e DISPLAY=$(echo $DISPLAY | sed 's/^[^:]*\(.*\)/172.17.0.1\1/') \ -v $XAUTH:$XAUTH -e XAUTHORITY=$XAUTH \ synopsys_dc:N-2017.09 dc_shell -gui
hmm... is there an unified and somewhat official way?
The text was updated successfully, but these errors were encountered:
fix Synopsys shell and Ubuntu 18.04 docker image issue (close issue #3)
9a7dc98
(Above commit referencing this issue was made by a mistake...)
Sorry, something went wrong.
No branches or pull requests
After some research, there are some methods to enable X11 display inside the container.
Local display
somatorio.org:Running GUI apps with Docker
ROS Wiki:Docker GUI
Simple (insecure) method did not work in my (remote) environment (SSH + X11 forwarding). If yours are similar to my ones, then please try below.
Remote display with SSH forwarding (my situation)
StackOverflow by Ruben
assuming docker host's virtual NIC has IP as
172.17.0.1
. If not, change the DISPLAY variable regarding your situation.Let SSH daemon allow remote X11 connection (TODO insecure)
/etc/ssh/sshd_config
:X11UseLocalhost no
Make another Xauthority file
(I skipped configuring firewall (ufw)...)
Run the docker container with dedicated Xauthority file, modified DISPLAY variable
hmm... is there an unified and somewhat official way?
The text was updated successfully, but these errors were encountered: