You are not logged in.

#1 2012-09-05 07:48:42

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

[solved] incomplete kde startup

Hello there,

I am not really sure if this problem is caused by systemd or KDE, but it only showed up now, after starting to use systemd:

I recently switched to systemd and had (actually, have) no problems, the migration worked fine as described in the wiki.
However, ever since the switch to systemd, KDE will only fully go through with its startup after every second boot of my laptop...

every other boot everything looks normal, kdm shows up, I can log into KDE, but for some reason, it seems to be an incomplete start of KDE, e.g., some (most?) system parts just won't load:

these programs don't show up in the "tray":
- kmix doesn't load
- klipper doesn't load
- nm-applet doesn't load (only the applet, NetworkManager is actually working)

Also, scripts/programs from my autostart configuration won't load, for example yakuake doesn't get started.
Furthermore, I can not log out, shutdown, reboot etc. from the KDE menu, but have to start a terminal, e.g. Konsole and do that kind of things.
When I reboot and log in to KDE again, everything is fine. This is reproducable at every second boot.

Has anyone out there experienced similar issues (maybe without systemd? it might be some KDE-only issue...)?

Last edited by Xylankant (2012-09-06 22:21:03)

Offline

#2 2012-09-05 12:19:02

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: [solved] incomplete kde startup

Strange!
Did you install systemd like this?

pacman -S systemd systemd-sysvcompat systemd-arch-units

LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#3 2012-09-05 14:03:49

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [solved] incomplete kde startup

What parts of the desktop aren't being loaded?
What daemons do they depend on?
Is systemd starting those daemons/services (or, more accurately, did you configure systemd to start those daemons/services)?

Offline

#4 2012-09-05 15:29:57

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

Re: [solved] incomplete kde startup

hadrons123 wrote:

Strange!
Did you install systemd like this?

pacman -S systemd systemd-sysvcompat systemd-arch-units

mhhh, as described in "Installation / A pure systemd installation" in this wiki article, and also installed the systemd-arch-units package.

ANOKNUSA wrote:

What parts of the desktop aren't being loaded?
What daemons do they depend on?
Is systemd starting those daemons/services (or, more accurately, did you configure systemd to start those daemons/services)?

As stated in my original post, the parts that aren't loading are

Xylankant wrote:

these programs don't show up in the "tray":
- kmix doesn't load
- klipper doesn't load
- nm-applet doesn't load (only the applet, NetworkManager is actually working)

Also, scripts/programs from my autostart configuration won't load, for example yakuake doesn't get started.

As far as I can see, the only service those depend on is kdm.service, which gets loaded. Also, using

#> systemctl > services_working

(when everything loads fine) and

#> systemctl > services_notWorking

(when everything does not load fine), I checked if there's a difference in loaded services, but there isn't:

#> diff services_working services_notWorking
#>

It's all very strange...

Offline

#5 2012-09-05 15:43:34

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

Re: [solved] incomplete kde startup

...even stranger.

It seems to be working now, after dealing with a, seemingly unrelated, issue with pulseaudio (audio playback would show an annoying delay)...
after changing a line in /etc/pulse/default.pa to

.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
.else

and copying pulseaudio.desktop from /etc/xdg/autostart/ to my home folder, everything seems to work now.

The pulseaudio issue was also present before switching to systemd, so that's even stranger, but for now it seems to be fine...I'll try to confirm that over the next couple of boots...

Offline

#6 2012-09-05 22:55:53

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

Re: [solved] incomplete kde startup

ok, that wasn't it. however, it seems to be more related to kde/kdm than to systemd actually:

when those parts, as described, won't start up, I do *not* actually have to reboot apparently. instead, using a terminal issuing

kdmctl suicide

(thus, restarting my xServer and kdm) and re-logging into KDE does the trick and everything loads up fine.

So, the question now is: what causes KDE not to load everything when started up every other boot/login?

Offline

#7 2012-09-05 23:53:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,140

Re: [solved] incomplete kde startup

When you normally reboot/shutdown, do you do so using kde's graphical dialog?

If you use kdm, have you edited the reboot and shutdown commands in kdmrc?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#8 2012-09-06 00:17:10

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

Re: [solved] incomplete kde startup

cfr wrote:

When you normally reboot/shutdown, do you do so using kde's graphical dialog?

If you use kdm, have you edited the reboot and shutdown commands in kdmrc?

I tried both using KDE's graphical dialog and a terminal. on the terminal, I tried both

sudo shutdown -h now

and

systemctl poweroff

, all with the same result.
In kdmrc, I changed the commands to use systemctl, but that didn't help either.

Just now, a *massive* update for KDE came in via pacman (>500mB), maybe there is some fix in that, I'll keep this thread updated with the outcome...

Thank you very much for helping smile

Offline

#9 2012-09-06 06:41:50

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

Re: [solved] incomplete kde startup

it seems like the KDE update did indeed fix it, booted 5 times in a row now without any problems.
I mark this thread as solved.

Offline

#10 2012-09-06 20:35:09

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [solved] incomplete kde startup

Do you think you could maybe change the title of this thread as well, seeing as how systemd had nothing to do with it?  That will avoid future confusion.

Offline

#11 2012-09-06 22:21:29

Xylankant
Member
From: Saarland, Germany
Registered: 2011-04-26
Posts: 21

Re: [solved] incomplete kde startup

oh yes, good remark, I renamed it

Offline

Board footer

Powered by FluxBB