if you venture over to the dev branch, i have audio working and cleaned up a bunch of stuff in the Dockerfile github.com/novaspirit/Alpine_xfce4_noVNC/tree/dev
Very good tutorial. Learned a lot form it. Currently I am using dev branch. Audio is working perfect in DigitalOcean droplet. But in Oracle Cloud instances its not working. I have tried 3 versions of Ubuntu (18, 20, 22) (but not minimal). Tried centos7 and Oracle Linux 8 as well. But nothing is working. I have no idea what should I change. I have tried to study your Dockerfile, compared it with previous versions and learned that you have added cmake, wget, pulseaudio xfce4-pulseaudio-plugin pavucontrol pulseaudio-alsa alsa-plugins-pulse alsa-lib-dev nodejs npm. I have no idea what to tweak so that it starts working on Oracle Cloud VMs. Please help. I have no idea where is the issue. Thanks
This is probably the best video on how to create a docker file and get stuffs working. Fixing the mistakes is part of the learning process. Great video!
Brilliant as always. This is really useful for an office environment with hot-desking. You will always get your desktop no matter what machine you are on. Each employee can have their own docker span up. Super cool.
GREAT VIDEO!!!!! I was looking forward for a video explaining how to create a docker. I am missing now how to publish it into docker hub! Haha. Thanks for all what you do for the community
Love this video. I'm actually watching this on the Alpine XFCE4 Docker from the Pi-Hosted list. Audio isn't syncing, but that's a minor niggle since it's running on a Pi4.
Great video dude!! Love the docker methods you've used for alpine. If i remember right audio can be an issue with noVNC, or maybe VNC as a whole (unless realVNC is used, but i'm not 100%). I have always ended up using nomachine, not as much fun as having a desktop through your browser with a docker image you've built yourself. There's probably a linux way to get audio with vnc or knowing me, a tick box i've missed.
hahah if you check out my dev branch on the same git, i got audio working and a few other things fixed! github.com/novaspirit/Alpine_xfce4_noVNC/tree/dev
Very impressive! Thanks for the tutorial! The only thing I feel missing is audio configuration, as even you had the idea to launch RUclips before anything else :D
Have you cleaned up your new build...I have your's running on my "test" build...can you set the lite as the index.html so it automatically starts the desktop? can you show how to build a Debian 11-xfce-novnc? I really want to build one like that... P.S. We need more PI-Hosted stuff!!! Very cool!
This is amazing! The only downside is the sound which doesn't work at all. I put an nginx in front f the docker and with vnc.html I get Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS. The nginx config has websocker support because vnc_lite works just fine. Is running nice but the issue is the sound, everything seems to be fine but can't hear anything. Actually the main issue is the HUGE load, never expected this...I even rebuilt the image as simple as possible as shown in this video but the results are kinda tthe same.
Great Video also audio works in alpine container, can you please create a video with ubuntu container with audio & https just like kasm-desktop, thanks
Folks who want an MS Windows like WM as small as possible (that supports *.desktop files and standards) should check out IceWM . I use XFCE daily myself. But for my ultra-low footprint X11 systems. my minimal X11 is IceWM, nedit, and rxvt -- all have the most minimal deps.
Hi Don, This gives great control to create / assemble things just the way you want / need which is great [yet somewhat complicated for a newbie]. Why don't you use a 'webtop'- docker image?
Amazing! Thank you so much! Since you map the ports at runtime Could I start up another container, change the external port say 6081:6080 and have multiple desktops?
why not separate each RUN command inside the Dockerfile? so that docker creates a layer for each command and makes use of docker cache to optimize the build process.
One reason I can think of is the with && the next command won't run if the previous one fails. If any of those steps fail, the container won't work. I didn't think that was the case with individual RUN commands.
@@donaldwilliams6821 in some cases you need to chain commands with &&, but for the apk command for example you don't want to re-download all packages every time you build the image, especially in the testing phase
@@Alhaddad Maybe in a strict dev environment. But otherwise I would want the lastest software versions when I build a new image vs. running one I already built.
@@donaldwilliams6821 you can always build the image with docker build --no-cache when you know everything works, and get a clean and up to date image 🙂
Great video thanks. Awesome to run an almost virtual host in a browser window. When I try to open a shell window I get this error: "failed to execute child process "bash": failed to fdwalk: operation not permitted". Using Linux Mint 20.2. How can I fix this?
Great video! I enabled both the normal and the community repo, but apk add tigervnc results in : ERROR: unable to select packages: tigervnc (no such package): required by: world[tigervnc] Any idea how to solve it?
Webtop is a defined environment. So you get a full generic desktop. This would be how you would for instance build a container that includes only x app and everything needed to run said app. Nothing else but said app.
Perfect timing Now would love to create something like this but with an emulator for retro gaming aka retro pi,batocera Etc Currently there's one called emulatorjs which is pretty cool and all but having more options or create something out of your own is cooler
this guide is ment so you can build your own, but you can just change xfce4 to gnome and the start script from startxfce4 to gnome-session. should do the trick
I like this video as i had done this type of setup earlier, I am getting suck at point i am launching multiple container and i want to be on 1 subdomain with ssl i am not able to do the setup anyone is having any idea please feel free to drop over here . Thanks novaspirittech for the great video.
You probably know this, but if you hadn’t removed the image at the end the build command would just have replaced the entry.sh and been done in under a second.
how much more amazing would this be if all these manual steps were just....automated in a script or condense in 2-3 inputs via ncursor text-user-interface aka TUI ? this is why a lot of linux projects get sorta popular but never take off or have financial sustainability....they make almost done products....80% to 90% polish. Its that last 10% that takes things to new levels....but people RARELY wanna take things that far. Don't get me wrong , dope project....just a pattern I see all over FOSS. Great ideas. Great potential. But glorified proto-types are not something you can invest in. Where will these projects like this be in 5-7 years? Like so many , they just fade out. And MAYBE someone somewhat serious about it will pick it up.
why everything need be cloud and docker. its fine if someonedevelop using docker but end product should be un dockerless lol chroot fine python env fine but put those still on docker lol what. i dont get it
It's fine. One day you will understand. When you will have production environment and it's better to have containers (dockers) which don't have access to full systems, which might. break up your system (update, miss configuration, etc), you don't want that. If docker container breaks, your server will be fine without crashing, nothing will be inpacted only that 1 image, if you won't need it, you can simply delete docker container.
if you venture over to the dev branch, i have audio working and cleaned up a bunch of stuff in the Dockerfile github.com/novaspirit/Alpine_xfce4_noVNC/tree/dev
Very good tutorial. Learned a lot form it. Currently I am using dev branch. Audio is working perfect in DigitalOcean droplet. But in Oracle Cloud instances its not working. I have tried 3 versions of Ubuntu (18, 20, 22) (but not minimal). Tried centos7 and Oracle Linux 8 as well. But nothing is working. I have no idea what should I change. I have tried to study your Dockerfile, compared it with previous versions and learned that you have added cmake, wget, pulseaudio xfce4-pulseaudio-plugin pavucontrol pulseaudio-alsa alsa-plugins-pulse alsa-lib-dev nodejs npm. I have no idea what to tweak so that it starts working on Oracle Cloud VMs. Please help. I have no idea where is the issue. Thanks
This is probably the best video on how to create a docker file and get stuffs working. Fixing the mistakes is part of the learning process. Great video!
The fact that you left the mistakes makes this video x1000 Thank you so much ❤
Thanks for the audio version. Also love the "We're making it live" style of video.
Brilliant as always. This is really useful for an office environment with hot-desking. You will always get your desktop no matter what machine you are on. Each employee can have their own docker span up. Super cool.
Dude ..this video is LEGIT!!! I really enjoyed this tutorial and the unfiltered process!!! Thank you!
GREAT VIDEO!!!!! I was looking forward for a video explaining how to create a docker. I am missing now how to publish it into docker hub! Haha. Thanks for all what you do for the community
That is coming soon
Love this video. I'm actually watching this on the Alpine XFCE4 Docker from the Pi-Hosted list. Audio isn't syncing, but that's a minor niggle since it's running on a Pi4.
For a DevOps engineer, this is helpful.
This is great, Don! For a long time, I was thinking of how to get something like this getting done.
Great video dude!! Love the docker methods you've used for alpine. If i remember right audio can be an issue with noVNC, or maybe VNC as a whole (unless realVNC is used, but i'm not 100%). I have always ended up using nomachine, not as much fun as having a desktop through your browser with a docker image you've built yourself. There's probably a linux way to get audio with vnc or knowing me, a tick box i've missed.
hahah if you check out my dev branch on the same git, i got audio working and a few other things fixed! github.com/novaspirit/Alpine_xfce4_noVNC/tree/dev
Very impressive! Thanks for the tutorial! The only thing I feel missing is audio configuration, as even you had the idea to launch RUclips before anything else :D
Excellent! I don't quite have a use for this yet but a great example nonetheless. Thanks
So cool. Thanks for the video.
Have you cleaned up your new build...I have your's running on my "test" build...can you set the lite as the index.html so it automatically starts the desktop?
can you show how to build a Debian 11-xfce-novnc? I really want to build one like that...
P.S. We need more PI-Hosted stuff!!!
Very cool!
Great video, Don!
Thanks Don!
Thank you so much for this guide
This is amazing! The only downside is the sound which doesn't work at all. I put an nginx in front f the docker and with vnc.html I get Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS. The nginx config has websocker support because vnc_lite works just fine. Is running nice but the issue is the sound, everything seems to be fine but can't hear anything. Actually the main issue is the HUGE load, never expected this...I even rebuilt the image as simple as possible as shown in this video but the results are kinda tthe same.
Great Video also audio works in alpine container, can you please create a video with ubuntu container with audio & https just like kasm-desktop, thanks
It was an awesome tutorial.
Pretty cool!! Thank you 🙏
Very impressive! Thank you for all the time you give us showing this.
How would you allow access to this new Alpine XFCE4 from the outside world?
VERY NICE!!!
Folks who want an MS Windows like WM as small as possible (that supports *.desktop files and standards) should check out IceWM . I use XFCE daily myself. But for my ultra-low footprint X11 systems. my minimal X11 is IceWM, nedit, and rxvt -- all have the most minimal deps.
Bash multi-line command can end with "&&" on each line so that you don't need the back-slashes.
True but it's actually easier to read.
yup exactly, easier to read
how to add audio feature and microphone?
Hi Don,
This gives great control to create / assemble things just the way you want / need which is great [yet somewhat complicated for a newbie]. Why don't you use a 'webtop'- docker image?
brilliant....
Is this similar to kasm?
Amazing! Thank you so much! Since you map the ports at runtime Could I start up another container, change the external port say 6081:6080 and have multiple desktops?
yup
thanks
why not separate each RUN command inside the Dockerfile? so that docker creates a layer for each command and makes use of docker cache to optimize the build process.
One reason I can think of is the with && the next command won't run if the previous one fails. If any of those steps fail, the container won't work. I didn't think that was the case with individual RUN commands.
@@donaldwilliams6821 in some cases you need to chain commands with &&, but for the apk command for example you don't want to re-download all packages every time you build the image, especially in the testing phase
@@Alhaddad Maybe in a strict dev environment. But otherwise I would want the lastest software versions when I build a new image vs. running one I already built.
@@donaldwilliams6821 you can always build the image with docker build --no-cache when you know everything works, and get a clean and up to date image 🙂
Is better using multiple RUN for build performance...
Docker build fails base on exist codes, makes no sense build a container not knowing if it works
Great video thanks. Awesome to run an almost virtual host in a browser window.
When I try to open a shell window I get this error:
"failed to execute child process "bash": failed to fdwalk: operation not permitted".
Using Linux Mint 20.2. How can I fix this?
Great video!
I enabled both the normal and the community repo, but
apk add tigervnc results in :
ERROR: unable to select packages:
tigervnc (no such package):
required by: world[tigervnc]
Any idea how to solve it?
I love this. You did an amazing stuff here. Please, can you do this for Ubuntu ? I would very much appreciate it. Thank you
Can you do it in a ubuntu/debian vm?
Yes, just start with Ubuntu or Debian image and then install what you prefer.
just finished testing with a debian base with kde twitter.com/NovaspiritTech/status/1593769372564312065
@@NovaspiritTech how i can install it?
how to do this for a dockerized windows 10 desktop build or a mac one?
shhh your giving away all my secrets
how about webtop! how to use it for this
Kasm what’s the difference?
What is the comparison of this compared to running something like Webtop? Is it better through NoVNC on this way?
Webtop is a defined environment. So you get a full generic desktop. This would be how you would for instance build a container that includes only x app and everything needed to run said app. Nothing else but said app.
@@robertmiddleswarth4770 Ooh, thats cool!
Is there any support for SSL? I'm currently trying to add this to an nginx reverse proxy
Working on my test build with self signed ssl support
Perfect timing
Now would love to create something like this but with an emulator for retro gaming aka retro pi,batocera
Etc
Currently there's one called emulatorjs which is pretty cool and all but having more options or create something out of your own is cooler
ahhaah that would be cool, the only problem with this would be usb controller passthrought, i don't think it's going to be possible with this method
Máquina!!!
great vid i tried the normal github clone and run but I already created an github issue, due to it throwing errors
come join our discord
Adding to the comment stack
Is the proxmox you run still the Raspberry Pi one? Or is it an actual server you have?
this one is a minipc i5, but this works on raspberry pi pimox7 as well.
Can you add gnome instead of xfce ?
this guide is ment so you can build your own, but you can just change xfce4 to gnome and the start script from startxfce4 to gnome-session. should do the trick
I like this video as i had done this type of setup earlier, I am getting suck at point i am launching multiple container and i want to be on 1 subdomain with ssl i am not able to do the setup anyone is having any idea please feel free to drop over here .
Thanks novaspirittech for the great video.
You probably know this, but if you hadn’t removed the image at the end the build command would just have replaced the entry.sh and been done in under a second.
What is
n mean
I love the 404 one you have that says wazuh like wazzzzzzzzzzzzzzzzzup
haha i love naming stuff like that, my NAS is called NASty, and my pi4 nas is called PINAS LOL
using http with novnc makes it useful locally only - not great when you want to access remotely
hmm.. SteamOS (AMD) and/or TwisterOS (ARM) playing Steam/GOG games through the browser ...
how much more amazing would this be if all these manual steps were just....automated in a script or condense in 2-3 inputs via ncursor text-user-interface aka TUI ? this is why a lot of linux projects get sorta popular but never take off or have financial sustainability....they make almost done products....80% to 90% polish. Its that last 10% that takes things to new levels....but people RARELY wanna take things that far.
Don't get me wrong , dope project....just a pattern I see all over FOSS. Great ideas. Great potential. But glorified proto-types are not something you can invest in. Where will these projects like this be in 5-7 years? Like so many , they just fade out. And MAYBE someone somewhat serious about it will pick it up.
Niceeeee
Next step is to deploy this on ARM board like raspberry pi and get surprised
this already works on arm like raspberry pi
@@NovaspiritTech that's awesome then you made my day :)
why everything need be cloud and docker. its fine if someonedevelop using docker but end product should be un dockerless lol
chroot fine python env fine but put those still on docker lol what. i dont get it
It's fine. One day you will understand. When you will have production environment and it's better to have containers (dockers) which don't have access to full systems, which might. break up your system (update, miss configuration, etc), you don't want that. If docker container breaks, your server will be fine without crashing, nothing will be inpacted only that 1 image, if you won't need it, you can simply delete docker container.
you'll understand one day.
looks so complicated. what about graphics
Yubikey login
Hate containers and those who invented them!
Zsh is way better then bash. And accept all bash commands.
ƤRO𝓂O𝕤ᗰ