Docker Tips - Full Ubuntu GUI in a Container Displayed on Windows (XServer)

  Рет қаралды 60,461

AgileDevArt

AgileDevArt

Күн бұрын

Пікірлер: 56
@Retro_Mere
@Retro_Mere 9 ай бұрын
That's the Answer i was looking for "desktops are build for full desktop enviroments" lol Thanks dev art agile
@joem8251
@joem8251 Жыл бұрын
Your explanations are excellent. I think this is exactly what I need and have been needing for the past week, but had to spend the week learning to understand that. I'm excited to try this tomorrow!
@TheClanOfHari
@TheClanOfHari Жыл бұрын
wow this is what i have been looking for.
@radiklized
@radiklized 2 жыл бұрын
This is pure gold. Thanks
@AliYar-Khan
@AliYar-Khan Жыл бұрын
how to run kalilinux on same setup ? can you make a video on this ?
@Quicksymphony
@Quicksymphony 6 күн бұрын
This tutorial was very helpful! I did have a question as a follow-up . I was also attempting to d othe same on a tightvnc setup, however I reached a blank screen on successful connection. Would you have any tips on how we could do the same setup but for tightvnc?
@_n1c0l4s
@_n1c0l4s 6 ай бұрын
Excellent video! What could I do with this Ubuntu in a docker container running on windows? Could anyone please give me some examples? What I imagine, is that I could perform some tests I would need to do on linux or maybe install some program.... I am trying to figure out for what can use it for. Thank you!!
@PALTUBABY
@PALTUBABY 10 ай бұрын
Thank you so much. This is what I was looking out for :)
@Lars-xr4ex
@Lars-xr4ex 9 ай бұрын
Got the image to build. Installed ximg/xlaunch but when we launch xlaunch all we get is a window with a grey background and then the container exits. Any help would be appreciated. So close. Thank you.
@hamedsaeidi2860
@hamedsaeidi2860 3 жыл бұрын
Thanks a ton!!!! you saved me a lot of headache and I learned a good bit of methods from your video
@ВикторРуденко-ф5ю
@ВикторРуденко-ф5ю Жыл бұрын
Hello, have any way how to play into world of Warcraft in the docker container?
@CulturaDevOps
@CulturaDevOps 2 жыл бұрын
thanks to this information I was able to create kali linux with rdp interface
@kirubakaranshanmugam
@kirubakaranshanmugam Жыл бұрын
how to run with this docker file in ubuntu host ?
@baodo3092
@baodo3092 3 жыл бұрын
is this possible for Redhat Linux 8?
@jamesbaker4444
@jamesbaker4444 5 ай бұрын
This is great stuff. However next time please document some of the known errors because this content isn't available except for your channel. My docker log displays this message: 2024-06-29 08:46:22 Failed to stop user service 'user@0.service', ignoring: Launch helper exited with unknown return code 1 2024-06-29 08:46:23 Failed to stop user service 'user@107.service', ignoring: Launch helper exited with unknown return code 1 i dont know what to do. the container is running but i cant see anything from the XServer, it remains black
@DaGoldFinger
@DaGoldFinger 3 жыл бұрын
Made the same experience about Firefox being slow… but it’s very responsive if I use VNC even KZbin. A friend told me X11 protocol is limited by default… not sure about this.
@IllusionSync
@IllusionSync 9 ай бұрын
How to run my .exe file in ubuntu os from docker to my end user. can you explain me ?
@Sean-bo2lb
@Sean-bo2lb 6 ай бұрын
I able to start the container, its showing running however cannot see desktop. No display.
@LuisReyes-mw3jo
@LuisReyes-mw3jo 6 ай бұрын
Check the Xserver
@dhandapanisudhakar950
@dhandapanisudhakar950 2 жыл бұрын
I am getting the below error when I build the image using the ubuntu docker file. Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
@ryansossou646
@ryansossou646 3 жыл бұрын
what is PC configuration ?? maybe that's what explained slow performance with full desktop environment
@isaargentina4495
@isaargentina4495 2 жыл бұрын
Hi, nice video. I tried in my Dell Laptop with 8 Gb ram. I can start Xming and launch my Ubuntu, but then it freeze. Apparently the memory is not enough
@agiledevart
@agiledevart 2 жыл бұрын
Thank you. You can also try the version with XRDP, it performed much better than using xserver. Maybe it helps you kzbin.info/www/bejne/ZqPPZmRqasZ4g80
@huyentrang4411
@huyentrang4411 3 жыл бұрын
Many thanks!!!
@tonybengue
@tonybengue 3 жыл бұрын
Awesome, thanks
@speedracer123222
@speedracer123222 2 жыл бұрын
Would this work well on a TruNAS scale setup since it also uses docker containers? I’m wanting to have a remote environment to connect to. And would it be possible to connect xrdp via my iphone because I would be likely installing steam and stuff so I can login and enable remote play to do steam link on devices.
@2016Trabalhosonline
@2016Trabalhosonline 11 ай бұрын
very nice bro.
@konstantin-ytb
@konstantin-ytb 2 жыл бұрын
Have you tried to run Red Dead Redemption 2 using Nodejs?
@agiledevart
@agiledevart 2 жыл бұрын
not yet, you came to the right place my friend
@roeslib10
@roeslib10 8 ай бұрын
It didn' work to me: 2024-04-17 12:41:00 [+1.28s] DEBUG: Seat seat0 changes active session to 2024-04-17 12:41:01 [+1.59s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false 2024-04-17 12:41:09 Failed to stop user service 'user@0.service', ignoring: Launch helper exited with unknown return code 1 2024-04-17 12:41:10 Failed to stop user service 'user@112.service', ignoring: Launch helper exited with unknown return code 1
@francescofreddi4374
@francescofreddi4374 3 жыл бұрын
please please please.... i cannot able to start this with mac; i just install xQuartz but iam not able to connect
@agiledevart
@agiledevart 3 жыл бұрын
unfortunately I don't have a mac to test it, I'm sorry
@SamiKurada
@SamiKurada 5 ай бұрын
how to fix these two issues: 1- I couldn't found the xlaunch. 2- and when I ran the container I got this error: /bin/sh: 1: /usr/lib/systemd-logind: not found
@befaro13
@befaro13 2 жыл бұрын
Would it be possible to connect to Ubuntu Host X Server somehow?
@agiledevart
@agiledevart 2 жыл бұрын
yes, you can check this video for a clue: kzbin.info/www/bejne/i3bVlml4mZxomtk I'm using WSL Ubuntu, but this should also work if Ubuntu is the host and you map the folders right.
@francescofreddi4374
@francescofreddi4374 3 жыл бұрын
can i use this tecnicque with mac? i cannot replicated on that, how i can use on that like XServer?
@agiledevart
@agiledevart 3 жыл бұрын
I'm pretty sure that the Dockerfiles should work on Mac too, but I don't know about the xserver. Maybe you can try this one: www.xquartz.org/ kzbin.info/www/bejne/qWfIZJaneK6Gl6c At least it works with SSH as demonstrated in the video, but it makes things more complicated
@jackzugna5830
@jackzugna5830 Жыл бұрын
Maybe you can use VirtualGL (on container) and TurboVNC on mac (linux and windows), but I don't now how to configure all..
@francescofreddi4374
@francescofreddi4374 11 ай бұрын
@@agiledevart dont know how functions xQuarts
@BADGRAPHIX
@BADGRAPHIX 2 жыл бұрын
Doesn't seem to work despite following exact instructions. The idea of Docker containers having a display is starting to feel like an urban legend.
@baodo3092
@baodo3092 3 жыл бұрын
good day, when trying to run my image i created i get an error on docker: "Error invoking remote method 'docker-run-container': Error: (HTTP code 400) unexpected - invalid reference format" how do i fix this??
@francescofreddi4374
@francescofreddi4374 10 ай бұрын
after time... dont function anymore _docker build -t docker-ubuntu :( with your Dockerfile.ubunti file
@truevideojunkie
@truevideojunkie 8 ай бұрын
If you are using the files provided, it can result in an error (failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory). By renaming the respective file to Dockerfile, removing either .ubuntu or .lubuntu, I was able to continue with the setup.
@francescofreddi4374
@francescofreddi4374 7 ай бұрын
@@truevideojunkie ok built with your suggestion... but dont start anymore linux in xServer... can you check if function or not; please (iAm not expert in docker)
@mr_spaay
@mr_spaay 2 жыл бұрын
As soon as i run the container it stops
@agiledevart
@agiledevart 2 жыл бұрын
Is VcXsrv running?
@mr_spaay
@mr_spaay 2 жыл бұрын
@@agiledevart when i pull it, it says (HTTP code 404) unexpected - pull access denied for docker-lubuntu, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
@francescofreddi4374
@francescofreddi4374 3 жыл бұрын
and, can you provide docker file in lesson... please :)
@agiledevart
@agiledevart 3 жыл бұрын
Dockerfiles: agiledevart.github.io/Dockerfile.ubuntu agiledevart.github.io/Dockerfile.lubuntu
@ForgottenHero86
@ForgottenHero86 2 жыл бұрын
Doesn't work for me...
@agiledevart
@agiledevart 2 жыл бұрын
Try 20.04
@AdrianBoisclair
@AdrianBoisclair Жыл бұрын
Yess!
@dogus8662
@dogus8662 Жыл бұрын
where did I go wrong? * Starting system message bus dbus [ OK ] New seat seat0. * Starting X display manager lightdm Failed to load configuration from lightdm.conf: Key file does not start with a group [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log [+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=49 [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
@jakubrejzekjunior7349
@jakubrejzekjunior7349 4 ай бұрын
Actualization: Ubuntu image version [22.00+] of latest has a different structure since this was uploaded. As such the code is no longer viable. As the author written this ONLY WORKS FOR ubuntu:20.04 so for all those that tried the code since ubuntu latest was updated please use my version of dockerfile below FROM ubuntu:20.04 RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y lubuntu-desktop lightdm RUN rm /run/reboot-required RUN echo "/usr/sbin/lightdm" > /etc/X11/default-display-manager RUN echo "\ [LightDM] \ [Seat:*] \ type=xremote \ xserver-hostname=host.docker.internal \ xserver-display-number=0 \ autologin-user=root \ autologin-user-timeout=0 \ autologin-session=Lubuntu \ " > /etc/lightdm/lightdm.conf.d/lightdm.conf ENV DISPLAY=host.docker.internal:0.0 CMD service dbus start ; service lightdm start
@jakubrejzekjunior7349
@jakubrejzekjunior7349 4 ай бұрын
Beware If you do not start the service with default settings before starting the container it stops itself
@Jarmi95
@Jarmi95 2 жыл бұрын
Great, thankss!
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 320 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Running Windows in a Docker Container!
10:07
Wolfgang's Channel
Рет қаралды 358 М.
Linux on Steroids? Meet CachyOS!
11:30
AgileDevArt
Рет қаралды 7 М.
Starting With Linux: What I Wish I Learned First
23:31
Learn Linux TV
Рет қаралды 491 М.
Running Linux desktop environments in containers
9:31
Docker
Рет қаралды 18 М.
The Linux Experience
31:00
Bog
Рет қаралды 1,7 МЛН
The Programs I Use On Linux ...
9:31
Michael Horn
Рет қаралды 112 М.
Why Linux Is Better For Programming
13:32
Hallden
Рет қаралды 2,8 МЛН
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Рет қаралды 2,8 МЛН