Windows Managers vs Login Managers Vs Display Managers Vs Desktop Environment

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
50
down vote

favorite
29












I posted a question and noticed people weren't distinguishing correctly between many of these things: Windows Managers vs Login Managers Vs Display Managers Vs Desktop Environment. Can someone please clear this up, i.e. tell us the difference between them and how they are related perhaps?



What category does Xorg fall under? What about Gdm/Kdm/Xdm? People also talk about X. What is X?










share|improve this question



















  • 5




    I asked this a while back on SU: superuser.com/questions/291298/…
    – n0pe
    Sep 9 '11 at 16:04










  • The question was also asked in 2010 on AskUbuntu.
    – Dan Dascalescu
    Aug 10 '16 at 18:43














up vote
50
down vote

favorite
29












I posted a question and noticed people weren't distinguishing correctly between many of these things: Windows Managers vs Login Managers Vs Display Managers Vs Desktop Environment. Can someone please clear this up, i.e. tell us the difference between them and how they are related perhaps?



What category does Xorg fall under? What about Gdm/Kdm/Xdm? People also talk about X. What is X?










share|improve this question



















  • 5




    I asked this a while back on SU: superuser.com/questions/291298/…
    – n0pe
    Sep 9 '11 at 16:04










  • The question was also asked in 2010 on AskUbuntu.
    – Dan Dascalescu
    Aug 10 '16 at 18:43












up vote
50
down vote

favorite
29









up vote
50
down vote

favorite
29






29





I posted a question and noticed people weren't distinguishing correctly between many of these things: Windows Managers vs Login Managers Vs Display Managers Vs Desktop Environment. Can someone please clear this up, i.e. tell us the difference between them and how they are related perhaps?



What category does Xorg fall under? What about Gdm/Kdm/Xdm? People also talk about X. What is X?










share|improve this question















I posted a question and noticed people weren't distinguishing correctly between many of these things: Windows Managers vs Login Managers Vs Display Managers Vs Desktop Environment. Can someone please clear this up, i.e. tell us the difference between them and how they are related perhaps?



What category does Xorg fall under? What about Gdm/Kdm/Xdm? People also talk about X. What is X?







window-manager desktop-environment display-manager login-manager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:37









Community♦

1




1










asked Sep 9 '11 at 16:03









ptrcao

1,390102634




1,390102634







  • 5




    I asked this a while back on SU: superuser.com/questions/291298/…
    – n0pe
    Sep 9 '11 at 16:04










  • The question was also asked in 2010 on AskUbuntu.
    – Dan Dascalescu
    Aug 10 '16 at 18:43












  • 5




    I asked this a while back on SU: superuser.com/questions/291298/…
    – n0pe
    Sep 9 '11 at 16:04










  • The question was also asked in 2010 on AskUbuntu.
    – Dan Dascalescu
    Aug 10 '16 at 18:43







5




5




I asked this a while back on SU: superuser.com/questions/291298/…
– n0pe
Sep 9 '11 at 16:04




I asked this a while back on SU: superuser.com/questions/291298/…
– n0pe
Sep 9 '11 at 16:04












The question was also asked in 2010 on AskUbuntu.
– Dan Dascalescu
Aug 10 '16 at 18:43




The question was also asked in 2010 on AskUbuntu.
– Dan Dascalescu
Aug 10 '16 at 18:43










4 Answers
4






active

oldest

votes

















up vote
48
down vote



accepted










From the bottom up:



  • Xorg, XFree86 and X11 are display servers. This creates the graphical environment.

  • [gkx]dm (and others) are display managers. A login manager is a synonym. This is the first X program run by the system if the system (not the user) is starting X and allows you to log on to the local system, or network systems.

  • A window manager controls the placement and decoration of windows. That is, the window border and controls are the decoration. Some of these are stand alone (WindowMaker, sawfish, fvwm, etc). Some depend on an accompanying desktop environment.

  • A desktop environment such as XFCE, KDE, GNOME, etc. are suites of applications designed to integrate well with each other to provide a consistent experience.

In theory (and mostly so in practice) any of those components are interchangeable. You can run kmail using GNOME with WindowMaker on Xorg.






share|improve this answer


















  • 1




    Some other display/login managers: slim, qingy.
    – dubiousjim
    Oct 19 '12 at 19:06






  • 1




    Some other window managers: metacity and twm
    – Emanuel Berg
    Oct 19 '12 at 22:19






  • 1




    @EmanuelBerg: metacity is mostly useless without GNOME and twm is mostly useless. That aside, my intention is only to provide examples, not an exhaustive list.
    – bahamat
    Oct 20 '12 at 0:39










  • Well, I didn't ask for an exhaustive list, if that was your interpretation. Just gave two more examples. But, as for what is useless or not, that's for everyone to find out for himself. For one, I use metacity every day, and I haven't had GNOME in ages (check out my post below). The more information, the better.
    – Emanuel Berg
    Oct 20 '12 at 0:49











  • Doesn't all desktop environments require a window manager? And all window managers a display manager? That would seem logic to me, but I have installed LXDE but apparently don't have LXDM...
    – TheStoryCoder
    Oct 23 at 16:16

















up vote
16
down vote













If you experiment with this, it'll be clear:



In /etc/rc2.d, you'll find files that are instructions what your computer should do when it starts.



If you use GNOME, look for a file with gdm in its name, then replace the S (first letter of the name) by a lowercase s. (GDM is as you might have guessed the GNOME display manager. If you use some other suite, of course, find out what display manager it uses, then disable it in the same way.)



Now, reboot your computer and you'll notice that the login screen no longer shows up. Conclusion 1: No display manager, no login screen.



Instead, you'll log in to the console. Now, try for example to play a movie (or do anything with graphics). Won't work! This is because X isn't running. Conclusion 2: No X, no graphics.



Third step, starting X: By typing xinit, depending on your ~/.xinitrc file, a set of applications might get started. But, to illustrate, try running X with only a terminal, say, urxvt. So, put urxvt in .xinitrc and comment-out (with #) everything else, then type xinit.



You should now see the urxvt window. Here, you could play movies, etc. But instead, let's move the urxvt window somewhere else. Can't do it. Conclusion 3: No window manager, none of the usual GUI functionality you are probably used to. So, type exit in urxvt. (That command will exit the terminal, but, as that was the only process run as specified in .xinitrc, X will terminate as well.)



Last step, modify .xinitrc once more:



urxvt &
metacity


(note the & so the processes will run concurrently)



Run X again and see the result. The last part of the puzzle: metacity, a window manager.



To get out, type pkill -9 metacity. (On this, urxvt will terminate as well, possibly because, as it was run in the background (with &), metacity is the only process X monitors.)



Good luck. Probably, you'll get stuck on some detail, but it's worth it, to gain understanding.






share|improve this answer






















  • Is uppercase GDM the same as lowercase gdm?
    – René Nyffenegger
    Feb 25 '17 at 6:05










  • This was a fantasic answer. It doesn't just give you the answer but tells you how to build a better understanding. Thank you.
    – allen kim
    Aug 16 at 0:37

















up vote
3
down vote













In one sentence: Your display manager create a nice graphical display where you can use a login manager to login to your X session which will start a window manager and may start a desktop manager.






share|improve this answer



























    up vote
    0
    down vote













    @bahamat answer is complete for the question. However, I am adding definitions of more terms as this question shows up first on related google searches:




    • X Window System (aka X11): A network protocol encoding things
      such as graphic primitives, images, pointer motion, and key presses.


    • X Display Server (e.g. Xorg and XFree86): X server implementing
      X11 and providing an interface to keyboards, mice, and video cards.


    • X Display Manager (e.g. SDDM, GDM, and LightDM): Graphical login
      manager which starts a session on an X server from the same or
      another computer


    • Widget/GUI toolkit/framework/library (e.g. GTK+
      and Qt): Providing things such as buttons, scrollbars, edit boxes,
      etc.


    • Window Managers (e.g. Metacity and Compiz): Decorating X
      window primitives and supporting various operations such as moving,
      resizing, and maximizing of windows. Desktop Environments (e.g.
      GNOME, KDE, XFCE, and LXDE): Providing libraries and specifications
      that applications use and follow in order to "play nice" with other
      applications.

    Reference:



    https://superuser.com/questions/291298/window-manager-vs-desktop-environment-vs-window-system-whats-the-difference





    share




















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f20385%2fwindows-managers-vs-login-managers-vs-display-managers-vs-desktop-environment%23new-answer', 'question_page');

      );

      Post as a guest






























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      48
      down vote



      accepted










      From the bottom up:



      • Xorg, XFree86 and X11 are display servers. This creates the graphical environment.

      • [gkx]dm (and others) are display managers. A login manager is a synonym. This is the first X program run by the system if the system (not the user) is starting X and allows you to log on to the local system, or network systems.

      • A window manager controls the placement and decoration of windows. That is, the window border and controls are the decoration. Some of these are stand alone (WindowMaker, sawfish, fvwm, etc). Some depend on an accompanying desktop environment.

      • A desktop environment such as XFCE, KDE, GNOME, etc. are suites of applications designed to integrate well with each other to provide a consistent experience.

      In theory (and mostly so in practice) any of those components are interchangeable. You can run kmail using GNOME with WindowMaker on Xorg.






      share|improve this answer


















      • 1




        Some other display/login managers: slim, qingy.
        – dubiousjim
        Oct 19 '12 at 19:06






      • 1




        Some other window managers: metacity and twm
        – Emanuel Berg
        Oct 19 '12 at 22:19






      • 1




        @EmanuelBerg: metacity is mostly useless without GNOME and twm is mostly useless. That aside, my intention is only to provide examples, not an exhaustive list.
        – bahamat
        Oct 20 '12 at 0:39










      • Well, I didn't ask for an exhaustive list, if that was your interpretation. Just gave two more examples. But, as for what is useless or not, that's for everyone to find out for himself. For one, I use metacity every day, and I haven't had GNOME in ages (check out my post below). The more information, the better.
        – Emanuel Berg
        Oct 20 '12 at 0:49











      • Doesn't all desktop environments require a window manager? And all window managers a display manager? That would seem logic to me, but I have installed LXDE but apparently don't have LXDM...
        – TheStoryCoder
        Oct 23 at 16:16














      up vote
      48
      down vote



      accepted










      From the bottom up:



      • Xorg, XFree86 and X11 are display servers. This creates the graphical environment.

      • [gkx]dm (and others) are display managers. A login manager is a synonym. This is the first X program run by the system if the system (not the user) is starting X and allows you to log on to the local system, or network systems.

      • A window manager controls the placement and decoration of windows. That is, the window border and controls are the decoration. Some of these are stand alone (WindowMaker, sawfish, fvwm, etc). Some depend on an accompanying desktop environment.

      • A desktop environment such as XFCE, KDE, GNOME, etc. are suites of applications designed to integrate well with each other to provide a consistent experience.

      In theory (and mostly so in practice) any of those components are interchangeable. You can run kmail using GNOME with WindowMaker on Xorg.






      share|improve this answer


















      • 1




        Some other display/login managers: slim, qingy.
        – dubiousjim
        Oct 19 '12 at 19:06






      • 1




        Some other window managers: metacity and twm
        – Emanuel Berg
        Oct 19 '12 at 22:19






      • 1




        @EmanuelBerg: metacity is mostly useless without GNOME and twm is mostly useless. That aside, my intention is only to provide examples, not an exhaustive list.
        – bahamat
        Oct 20 '12 at 0:39










      • Well, I didn't ask for an exhaustive list, if that was your interpretation. Just gave two more examples. But, as for what is useless or not, that's for everyone to find out for himself. For one, I use metacity every day, and I haven't had GNOME in ages (check out my post below). The more information, the better.
        – Emanuel Berg
        Oct 20 '12 at 0:49











      • Doesn't all desktop environments require a window manager? And all window managers a display manager? That would seem logic to me, but I have installed LXDE but apparently don't have LXDM...
        – TheStoryCoder
        Oct 23 at 16:16












      up vote
      48
      down vote



      accepted







      up vote
      48
      down vote



      accepted






      From the bottom up:



      • Xorg, XFree86 and X11 are display servers. This creates the graphical environment.

      • [gkx]dm (and others) are display managers. A login manager is a synonym. This is the first X program run by the system if the system (not the user) is starting X and allows you to log on to the local system, or network systems.

      • A window manager controls the placement and decoration of windows. That is, the window border and controls are the decoration. Some of these are stand alone (WindowMaker, sawfish, fvwm, etc). Some depend on an accompanying desktop environment.

      • A desktop environment such as XFCE, KDE, GNOME, etc. are suites of applications designed to integrate well with each other to provide a consistent experience.

      In theory (and mostly so in practice) any of those components are interchangeable. You can run kmail using GNOME with WindowMaker on Xorg.






      share|improve this answer














      From the bottom up:



      • Xorg, XFree86 and X11 are display servers. This creates the graphical environment.

      • [gkx]dm (and others) are display managers. A login manager is a synonym. This is the first X program run by the system if the system (not the user) is starting X and allows you to log on to the local system, or network systems.

      • A window manager controls the placement and decoration of windows. That is, the window border and controls are the decoration. Some of these are stand alone (WindowMaker, sawfish, fvwm, etc). Some depend on an accompanying desktop environment.

      • A desktop environment such as XFCE, KDE, GNOME, etc. are suites of applications designed to integrate well with each other to provide a consistent experience.

      In theory (and mostly so in practice) any of those components are interchangeable. You can run kmail using GNOME with WindowMaker on Xorg.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Aug 14 '16 at 18:33

























      answered Sep 10 '11 at 4:10









      bahamat

      23.8k14690




      23.8k14690







      • 1




        Some other display/login managers: slim, qingy.
        – dubiousjim
        Oct 19 '12 at 19:06






      • 1




        Some other window managers: metacity and twm
        – Emanuel Berg
        Oct 19 '12 at 22:19






      • 1




        @EmanuelBerg: metacity is mostly useless without GNOME and twm is mostly useless. That aside, my intention is only to provide examples, not an exhaustive list.
        – bahamat
        Oct 20 '12 at 0:39










      • Well, I didn't ask for an exhaustive list, if that was your interpretation. Just gave two more examples. But, as for what is useless or not, that's for everyone to find out for himself. For one, I use metacity every day, and I haven't had GNOME in ages (check out my post below). The more information, the better.
        – Emanuel Berg
        Oct 20 '12 at 0:49











      • Doesn't all desktop environments require a window manager? And all window managers a display manager? That would seem logic to me, but I have installed LXDE but apparently don't have LXDM...
        – TheStoryCoder
        Oct 23 at 16:16












      • 1




        Some other display/login managers: slim, qingy.
        – dubiousjim
        Oct 19 '12 at 19:06






      • 1




        Some other window managers: metacity and twm
        – Emanuel Berg
        Oct 19 '12 at 22:19






      • 1




        @EmanuelBerg: metacity is mostly useless without GNOME and twm is mostly useless. That aside, my intention is only to provide examples, not an exhaustive list.
        – bahamat
        Oct 20 '12 at 0:39










      • Well, I didn't ask for an exhaustive list, if that was your interpretation. Just gave two more examples. But, as for what is useless or not, that's for everyone to find out for himself. For one, I use metacity every day, and I haven't had GNOME in ages (check out my post below). The more information, the better.
        – Emanuel Berg
        Oct 20 '12 at 0:49











      • Doesn't all desktop environments require a window manager? And all window managers a display manager? That would seem logic to me, but I have installed LXDE but apparently don't have LXDM...
        – TheStoryCoder
        Oct 23 at 16:16







      1




      1




      Some other display/login managers: slim, qingy.
      – dubiousjim
      Oct 19 '12 at 19:06




      Some other display/login managers: slim, qingy.
      – dubiousjim
      Oct 19 '12 at 19:06




      1




      1




      Some other window managers: metacity and twm
      – Emanuel Berg
      Oct 19 '12 at 22:19




      Some other window managers: metacity and twm
      – Emanuel Berg
      Oct 19 '12 at 22:19




      1




      1




      @EmanuelBerg: metacity is mostly useless without GNOME and twm is mostly useless. That aside, my intention is only to provide examples, not an exhaustive list.
      – bahamat
      Oct 20 '12 at 0:39




      @EmanuelBerg: metacity is mostly useless without GNOME and twm is mostly useless. That aside, my intention is only to provide examples, not an exhaustive list.
      – bahamat
      Oct 20 '12 at 0:39












      Well, I didn't ask for an exhaustive list, if that was your interpretation. Just gave two more examples. But, as for what is useless or not, that's for everyone to find out for himself. For one, I use metacity every day, and I haven't had GNOME in ages (check out my post below). The more information, the better.
      – Emanuel Berg
      Oct 20 '12 at 0:49





      Well, I didn't ask for an exhaustive list, if that was your interpretation. Just gave two more examples. But, as for what is useless or not, that's for everyone to find out for himself. For one, I use metacity every day, and I haven't had GNOME in ages (check out my post below). The more information, the better.
      – Emanuel Berg
      Oct 20 '12 at 0:49













      Doesn't all desktop environments require a window manager? And all window managers a display manager? That would seem logic to me, but I have installed LXDE but apparently don't have LXDM...
      – TheStoryCoder
      Oct 23 at 16:16




      Doesn't all desktop environments require a window manager? And all window managers a display manager? That would seem logic to me, but I have installed LXDE but apparently don't have LXDM...
      – TheStoryCoder
      Oct 23 at 16:16












      up vote
      16
      down vote













      If you experiment with this, it'll be clear:



      In /etc/rc2.d, you'll find files that are instructions what your computer should do when it starts.



      If you use GNOME, look for a file with gdm in its name, then replace the S (first letter of the name) by a lowercase s. (GDM is as you might have guessed the GNOME display manager. If you use some other suite, of course, find out what display manager it uses, then disable it in the same way.)



      Now, reboot your computer and you'll notice that the login screen no longer shows up. Conclusion 1: No display manager, no login screen.



      Instead, you'll log in to the console. Now, try for example to play a movie (or do anything with graphics). Won't work! This is because X isn't running. Conclusion 2: No X, no graphics.



      Third step, starting X: By typing xinit, depending on your ~/.xinitrc file, a set of applications might get started. But, to illustrate, try running X with only a terminal, say, urxvt. So, put urxvt in .xinitrc and comment-out (with #) everything else, then type xinit.



      You should now see the urxvt window. Here, you could play movies, etc. But instead, let's move the urxvt window somewhere else. Can't do it. Conclusion 3: No window manager, none of the usual GUI functionality you are probably used to. So, type exit in urxvt. (That command will exit the terminal, but, as that was the only process run as specified in .xinitrc, X will terminate as well.)



      Last step, modify .xinitrc once more:



      urxvt &
      metacity


      (note the & so the processes will run concurrently)



      Run X again and see the result. The last part of the puzzle: metacity, a window manager.



      To get out, type pkill -9 metacity. (On this, urxvt will terminate as well, possibly because, as it was run in the background (with &), metacity is the only process X monitors.)



      Good luck. Probably, you'll get stuck on some detail, but it's worth it, to gain understanding.






      share|improve this answer






















      • Is uppercase GDM the same as lowercase gdm?
        – René Nyffenegger
        Feb 25 '17 at 6:05










      • This was a fantasic answer. It doesn't just give you the answer but tells you how to build a better understanding. Thank you.
        – allen kim
        Aug 16 at 0:37














      up vote
      16
      down vote













      If you experiment with this, it'll be clear:



      In /etc/rc2.d, you'll find files that are instructions what your computer should do when it starts.



      If you use GNOME, look for a file with gdm in its name, then replace the S (first letter of the name) by a lowercase s. (GDM is as you might have guessed the GNOME display manager. If you use some other suite, of course, find out what display manager it uses, then disable it in the same way.)



      Now, reboot your computer and you'll notice that the login screen no longer shows up. Conclusion 1: No display manager, no login screen.



      Instead, you'll log in to the console. Now, try for example to play a movie (or do anything with graphics). Won't work! This is because X isn't running. Conclusion 2: No X, no graphics.



      Third step, starting X: By typing xinit, depending on your ~/.xinitrc file, a set of applications might get started. But, to illustrate, try running X with only a terminal, say, urxvt. So, put urxvt in .xinitrc and comment-out (with #) everything else, then type xinit.



      You should now see the urxvt window. Here, you could play movies, etc. But instead, let's move the urxvt window somewhere else. Can't do it. Conclusion 3: No window manager, none of the usual GUI functionality you are probably used to. So, type exit in urxvt. (That command will exit the terminal, but, as that was the only process run as specified in .xinitrc, X will terminate as well.)



      Last step, modify .xinitrc once more:



      urxvt &
      metacity


      (note the & so the processes will run concurrently)



      Run X again and see the result. The last part of the puzzle: metacity, a window manager.



      To get out, type pkill -9 metacity. (On this, urxvt will terminate as well, possibly because, as it was run in the background (with &), metacity is the only process X monitors.)



      Good luck. Probably, you'll get stuck on some detail, but it's worth it, to gain understanding.






      share|improve this answer






















      • Is uppercase GDM the same as lowercase gdm?
        – René Nyffenegger
        Feb 25 '17 at 6:05










      • This was a fantasic answer. It doesn't just give you the answer but tells you how to build a better understanding. Thank you.
        – allen kim
        Aug 16 at 0:37












      up vote
      16
      down vote










      up vote
      16
      down vote









      If you experiment with this, it'll be clear:



      In /etc/rc2.d, you'll find files that are instructions what your computer should do when it starts.



      If you use GNOME, look for a file with gdm in its name, then replace the S (first letter of the name) by a lowercase s. (GDM is as you might have guessed the GNOME display manager. If you use some other suite, of course, find out what display manager it uses, then disable it in the same way.)



      Now, reboot your computer and you'll notice that the login screen no longer shows up. Conclusion 1: No display manager, no login screen.



      Instead, you'll log in to the console. Now, try for example to play a movie (or do anything with graphics). Won't work! This is because X isn't running. Conclusion 2: No X, no graphics.



      Third step, starting X: By typing xinit, depending on your ~/.xinitrc file, a set of applications might get started. But, to illustrate, try running X with only a terminal, say, urxvt. So, put urxvt in .xinitrc and comment-out (with #) everything else, then type xinit.



      You should now see the urxvt window. Here, you could play movies, etc. But instead, let's move the urxvt window somewhere else. Can't do it. Conclusion 3: No window manager, none of the usual GUI functionality you are probably used to. So, type exit in urxvt. (That command will exit the terminal, but, as that was the only process run as specified in .xinitrc, X will terminate as well.)



      Last step, modify .xinitrc once more:



      urxvt &
      metacity


      (note the & so the processes will run concurrently)



      Run X again and see the result. The last part of the puzzle: metacity, a window manager.



      To get out, type pkill -9 metacity. (On this, urxvt will terminate as well, possibly because, as it was run in the background (with &), metacity is the only process X monitors.)



      Good luck. Probably, you'll get stuck on some detail, but it's worth it, to gain understanding.






      share|improve this answer














      If you experiment with this, it'll be clear:



      In /etc/rc2.d, you'll find files that are instructions what your computer should do when it starts.



      If you use GNOME, look for a file with gdm in its name, then replace the S (first letter of the name) by a lowercase s. (GDM is as you might have guessed the GNOME display manager. If you use some other suite, of course, find out what display manager it uses, then disable it in the same way.)



      Now, reboot your computer and you'll notice that the login screen no longer shows up. Conclusion 1: No display manager, no login screen.



      Instead, you'll log in to the console. Now, try for example to play a movie (or do anything with graphics). Won't work! This is because X isn't running. Conclusion 2: No X, no graphics.



      Third step, starting X: By typing xinit, depending on your ~/.xinitrc file, a set of applications might get started. But, to illustrate, try running X with only a terminal, say, urxvt. So, put urxvt in .xinitrc and comment-out (with #) everything else, then type xinit.



      You should now see the urxvt window. Here, you could play movies, etc. But instead, let's move the urxvt window somewhere else. Can't do it. Conclusion 3: No window manager, none of the usual GUI functionality you are probably used to. So, type exit in urxvt. (That command will exit the terminal, but, as that was the only process run as specified in .xinitrc, X will terminate as well.)



      Last step, modify .xinitrc once more:



      urxvt &
      metacity


      (note the & so the processes will run concurrently)



      Run X again and see the result. The last part of the puzzle: metacity, a window manager.



      To get out, type pkill -9 metacity. (On this, urxvt will terminate as well, possibly because, as it was run in the background (with &), metacity is the only process X monitors.)



      Good luck. Probably, you'll get stuck on some detail, but it's worth it, to gain understanding.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Jan 13 '13 at 20:26

























      answered Oct 20 '12 at 0:07









      Emanuel Berg

      3,62452852




      3,62452852











      • Is uppercase GDM the same as lowercase gdm?
        – René Nyffenegger
        Feb 25 '17 at 6:05










      • This was a fantasic answer. It doesn't just give you the answer but tells you how to build a better understanding. Thank you.
        – allen kim
        Aug 16 at 0:37
















      • Is uppercase GDM the same as lowercase gdm?
        – René Nyffenegger
        Feb 25 '17 at 6:05










      • This was a fantasic answer. It doesn't just give you the answer but tells you how to build a better understanding. Thank you.
        – allen kim
        Aug 16 at 0:37















      Is uppercase GDM the same as lowercase gdm?
      – René Nyffenegger
      Feb 25 '17 at 6:05




      Is uppercase GDM the same as lowercase gdm?
      – René Nyffenegger
      Feb 25 '17 at 6:05












      This was a fantasic answer. It doesn't just give you the answer but tells you how to build a better understanding. Thank you.
      – allen kim
      Aug 16 at 0:37




      This was a fantasic answer. It doesn't just give you the answer but tells you how to build a better understanding. Thank you.
      – allen kim
      Aug 16 at 0:37










      up vote
      3
      down vote













      In one sentence: Your display manager create a nice graphical display where you can use a login manager to login to your X session which will start a window manager and may start a desktop manager.






      share|improve this answer
























        up vote
        3
        down vote













        In one sentence: Your display manager create a nice graphical display where you can use a login manager to login to your X session which will start a window manager and may start a desktop manager.






        share|improve this answer






















          up vote
          3
          down vote










          up vote
          3
          down vote









          In one sentence: Your display manager create a nice graphical display where you can use a login manager to login to your X session which will start a window manager and may start a desktop manager.






          share|improve this answer












          In one sentence: Your display manager create a nice graphical display where you can use a login manager to login to your X session which will start a window manager and may start a desktop manager.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 9 '11 at 16:21









          Sardathrion

          2,42542248




          2,42542248




















              up vote
              0
              down vote













              @bahamat answer is complete for the question. However, I am adding definitions of more terms as this question shows up first on related google searches:




              • X Window System (aka X11): A network protocol encoding things
                such as graphic primitives, images, pointer motion, and key presses.


              • X Display Server (e.g. Xorg and XFree86): X server implementing
                X11 and providing an interface to keyboards, mice, and video cards.


              • X Display Manager (e.g. SDDM, GDM, and LightDM): Graphical login
                manager which starts a session on an X server from the same or
                another computer


              • Widget/GUI toolkit/framework/library (e.g. GTK+
                and Qt): Providing things such as buttons, scrollbars, edit boxes,
                etc.


              • Window Managers (e.g. Metacity and Compiz): Decorating X
                window primitives and supporting various operations such as moving,
                resizing, and maximizing of windows. Desktop Environments (e.g.
                GNOME, KDE, XFCE, and LXDE): Providing libraries and specifications
                that applications use and follow in order to "play nice" with other
                applications.

              Reference:



              https://superuser.com/questions/291298/window-manager-vs-desktop-environment-vs-window-system-whats-the-difference





              share
























                up vote
                0
                down vote













                @bahamat answer is complete for the question. However, I am adding definitions of more terms as this question shows up first on related google searches:




                • X Window System (aka X11): A network protocol encoding things
                  such as graphic primitives, images, pointer motion, and key presses.


                • X Display Server (e.g. Xorg and XFree86): X server implementing
                  X11 and providing an interface to keyboards, mice, and video cards.


                • X Display Manager (e.g. SDDM, GDM, and LightDM): Graphical login
                  manager which starts a session on an X server from the same or
                  another computer


                • Widget/GUI toolkit/framework/library (e.g. GTK+
                  and Qt): Providing things such as buttons, scrollbars, edit boxes,
                  etc.


                • Window Managers (e.g. Metacity and Compiz): Decorating X
                  window primitives and supporting various operations such as moving,
                  resizing, and maximizing of windows. Desktop Environments (e.g.
                  GNOME, KDE, XFCE, and LXDE): Providing libraries and specifications
                  that applications use and follow in order to "play nice" with other
                  applications.

                Reference:



                https://superuser.com/questions/291298/window-manager-vs-desktop-environment-vs-window-system-whats-the-difference





                share






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  @bahamat answer is complete for the question. However, I am adding definitions of more terms as this question shows up first on related google searches:




                  • X Window System (aka X11): A network protocol encoding things
                    such as graphic primitives, images, pointer motion, and key presses.


                  • X Display Server (e.g. Xorg and XFree86): X server implementing
                    X11 and providing an interface to keyboards, mice, and video cards.


                  • X Display Manager (e.g. SDDM, GDM, and LightDM): Graphical login
                    manager which starts a session on an X server from the same or
                    another computer


                  • Widget/GUI toolkit/framework/library (e.g. GTK+
                    and Qt): Providing things such as buttons, scrollbars, edit boxes,
                    etc.


                  • Window Managers (e.g. Metacity and Compiz): Decorating X
                    window primitives and supporting various operations such as moving,
                    resizing, and maximizing of windows. Desktop Environments (e.g.
                    GNOME, KDE, XFCE, and LXDE): Providing libraries and specifications
                    that applications use and follow in order to "play nice" with other
                    applications.

                  Reference:



                  https://superuser.com/questions/291298/window-manager-vs-desktop-environment-vs-window-system-whats-the-difference





                  share












                  @bahamat answer is complete for the question. However, I am adding definitions of more terms as this question shows up first on related google searches:




                  • X Window System (aka X11): A network protocol encoding things
                    such as graphic primitives, images, pointer motion, and key presses.


                  • X Display Server (e.g. Xorg and XFree86): X server implementing
                    X11 and providing an interface to keyboards, mice, and video cards.


                  • X Display Manager (e.g. SDDM, GDM, and LightDM): Graphical login
                    manager which starts a session on an X server from the same or
                    another computer


                  • Widget/GUI toolkit/framework/library (e.g. GTK+
                    and Qt): Providing things such as buttons, scrollbars, edit boxes,
                    etc.


                  • Window Managers (e.g. Metacity and Compiz): Decorating X
                    window primitives and supporting various operations such as moving,
                    resizing, and maximizing of windows. Desktop Environments (e.g.
                    GNOME, KDE, XFCE, and LXDE): Providing libraries and specifications
                    that applications use and follow in order to "play nice" with other
                    applications.

                  Reference:



                  https://superuser.com/questions/291298/window-manager-vs-desktop-environment-vs-window-system-whats-the-difference






                  share











                  share


                  share










                  answered 3 mins ago









                  lashgar

                  14516




                  14516



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f20385%2fwindows-managers-vs-login-managers-vs-display-managers-vs-desktop-environment%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      Peggy Mitchell

                      Palaiologos

                      The Forum (Inglewood, California)