-
Notifications
You must be signed in to change notification settings - Fork 75
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
Multiple Display Errors when launching the TDW docker image in a remote server #4
Comments
Hi - have you tried using https://github.com/threedworld-mit/tdw/blob/master/Documentation/misc_frontend/xpra.md |
@YanjunChen329 What is the output of |
Hi, Thank you for the prompt replies! I tried to follow the instructions in the link that @jemsMIT provided. However, I still encountered the same "Can't open display: 80" error. Here is the details of my steps: First, I can't run step 2: DISPLAY=:0
xhost +local:root
xpra start :80
DISPLAY=:80
xhost +local:root
sudo docker run -it \
--rm \
--gpus all \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY \
--network host \
vglrun -d :0 \
tdw:v1.6.0 \
./TDW/TDW.x86_64 However, for the last command docker complains that no image sudo docker run -it \
--rm \
--gpus all \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY \
--network host \
tdw:v1.6.0 \
vglrun -d :0 ./TDW/TDW.x86_64 After it started running, I went to my Mac and tried the command
I also tried to connect to my xpra server through web browsers following a tutorial online. I managed to see the Xpra favicon but immediately after, an error message popped up saying: The thing that baffles me the most is that I received the OpenGL error after I installed X-server and VNC on the TDW docker image. Is there any dependency that I may be lacking or is there any other approach that I could try? Thank you again for your help! |
@alters-mit My remote server has driver version 430.5. Here is the output from running |
@YanjunChen329 I found numerous problems with TDW's Docker container, which I fixed. Try upgrading: Please let me know if that helps solve your problem. |
Closing this ticket due to inactivity and because the bug has likely been fixed. |
Hi,
I am trying to use the TDW docker image in a remote Ubuntu server. Due to the display limitation of my remote server, I have to launch a specialized docker container in my server and run an X server there so that I could connect the display to my local desktop through VNC. This workflow works fine for other applications so I was thinking about launching the TDW docker image from my container.
My docker container for display has Ubuntu version 18.04.3. When initializing it, I passed options
into the RUN command.
However, when I build the TDW docker image, the building hangs in the last step:
RUN ./TDW/TDW.x86_64.
I suspected that maybe
./TDW/TDW.x86_64
is an application with GUI, so I skipped the last step and launch the TDW image within my container. This is the command I use:sudo docker run -it \ --rm \ --gpus all \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e DISPLAY=$DISPLAY \ --network host \ tdw:v1.6.0
However, when I run
./TDW/TDW.x86_64
, the prompt still hangs there with no response, neither could I see anything from my display. I tried to runxclock
but it saysError: Can't open display: :0
. I tried to do some troubleshooting and found that my X11 socket file/tmp/.X11-unix/X0
is successfully passed into the TDW container, but it is identified as a directory instead of a socket.In the TDW container
![aa](https://user-images.githubusercontent.com/26952823/88433589-fd49a400-cdc3-11ea-85c5-dd2311dfbcfb.png)
![image](https://user-images.githubusercontent.com/26952823/88432598-1fdabd80-cdc2-11ea-9cca-768798d837ae.png)
In my display container
I am a newbie in this and I couldn't figure out what happened.
After I failed to launch the TDW container with the Docker within Docker approach, I tried to install an X server and VNC display directly in the TDW container. I successfully see the display on my local desktop. Running
xclock
in the TDW container also pops up a window in the display. However, when I tried to run./TDW/TDW.x86_64
, the following error shows up:It seems to be an OpenGL problem and I have no idea how to solve it. Any feedback or suggestion on this is much appreciated! Thank you for the time!
The text was updated successfully, but these errors were encountered: