Your 'DISPLAY' is not set. Please make sure your DISPLAY environment variable is set to a valid display, or else invoke Vivado with the '-mode batch' option. #1296
Unanswered
TerryTiannn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, community!
I am a beginner who has just started using this tool.
I hope you can be patient with me.
While working on this tutorial Lab (FPGA Flow Tutorial), I encountered the following issue:
🚨 Issue
When I run the following command:
I receive this response:
What should I do?
🔍 My Attempts
I tried 2 different methods:
1️⃣ Running Vivado as root in a Separate Terminal
I opened another terminal and switched to root.
Then I ran:
However, this terminal was not opened inside the Docker container.
💡 Question:
Would this method cause any issues? Or is this the way everyone runs it?
2️⃣ Setting the DISPLAY Environment Variable Inside the Container
I followed a method suggested by ChatGPT and ran:
export DISPLAY=:0Then I tried running Vivado again:
it fails with missing libXtst.so.6 and JVM errors.
How can I resolve this issue?
Is there an alternative way to run Vivado GUI inside the container?
Last Question:
The FINN script ./run-docker.sh starts a container that allows saving files.
Can I later restart this container using docker start xxxxxxxxxxxx,
or am I only able to restart it using ./run-docker.sh?
I appreciate any help or suggestions! 🙏 Thank you in advance! 🚀
Beta Was this translation helpful? Give feedback.
All reactions