[SOLVED]GDM v LightDM - Performance (Is it really a "thing")

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED]GDM v LightDM - Performance (Is it really a "thing")

Postby SlidingHorn » 2018-03-27 12:58

Forgive me if this is a stupid question: I've read the wikis for Debian & Arch, as well as some random online articles, and my understanding is that the Display Manager simply controls your login and then starts your xsession.

LightDM is always mentioned as a "lightweight" display manager, but I'm wondering how much difference there can really be in terms of resource usage between different managers when their purpose seems so minimal/specialized?

Am I missing something deeper here? In reality, does it really just boil down to which one a particular user prefers to work with in terms of customizing that minute aspect of their system?
Last edited by SlidingHorn on 2018-03-27 13:49, edited 1 time in total.
SlidingHorn
 
Posts: 31
Joined: 2018-03-26 15:38

Re: GDM v LightDM - Performance (Is it really a "thing"?)

Postby pylkko » 2018-03-27 13:36

In linux world everything is just a choice. Some people want this, some want that. You can mix and match as you like. For the performance question the real answer is you need to measure it. Also, remember that you do not need a DM at all, even though many standard installations put it there for you. Now that for surezz is more "light weight". :D
User avatar
pylkko
 
Posts: 1284
Joined: 2014-11-06 19:02

Re: GDM v LightDM - Performance (Is it really a "thing"?)

Postby SlidingHorn » 2018-03-27 13:39

pylkko wrote:In linux world everything is just a choice. Some people want this, some want that. You can mix and match as you like. For the performance question the real answer is you need to measure it.


I figured that was probably the case - I do see that there are some "extras" (remote logins, etc) that certain DMs have, but on a relatively new system, I can't imagine that the performance difference could be great enough to make the decision for someone.
SlidingHorn
 
Posts: 31
Joined: 2018-03-26 15:38

Re: GDM v LightDM - Performance (Is it really a "thing"?)

Postby pylkko » 2018-03-27 13:47

There are a lot of people that like making minimal systems and optimizing them "for fun/on principle". There are also many people that use linux on computers that are more than 20 years old. In such cases even one 1 Mb of RAM might be significant. But yes, in my opinion, what you say is more or less correct, that for "normal use cases" it barely makes a difference and is more down to preference.
User avatar
pylkko
 
Posts: 1284
Joined: 2014-11-06 19:02

Re: [SOLVED]GDM v LightDM - Performance (Is it really a "thi

Postby debiman » 2018-03-27 17:02

some display managers fire up a complete browser window (yes, the ui is based on webkit) only for your login.
it is obvious that this will take some extra time.
i prefer to save that time (i like to boot/shutdown twice daily), and imo there's nothing wrong with the text interface as it is, so i just use that, i.e. no login/display "manager".
don't get me wrong, i like tweaking the looks, but prefer to concentrate on what's there, without any performance penalty at all, instead of pasting on another layer at high cost.

display managers aren't only for looks, no, but for me - single user, and while the machine is on nobody else has access to it - i just don't need it.
User avatar
debiman
 
Posts: 2127
Joined: 2013-03-12 07:18

Re: [SOLVED]GDM v LightDM - Performance (Is it really a "thi

Postby Head_on_a_Stick » 2018-03-28 06:16

Display managers are bloat:
Code: Select all
pgrep -a lightdm

Also, LightDM is particularly useless in Debian stretch because it launches X with root permissions.

Both GDM and `startx` from a console login will run X as the normal user and so should be preferred over LightDM (or any other display managers in stretch).

https://www.debian.org/releases/stable/ ... uires-root
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 7413
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: [SOLVED]GDM v LightDM - Performance (Is it really a "thi

Postby SlidingHorn » 2018-03-28 07:10

Head_on_a_Stick wrote:Display managers are bloat:
Code: Select all
pgrep -a lightdm

Also, LightDM is particularly useless in Debian stretch because it launches X with root permissions.

Both GDM and `startx` from a console login will run X as the normal user and so should be preferred over LightDM (or any other display managers in stretch).

https://www.debian.org/releases/stable/ ... uires-root


Oh, wow...that's good to know. I've been leaning toward not using a DM and just starting X from console
SlidingHorn
 
Posts: 31
Joined: 2018-03-26 15:38

Re: [SOLVED]GDM v LightDM - Performance (Is it really a "thi

Postby None1975 » 2018-03-28 13:44

SlidingHorn wrote:Oh, wow...that's good to know. I've been leaning toward not using a DM and just starting X from console

Just keep in mind that if you want to install gdm3 he will draw with herself half Gnome 3. Just use old and good startx. Here documentation.
User avatar
None1975
 
Posts: 394
Joined: 2015-11-29 18:23
Location: /dev/null


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable