Score:0

How to make Ubuntu VM available to multiple users in the cloud?

in flag

I have a design technical question.

Let me describe the use case first:

I have 20 students. My idea is that they all can run a full Ubuntu Desktop from within their web browser. Everyone should have their own user account (preferable connected to a running LDAP server).

So I kind of want to have a small self-hosted AWS EC2.

That's the plan. The question is how to achieve that? I guess there are multiple solutions to that problem.

I do have a running Ubuntu server with enough capacity to run 20 Ubuntu instances (if necessary).

My current setup is running Docker and I deployed a QEMU/KVM container. This container is running one Ubuntu 22.04 Desktop environment with a VNC server.

This way I am able to connect to this one Ubuntu 22.04 session from a web browser and this is working as expected for my needs.

The problem is now: Every student connecting with a VNC client does not need to login to a user account, but everyone can work in parallel on the same session.

I could now deploy multiple Ubuntu sessions and share a different VNC connection to every student. But that seems for me not to be the most beautiful way to do it. I would prefer that the user needs to login after connecting to the VNC.

batistuta09 avatar
vn flag
Multisession VNC may help. Check here how to configure - https://samarth-robo.github.io/blog/2020/09/28/vnc_multiuser.html
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.