Ubuntu: Can you have a desktop environment without a display manager?



Question:

The following article nicely explains the differences between a display manager, a window manager, and a desktop environment:

What is the relationship between Unity, Gnome, Gnome 3, Compiz, Metacity, and LightDM?

Over time, I have grown very fond of using Openbox. Here is typically how I use Openbox:

  1. Install Ubuntu server (no desktop)

  2. Install openbox and a system tray application.

  3. Add "startx" to my .profile script. After I login, it automatically brings up Openbox window manager.

In this case, is it fair to say that I don't have any display manager installed?

I am just trying to understand what is it I am missing by not having a display manager. I am quite happy with the way my setup works.

Also, is it correct to say that I don't have any desktop environment either? Regards.


Solution:1

The display manager takes care of automatically starting the display server ( X11 ), and then prompts you to log in instead of starting your desktop environment as the user the display manager is running as ( root ). startx starts the display server and your desktop environment as you, when you are already logged in. What you are missing by not having a display manager is the ability to log in within the gui instead of having to log in at the command line.


Solution:2

Yes, you can have a desktop environment without a display manager.


With your setup, it is fair to say that you don't have a display manager. It is also fair to say that you don't have a desktop environment


With your setup, you are not missing out anything from not having a display manager


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »