This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Does kdm do anything 'special' ?

Tags: None
(comma "," separated)
User avatar
manasij7479
Registered Member
Posts
52
Karma
0
OS

Does kdm do anything 'special' ?

Thu Apr 05, 2012 2:52 pm
I've been using kdm as my display manager, for a long time and had no problem with it.
Recently, I removed it from the startup daemons and started to use startx (which exec `s startkde ) after logging in to a text console.
(Why? Just for fun.)
But I am seeing a noticeable difference in time spent on the splash screen.
Does kdm preload some KDE specific stuff ?

Maybe relevant:
xsession_errors shows a lot of : "plasma-desktop(743)/plasma StatusNotifierItemSource::refreshCallback: DBusMenu disabled for this application ".
and some mimetype not found errors... which were present even when using kdm.


Manasij Mukherjee @ Arch Linux | gcc-4.9.2 | Plasma 5.2
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Does kdm do anything 'special' ?

Mon Apr 09, 2012 10:38 am
KDM likely causes Qt and some KDE libraries to be loaded into memory. This would enhance the startup speed of KDE, as it otherwise has to load them. The initialisation time of the X server itself also likely plays a part here.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
manasij7479
Registered Member
Posts
52
Karma
0
OS
bcooksley wrote:KDM likely causes Qt and some KDE libraries to be loaded into memory. This would enhance the startup speed of KDE, as it otherwise has to load them.

That must be it.
The initialisation time of the X server itself also likely plays a part here.

Probably not.
X's startup messages are shown barely for a fraction of a second before switching onto KDE's splash screen.


Manasij Mukherjee @ Arch Linux | gcc-4.9.2 | Plasma 5.2
pfaasse
Registered Member
Posts
1
Karma
0

Fri Jun 06, 2014 7:32 pm
A bit late to the party, please forgive...

In my file /usr/share/config/kdm/kdmrc, there is a section:

# A program to run while the greeter is visible. It is supposed to preload
# as much as possible of the session that is going to be started (most
# probably).
# Default is ""
Preloader=/usr/bin/preloadkde

Could be that is 'the one' making a difference ;)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Does kdm do anything 'special' ?

Fri Jun 06, 2014 11:05 pm
That certainly could explain things, based on it's name.
On my system "preloadkde" is just a script which contains the following:
Code: Select all
#! /bin/sh

test -s /etc/preload.d/kde && /sbin/preload /etc/preload.d/kde


In this case it likely does nothing, as /etc/preload.d/kde does not exist.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]