-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
allow user to view desktop on web vnc #1498
Comments
@hunnywar how does this relate to daytona itself? Is there something we should do to facilitate this or can everything be done in the image that the user configures via devcontainers? |
@Tpuljak maybe we can introduce a |
@hunnywar that sounds interesting. How would that look like from the implementation side? |
to run a VNC-enabled virtual desktop environment. Xvfb: Creates a virtual display for graphical applications. currently I used supervisord.conf for all this , https://github.com/hunnywar/x11-vnc-docker/blob/master/supervisord.conf |
@hunnywar this could be a feature of the Agent. You can look into the Workspace Toolbox API and maybe try to implement and endpoint that would start the VNC server. |
Hello, Devcontainer features provide https://github.com/devcontainers/features/tree/main/src/desktop-lite This could help. Best regards PS : https://github.com/s-celles/sample-racket-wip/tree/feature-1-initial-version provides such an example |
I do something similar but use KASM VNC containers from Kasm or LinuxServer.io. The Kasm client is way smoother for copy-paste-heavy workflows, so I prefer it for that reason if I'm going to be doing a lot of clipboard activities. |
@cw-cdz are you interested in creating a sample that uses Kasm? We might natively integrate the VNC solution that proves to be the smoothest |
Sure, I’ll standardize an example. I’ve used Kasm and LinuxServer containers in various way—I'll put one up that serves as a good example. 1/15 Update: haven't forgot about this, have just been busy with post holiday stuff and work. Hope to knock it out this weekend. |
@Tpuljak Generally, I prefer to start with these base images and customize them by adding the development tools and features I need. I’ve also experimented with creating comprehensive dev environments that bundle everything required for various workflows. You can check out the examples here: https://github.com/cw-cdz/kasm-gui-devcontainers/tree/main/.devcontainer |
@Tpuljak I have a better idea than X11 , you can try it , https://github.com/hunnywar/x11-vnc-docker.git
user can visit
localhost:8080
port or they can forward it usingdaytona forward 8080
to view the desktopthis approach allows to run any app without any graphic issues , as X11 often causes graphic issue
Originally posted by @hunnywar in #1206 (comment)
The text was updated successfully, but these errors were encountered: