I installed CentOS 7, first I installed group "KDE Plasma Workspace", then I installed "GNOME Desktop", after that, I found only gdm existed. and which kdm returns nothing, yum provides kdm only returns kgreeter-xxx but it has been installed.

My question is whether the kdm removed from CentOS 7. how can install kdm on CentOS 7.


When you install a new system next time do a minimal desktop install with kde. Or you can try this

yum -y groupinstall "KDE desktop" "X Window System" "Fonts"

or you can try add & remove software there you can find it easily.

|improve this answer|||||
  • Thank you. i tried as you mentioned, install a new system and do a minimal desktop install, then i group install "KDE Plasma Workspaces", there's no 'kdm' but 'gdm' installed. "KDE Desktop"\"X Windows System" doesn't exist in the groups list returned by 'yum groups list'. i think kdm is not included into the centos repo. – zhangjie Jan 15 '15 at 9:15
  • Centos decided that the gdm login was "good enough" and didn't include the kde login - even when using KDE desktop, so we have gnome junk we don't need, plus conflicts where gnome bits were broken, so login was broken - when all we needed was a pure kde login/desktop to avoid this confusion. – JosephK Feb 13 '18 at 14:11

kdm is part of package kde-workspace, you can try to reinstall it. Also you can enable kdm in /etc/rc.conf by adding kdm4_enable="YES" line and check if it's really missing.


KDM has been removed from CentOS 7.

|improve this answer|||||
  • I have tried reinstall kde-workspace, maybe kdm is removed from package 'kde-workspace'. – zhangjie Jan 15 '15 at 11:24
  • Have you tried adding to rc.conf and reboot? – kirill-a Jan 15 '15 at 11:29
  • i found a post here, jbmoore61.blogspot.com/2014/07/…. it is likely redhat removes the kdm. – zhangjie Jan 15 '15 at 12:35
  • Yes, you're right. KDM has been removed from RHEL7 and Centos correspondingly. And kde-workspace doesn't have it anymore. link Can't you login to KDE using GDM? – kirill-a Jan 15 '15 at 13:40
  • Yes, I can. I have been used to kdm. Thanks. Should we close this question now ? – zhangjie Jan 19 '15 at 4:37

CentOS-7 "Minimal Install" (no Desktop System)

sudo yum groupinstall "X Window System" "Fonts"
sudo yum install lightdm-kde kde-workspace
sudo systemctl --force enable lightdm.service

That Desktop setup adds about 500MB to a minimal install.

So less than 2.5GB in virtual box as an instance.

|improve this answer|||||

Set default systemd target to graphical.target:

sudo systemctl set-default graphical.target

Reboot, or activate immediately:

sudo systemctl isolate graphical.target

Source: https://www.rootusers.com/how-to-install-kde-plasma-gui-in-centos-7-linux/

|improve this answer|||||

Install KDE Desktop Environment on here.

yum -y groups install "KDE Plasma Workspaces"
echo "exec startkde" >> ~/.xinitrc
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.