"No graphics display found" Even though display is present with VNC(KasmVNC)
Afficher commentaires plus anciens
Run condition:
- Ubuntu 20.04 Focal Forsa (Docker)
- Architecture: AMD64
- GUI Session: KasmWeb Session & KasmVNC
- MATLAB version: R2023b
Hello, currently, I am trying to run MATLAB on docker container.
I currently found Kasm Workspace as an ideal solution since it can provide easy access to container deployment with GUI.
Kasm deploys docker container on designated server and shows GUI session using KasmVNC.
However, I soon found that running MATLAB installer on Kasm workspace shows me the following error:
```
No graphics display found. Unable to start application in GUI mode. Consider relaunching the app in a graphical environment.
```
I checked if openGL is avaiable using mesa-utils and I checked that using openGL worked with no problem using llvmpipe:

I tested this again using standaone KasmVNC container called webtop. And matlab installer worked without showing that message.
Therefore, I concluded that it is not a problem of KasmVNC itself, but a problem of Kasm Workspace image's VNC configuration.
What I would like to ask are:
- How MATLAB detects graphical session? It seems it uses method other than just checking DISPLAY environment variable.
- What would be the expected cause of this problem?
These information will be very helpful for debugging container image.
Thank you in advance.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!