Score:0

How can i run a dockerized gui application on a virtual machine Ubuntu-Server?

bs flag

I have a Ubuntu-server running on VMWare that I use for testing purposes. I'd like to run GUI applications in a docker container. The situation is:

enter image description here

Spinning up the container works but I ain't getting a GUI . If I echo $DISPLAY it returns empty.

Could someone explain in simple terms step-by-step how I can get the GUI displayed?

Score:0
vn flag

This isn't a detailed guide, but I'll explain the concepts so you can go from there

You basically have two options:

  • Use an existing X-server already running
  • Use a VNC server inside the container

Ubuntu Server does not have a GUI backend (X-server) per default, so option 1 is not available unless you have installed an X-server.

It's probably easier to ensure your container provide its own VNC server, and then connect to the GUI with a remote desktop/VNC program.

See more info here.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.