Comments (10)
I don't see many reasons why you'd want to do this on a container session. There are also more dangers you could be exposing.
It is funny though, because I was trying to get this to work when I was starting the QEMU support, where I did feel it necessary to make SSH to the VM available. I couldn't get it to work then either, but I didn't dig much deeper.
This will be a good issue to track that.
from webmesh-vdi.
from webmesh-vdi.
Multiple monitors is another thing on my radar. But is also a very complicated rabbit hole by itself. VNC doesn't really have any concept of monitors, just the one "display" (which may span multiple physical monitors). But a lot of the kvdi internals that are already there could theoreticaly make it possible to sorta "trick" it. But then the UI side of that is a whole other story, and then I start wondering about a full blown client app 😆 .
No matter what, I want to make exposing ports to a session easier. And will have to think on it a bit to decide what the best way to implement that would be.
from webmesh-vdi.
You might be able to trick xrdp. I haven't tried it myself. But if you do a passwd
while in the session, can you then login with that password?
The container users themselves don't have any passwords by default. And I can't think of a clean way to make it synced with the users password or anything like that.
from webmesh-vdi.
from webmesh-vdi.
Nope - should be locked by default. But again you can set it by executing passwd
in the container. Or passwd <user>
to set a password for a specific user.
But then xrdp has other weirdies you might run into along the way. Namely I'm very curious how it would react to no virtual monitors to work with.
These are the sorta features that led me to ultimately go for adding QEMU support. We are stretching the bounds of what a container can do here. I like the idea of having container templates for simple workloads, and QEMU ones for more complex workloads.
from webmesh-vdi.
from webmesh-vdi.
Again - You are asking for things that are pretty complicated because of the fact that these are just containers. Now you are talking about adding your own CMD, but we need to take into account that systemd
HAS to be PID1. So I can't let you (the user) overwrite what is starting systemd
. Because among other things in the hardcoded CMD in the template, is setting up the environment in a way so that systemd doesn't choke when it does try to start.
You can extend the images. Make a template that uses its own init script. Just make sure it also does everything else the existing one does.
I will try that but it has one big flaw. The idea for me at least it to provide a remote machine as a service that requires nothing from the end user. So I need to somehow make the xrdp work out of the box.
This sorta completely ignores my previous comment. What you are trying is probably not going to work anyway for more reasons related to "you are in a container".
What you are trying is what I do want to make possible, and to do so I think the cleanest approach is the QEMU support. Like I said above, containers are for simple workloads. When you start getting into more customization and wanting multiple monitors, multiple services on many ports, more complex volume configurations, this list goes on. You need a VM.
The intent is for the end-user experience to remain identical. They wouldn't know if it's a container or a VM backing their session. They would just see that some templates offer WAY more features than others. The grind of it would still remain strictly in admin territory.
from webmesh-vdi.
That isn't to say any of the fundamental APIs available to QEMU templates won't be available to container templates. Just that they would work far better and be way more stable in the former.
from webmesh-vdi.
I see.
I don't think that the xrdp will work at the moment...
I agree that a client app will be the bomb since you will have allot more options.
I will neglect the remote connections option for now and let you concentrate on the other issues.
from webmesh-vdi.
Related Issues (20)
- PV reused for multiple users HOT 9
- Nodeselector & affinity rules HOT 2
- Keyboard shortcuts
- OIDC configured but getting Annotations are not used for local authentication HOT 2
- usernames with capital letters breaks PVC allocation HOT 3
- feature request - inactivity timeout HOT 2
- Virtual desktop pods are not found + crashing KVDI manager HOT 18
- kvdi app and minimum tls version HOT 1
- ARM Support
- question - behaviour when pod rescheduled?
- Issues with PersistentVolumeClaim HOT 1
- VDI stacked "Desktop is ready" on Google Kubernetes Engine. What is the reason?
- What is the "token" needed in "GET /api/desktops/ws/{namespace}/{name}/display"
- had enable audio but no sound from browser HOT 1
- Bump relevant dependencies to make this project up to date
- Fix landing page
- Create a dedicate documentation site
- Develop CNI API for Webmesh
- Improve desktop frontend styling
- Decoupling frontend from the server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webmesh-vdi.