Beginner's Guide To The Deskop 2 of 5 | X11, Display Manager and Windows Manager

  Рет қаралды 39,483

Joe Collins

Joe Collins

Күн бұрын

In this video we take a look at the basic components that make graphics possible on Linux.
Check out www.ezeelinux.com for more about Linux.

Пікірлер: 97
@edthecunning9336
@edthecunning9336 6 жыл бұрын
Wonderfully informative video. I appreciate the fact that you didn’t edit out the mistakes and unexpected behavior from Linux. It conveys the authenticity of the Linux experience. Sometimes things don’t go as planned and you have to figure out how to fix it or work around it.
@publicsafetydan
@publicsafetydan 7 жыл бұрын
My recent college assignment asked us to use X window, and this is the only place I could find a good explanation of how it works! Thank you soooo much!
@impossibleexperiments
@impossibleexperiments 2 жыл бұрын
Starting from a strict CLI interface and then adding the fluff like window decorations step by step was a great choice. Really shows the difference.
@dwbsovran
@dwbsovran 7 жыл бұрын
Great idea opening up the hood and showing people all that takes place with their vehicle (aka computer) every time they go to the mall, shop and load the groceries and drive back home. To a lot of people though, all they want to know is if they are going to the mall in an Audi (say Apple/Mac) or a Ford Focus (say Acer). It appears there are still quite a few who want to know and appreciate your efforts to show us. Look forward to the rest of the series.
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Thanks. :)
@BlindRambler
@BlindRambler 2 жыл бұрын
This comment aged sooo well and stands true 5 years later.
@johnjoyce
@johnjoyce 5 жыл бұрын
I really love the presentation and hands-on practical approach here. Not every detail is accurate but damned if it isn't one of the best out there on how X really fits together with your contemporary systems in layman's terms.
@josh-foss
@josh-foss 7 жыл бұрын
Ya know, I've never tried starting an x session in a tty so this turned out to be pretty informative. That was also probably the best explanation of client side decorations I've seen yet. Thanks for another good one Joe.
@EzeeLinux
@EzeeLinux 7 жыл бұрын
It helps to see it, doesn't it. I actually didn't know what that was all about when it first came along, either. :)
@brycenvictor2714
@brycenvictor2714 2 жыл бұрын
i know im asking randomly but does anybody know a trick to log back into an instagram account..? I stupidly forgot the password. I love any tricks you can offer me
@jaycejake7851
@jaycejake7851 2 жыл бұрын
@Brycen Victor Instablaster =)
@brycenvictor2714
@brycenvictor2714 2 жыл бұрын
@Jayce Jake Thanks so much for your reply. I got to the site on google and I'm in the hacking process now. Takes quite some time so I will get back to you later when my account password hopefully is recovered.
@brycenvictor2714
@brycenvictor2714 2 жыл бұрын
@Jayce Jake It did the trick and I actually got access to my account again. Im so happy! Thank you so much, you saved my account!
@miguel0n338
@miguel0n338 5 жыл бұрын
This is awesome! I'm a programmer and I've been interested in building stuff for Linux; but the info is so scattered all over the interwebz that there don't seem to be any clear-cut answers to questions like "what the heck is a TTY?" or "what's the difference between a window manager and a desktop environment"? You have given answers to all this and more. Thanks for all the great info! :)
@philiprodriguez6026
@philiprodriguez6026 4 жыл бұрын
Just wanted to agree heavily with this. I've got a bachelors in CS and work now as a SWE, but never really knew what was happening in the background w.r.t. the components of a linux desktop environment and how they interact before this video. Really does a great job laying out the basic components. Just knowing things like "Oh ok, applications are interfacing with an X server to draw things to the screen" feels empowering! Honestly can't believe I didn't know this stuff yet.
@huckleberry582
@huckleberry582 7 жыл бұрын
This is great! I was just recently thinking that I was going to go look for something that would explain the different desktop environments and how they work. All of a sudden, I get a subscription notification and you are starting a series that seems to be heading in that general direction. I'm the kind of person that doesn't just want to know that something works, but also how or why it works. Looking forward to more...
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Thanks. :)
@pnbalaji
@pnbalaji 7 жыл бұрын
Excellent Video Joe. As you have mentioned, I have been using Linux On and Off since 1998, but never bothered to get into the granular details about X, WM, DM, DE etc though I know about them overall. Your video is very informative and thanks for making the videos. You are great teacher!!! Thanks, Balaji.
@ltnlabs
@ltnlabs 3 жыл бұрын
I think this is the most engaging way to teach Linux that I’ve seen on the entire web and there is a lot of stuff out there. A close second is Overthewire.
@tenroh56
@tenroh56 7 жыл бұрын
Top notch as always Joe - always look forward to your videos
@johnjoyce
@johnjoyce 5 жыл бұрын
I also want to add 2 things you do right that push this over the top. Audio and Video considerations. The audio is dead perfect. No massive room reverbs. No massive variations in audio levels between cuts. The video is clear. It's also the size that matters. So many will do a screen recording based video that's HUGE so huge that you must have a massive display to see critically important text details. Nobody needs to do videos with 4K terminal windows. It's silly. Thank you for taking the time to make something and also considering the audience so well.
@nando9910
@nando9910 4 жыл бұрын
Man, this is such an informative video. I'm so glad I found this. Thank you for posting.
@cornjulio4033
@cornjulio4033 4 жыл бұрын
This is fantastic stuff, Joe. Thank you very much. I never had clarity about this.
@liawjinfun
@liawjinfun 7 жыл бұрын
This is the basic video that I need to learning. :)
@EddyCuevas-ym7zq
@EddyCuevas-ym7zq Жыл бұрын
Nicely done! Thank you so much! I had have a hard time trying to understand this on books.
@brentonasmith
@brentonasmith Жыл бұрын
Entertaining and educational, awesome stuff
@ealvinoq
@ealvinoq 7 жыл бұрын
Thanks so much, as you said lot of stuff, but your explanation help me to give me an idea how all these stuff are build.
@atharvaupadhye9819
@atharvaupadhye9819 2 жыл бұрын
I really loved this video
@ajhpower1972
@ajhpower1972 7 жыл бұрын
I always enjoy your videos... Please never stop your intro "Greetings and salutations" :)
@redouanekachach9181
@redouanekachach9181 4 жыл бұрын
Thank you very much for this great video and for describiding the different pieces. At 6:10 If I understand correctly you say the X-client is actually who talks to the hardware and no the server. I think this is not correct (and please, correct me if I'm wrong) because actually is the server who handles the drawing operations (talk to the hardware and not a client). The fact that server-client role in X11 is inverted means basically that the server normally run in the local machine meanwhile clients could be local or running on remote machines and using forwarding to export the display and show it on the local machine (by using the ssh -X option i.eg). You can infact have virtual servers (such xvfb) with no real hardware and use them to run clients which requiere GUI on a headless setup.
@stevenanderson7046
@stevenanderson7046 3 жыл бұрын
You are correct.
@jianingyang301
@jianingyang301 2 жыл бұрын
Good video. But I believe you have the x client and x server concept reversed. For example the ssh x-forwarding example shown at the end, the grsync program that is running on the remote machine (Dell) is actually a x client; the x server is running on this Ubuntu machine on TTY7. In essence, a x client forward rendering commands via a protocol called X11 to the x server and the x server talks to the hardware and draws the graphics. So when you do startx you start a x server not a client.
@anarita2998
@anarita2998 7 жыл бұрын
Great video Joe as it was cool too see how things actually work in which I never knew how it was done not saying I will do it myself but very interesting and educational video so for that I thank you :)
@SamWard_linux
@SamWard_linux 4 жыл бұрын
This helped me with twm not running correctly. Now for further research. Thank you.
@tmendoza6
@tmendoza6 3 жыл бұрын
fantastic video!
@Talel_kraiem
@Talel_kraiem 2 ай бұрын
Thats super doper series , and it help me develop my x application
@dmahadeo
@dmahadeo 2 жыл бұрын
Thanks very much for this tutorial
@Citizen_Se7en
@Citizen_Se7en 7 жыл бұрын
Strange, I've never seen pipe ( | ) used that way. Normally it's used to pipe the output of one program into another (grep is a popular one). If you wanted to open three programs simultaneously I would have expected you to do "program1 ; program2 ; program3" or "program1 && program2 && program3." I guess we learn something new every day, though. :)
@zizzu549
@zizzu549 7 жыл бұрын
You are trying to execute a process list on the shell. If you use only ; or && the programs will be execute one after the other by the shell, the corret way is (program; program)& which means execute the commands in a subshell and put them in background. Using | like joe will create 3 different shells for each process (fork) and the output of every command is sent to the other process ( the shell is working in background). After a bit of testing: (command &); (command &); (command &) is the correct way :P 3 subshells and all in background. Es: (echo 1 &); echo 2; (echo 3 &) the result is unpredictable.
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Nope. I was trying to get the terminal to launch all the programs. && or ; will only work one command at a time. SO the first one will launch and the second will only start after the first is closed. Try it. :)
@smorrow
@smorrow 6 жыл бұрын
(A; B)& would start B after, and only after, A exit()'s, the same as the && version. I would use A & B & to start both at the same time. If B doesn't read its input, then Joe's A | B to run both would eventually result in the main thread of A blocking when the pipe buffer gets filled up.
@johnjoyce
@johnjoyce 5 жыл бұрын
It's wrong. Don't do it. Just use & You can still run a list of items. $ some_program &; some_other_program &; yet_another_program &; That's not the whole story. That frees up the terminal to interact. Might want other things like disown or redirection of stdout and stderr to another place.
@glennsteen
@glennsteen 7 жыл бұрын
Nice video Joe! I would've mentioned that the display manager cease it's job (or rather suspend it) after kicking the session manager into gear, and it is that that actually start the window manager, panel etc, depending on the choices made in the desktop manager. But then again, why make things complex:-). I really like the series, keep up the good work. Cheers -- Glenn
@EzeeLinux
@EzeeLinux 7 жыл бұрын
I try to keep it simple. :)
@glennsteen
@glennsteen 7 жыл бұрын
👍
@stray_demon
@stray_demon Жыл бұрын
Super useful thanks
@sakuragi_hanamichi3263
@sakuragi_hanamichi3263 4 жыл бұрын
Hey man you are a treasure for beginners, I am going to disable my adblocker for you :)
@hoanglinhngodoan364
@hoanglinhngodoan364 Ай бұрын
24:15 I was laughing so hard 🤣🤣🤣 u got me
@kieranmcshane7605
@kieranmcshane7605 5 ай бұрын
Thank you for this
@philipthatcher2068
@philipthatcher2068 4 жыл бұрын
That's probably the best explanation/demonstration of the difference between a Windows Manager and a full Desktop Environment I've seen. However, I'm pretty sure you got the explanation of x-server and x-client swapped around early in the video. (It's anti-intuitive.) Doubly odd, as at the end you cover X-forwarding over SSH, which proves the DE is an "x-client" (running of your other computer), and your workstation is the "x-server".
@rohanghige
@rohanghige 3 жыл бұрын
Great thanks
@experimental0000
@experimental0000 7 жыл бұрын
to 'logout' try typing exit in the terminal, as that normally logs you out from root to normal and closes terminal sessions too.
@EzeeLinux
@EzeeLinux 7 жыл бұрын
I was. The X session crashed when I killed compiz and I could type anything... :
@experimental0000
@experimental0000 7 жыл бұрын
Ah
@DrayseSchneider
@DrayseSchneider 7 жыл бұрын
I often use ^D. 😁
@FP_95
@FP_95 Жыл бұрын
Buenisimo! 10/10
@jaredmeit6127
@jaredmeit6127 7 жыл бұрын
thank you. this was great! I'm not clear about what the Display Manager does though.
@EzeeLinux
@EzeeLinux 7 жыл бұрын
It is the X client for the Desktop Environments you have installed. It also provides a graphical place to log in and choose DE's. :)
@pnbalaji
@pnbalaji 7 жыл бұрын
Window manager takes care of window decorations, placements, resizing etc, where as the display manager usually takes care of login, mounting of security enabled devices etc.
@ceciliog6507
@ceciliog6507 4 жыл бұрын
Could u do a sale guide building a desktop enviroenment only with window mánager please , explain it ofc please im so confused!
@fakefirmware
@fakefirmware 4 жыл бұрын
when your compiz restart didnt work at the end and (even as my guru) not sure why, i had to chuckle.. thats whats always put me off when using linux tbh that feeling I need to know IO from the ground up to use the system (been on ubuntu studio for 18 months). good video and thank you but if you had delved into wtf just happened i would be grateful even if the video veers offtopic.
@DrayseSchneider
@DrayseSchneider 7 жыл бұрын
I know the point of the video is to introduce X and window managers, but you could run multiple commands in the terminal by prepending an ampersand to the end of your command string. Doing so would enable the command to run asynchronously. Mind, you'll get the error output from your applications that you are running from that terminal.... 😕
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Pipes work too. I don't have much call to run asynchronous apps in the terminal very often but thanks for the tip! :)
@burgermeister7244
@burgermeister7244 3 жыл бұрын
Hang on, Joe, I'm confused... Is X the display manager, or is Compiz? (If it's Compiz, then what is X?)
@Oswee
@Oswee 4 жыл бұрын
So gooood!!!
@kelsangsherab131
@kelsangsherab131 7 жыл бұрын
please do a video on how to use web and email from the terminal.
@pnbalaji
@pnbalaji 7 жыл бұрын
You have to use the text mode web browser like lynx to browse the web from text mode.
@Darth12000
@Darth12000 7 жыл бұрын
During the introduction you "warned" warmed up linux users that you were just going to introduce general concepts and not going to talk about specitics and configurations and such. Sounded like you were worried said users could get bored. That's a possibility, but then again i believe even to warmed up linux users, going back to basics once in a while is healthy. So thanks for your series of videos. :)
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Thanks. :)
@BlindRambler
@BlindRambler 2 жыл бұрын
Learning aside. The performance issues are a great way to remember the information. xD "Oh yeah that's right. He said to do that while he didn't so I totally should."
@tombouie
@tombouie 4 жыл бұрын
Amazing, thks for keeping it simple for stupid/dummies like me.
@ashishmishra8662
@ashishmishra8662 4 жыл бұрын
Thanks ..
@evolagenda
@evolagenda 4 жыл бұрын
Why did you use a pipe to open up those programs and not &&, never seen that. Was that pipe even used? From a streams perspective?
@EzeeLinux
@EzeeLinux 4 жыл бұрын
It's a way of opening programs in such a way that they all launch at once. This is for GUI apps... The pipe will redirect to CLI apps. :)
@evolagenda
@evolagenda 4 жыл бұрын
@@EzeeLinux ah ok so it's not a logic operator, it'll launch everything even if one fails. And it's not redirecting stdout to stdin. Nice!
@ricardo_vergara
@ricardo_vergara 7 жыл бұрын
Great Video!!! offtopic, how i can use microsoft office on ubuntu? thnak's in advance!!
@EzeeLinux
@EzeeLinux 7 жыл бұрын
You can't. Use LibreOffice. It does every thing MS office does and then some. :)
@ricardo_vergara
@ricardo_vergara 7 жыл бұрын
Yes, i know, but in the university and work they use microsoft office, word and excel and something i can't edit :(
@user-hq2sl7ow8u
@user-hq2sl7ow8u 8 ай бұрын
Hi Joe! I would like to use parts of this video for some material for one of my classes for my students (secondary school). I cannot find any license information, so I'm asking you for permission :)
@EzeeLinux
@EzeeLinux 8 ай бұрын
Go ahead. Just don't repost the full video anywhere. :)
@user-hq2sl7ow8u
@user-hq2sl7ow8u 8 ай бұрын
@@EzeeLinux many thanks! Of course! And I have added credits at the beginning 👍
@GooogleGoglee
@GooogleGoglee 4 жыл бұрын
What is the difference between X Server and Wayland?
@EzeeLinux
@EzeeLinux 4 жыл бұрын
X works and Wayland doesn't. Wayland is still not quite ready yet. Give it another year or two. :)
@GooogleGoglee
@GooogleGoglee 4 жыл бұрын
@@EzeeLinux Thank you, so basically they both are X Servers Windows? Or Wayland is a Windows Manager?
@EzeeLinux
@EzeeLinux 4 жыл бұрын
@@GooogleGoglee They are display servers. The Window Manager is another program unrelated. :)
@GooogleGoglee
@GooogleGoglee 4 жыл бұрын
@@EzeeLinux Thanks you solved my doubts
@GooogleGoglee
@GooogleGoglee 4 жыл бұрын
Just to know, how can I install and force Wayland instead of X Server on a machine?
@CrustyAbsconder
@CrustyAbsconder 7 жыл бұрын
I am watching this in the stall of a swanky Olive Garden italian restaurant. LOL!
@EzeeLinux
@EzeeLinux 7 жыл бұрын
Mmmm. I love their soup! :)
@anarita2998
@anarita2998 7 жыл бұрын
Me too Joe mmmmm just thinking about makes my mouth water so cannot wait to go there during the winter when I travel to Buffalo to buy stuff as it cheaper in America :)
@CrustyAbsconder
@CrustyAbsconder 7 жыл бұрын
I am just being silly but the good news I have is below: I am excited about GNU/Linux today. I have been watching your videos over 3 months now ( about 5 per week ). Today, I feel I can state that I am no longer a GNU/Linux newbie. I went from knowing absolutely zero about GNU/Linux in early May to this point today. My best guess is roughly 120 days at 4 hours per day of tinkering very hard with 11 different distros and watching KZfaq videos. So roughly took me 400 man-hours. Yesterday, I installed the latest version of Antergos 2016 ( Gnome DE ), on my SSD alongside 3 other new distros: Bodhi 3.2.1 and Antix-16 and Zorin 9. Antergos comes with yaourt. I like yaourt more so than "apt-get install." Today, I manually installed the AUR helper, pacaur, using a procedure in the exact link below: gist.github.com/Tadly/0e65d30f279a34c33e9b Following these 13 steps in the terminal took me about an hour to figure out, as there was no explanation what cower* and pacaur* were supposed to be. Since I was able to figure that out with my own logic, I decided I am am no longer a newbie. Then I used pacaur to install a fun game I like called "knavalbattle," and then I won my first game of knavalbattle, in Antergos. So now I make the bold claim that I am now a novice Linux desktop distro user, with the hope of becoming an experienced novice by the end of the year. Today I feel like I completed a university level course in GNU/Linux desktop distros and I made a 100 on my final exam.
@akshaypai5842
@akshaypai5842 Жыл бұрын
i am not a WINDOW cleaner
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 31 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 161 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 30 МЛН
Beginner's Guide To The Desktop 1 of 5 | Introduction
16:36
Joe Collins
Рет қаралды 16 М.
Wayland vs X11
19:05
DJ Ware
Рет қаралды 148 М.
Some Useful And Some Not So Useful X11 Apps
13:15
DistroTube
Рет қаралды 27 М.
The History of X11
58:19
RetroBytes
Рет қаралды 236 М.
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins
Рет қаралды 2,3 МЛН
X Windows System Design Principles, a lecture by James Gettys
1:00:18
Computer History Museum
Рет қаралды 18 М.
WAYLAND: what is it, and is it ready for daily use?
13:05
The Linux Experiment
Рет қаралды 368 М.
How does an OS boot? //Source Dive// 001
50:22
Low Byte Productions
Рет қаралды 397 М.
The Top 8 Linux Window Managers of 2020
16:43
DistroTube
Рет қаралды 230 М.
smart appliances! new gadgets, versatile utensils, tool items #shorts #gadget
0:10
Pretty Balloon Family
Рет қаралды 50 МЛН
Это самый лучший подарок в ее жизни!
0:33
Beautiful gymnastics 😍☺️
0:15
Lexa_Merin
Рет қаралды 11 МЛН
joga água e pula #funny #funnyvideo #shorts
0:17
Mundo de Alícia e Ana Clara
Рет қаралды 6 МЛН