You are not logged in.

#1 2013-11-24 21:28:05

itsrob
Member
Registered: 2013-10-10
Posts: 5

Weird issue with KDM

I am missing a dependency or configuration, and I'm not sure how to debug this...

I installed the kdebase package. Then I tried starting KDM through systemd like so:

$ sudo systemctl start kdm

Nothing happened... I installed gnome and interestingly enough, now the above command works... so I removed gnome:

$ sudo pacman -Rns gnome

And now it doesn't work again... So I am guessing either a dependency issue or maybe even a config....

A little more digging through the Arch Wiki, I tried using the startx method... which works. So basically I can login to KDE through the startx, but I can't start KDM.

How would I go about figuring out what is missing?

Offline

#2 2013-11-24 21:38:35

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Weird issue with KDM

What does the journal report when you try to start kdm?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2013-11-24 21:55:05

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: Weird issue with KDM

Before starting the service did you enable it, and reboot?

Offline

#4 2013-11-24 22:02:35

itsrob
Member
Registered: 2013-10-10
Posts: 5

Re: Weird issue with KDM

Oh I see, journalctl is really handy smile

Nov 24 21:53:23 robert-air systemd[1]: Starting K Display Manager...
Nov 24 21:53:23 robert-air systemd[1]: Started K Display Manager.
Nov 24 21:53:23 robert-air kdm[3503]: X server "/usr/bin/X" cannot be executed
Nov 24 21:53:23 robert-air kdm[3501]: X server for display :0 cannot be started, session disabled

It is something to do with the X11 then? I'm not really experienced with how X11 works, but I think I can find the answer from here. Thanks!


EDIT:
Yep, that's what it was... I needed to install the package xorg-server specifically. After I did that, I couldn't start KDM, but after enabling and rebooting as henk suggested, it worked.

Last edited by itsrob (2013-11-24 22:27:20)

Offline

#5 2013-11-25 04:14:59

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: Weird issue with KDM

Glad to see it works. On your next installation, if needed, read this part of the Beginners Guide more carefully.
It specifies which xorg packages need to be installed.
You could now mark this thread as being solved.

Offline

Board footer

Powered by FluxBB