8

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.

Anthon
  • 78,313
  • 42
  • 165
  • 222
zhangjie
  • 234
  • 1
  • 2
  • 9

5 Answers5

3

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.

Adobe
  • 437
  • 5
  • 13
AReddy
  • 3,122
  • 5
  • 35
  • 75
  • 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 09: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
1

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.

update

KDM has been removed from CentOS 7.

kirill-a
  • 2,883
  • 1
  • 16
  • 22
  • 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, http://jbmoore61.blogspot.com/2014/07/no-kde-display-manager-kdm-on-rhel7-and.html. 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](http://rpm.pbone.net/index.php3/stat/4/idpl/27434110/dir/centos_7/com/kde-workspace-libs-4.10.5-21.el7.i686.rpm.html) 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 04:37
  • I think yes, since it can't be helped. – kirill-a Jan 19 '15 at 07:12
  • `/etc/rc.conf` does not exist in Centos7. – StampyCode Sep 24 '15 at 08:58
  • Ok, if that has been removed, and since "KDE desktop" does not exist (tried the above answer), then I need to type precisely what at the bash-prompt to install KDE? I'll start: yum -y groupinstall "????" – JosephK Feb 27 '16 at 04:03
  • @JosephK have you tried to run `yum|dnf install @kde-desktop`? – kirill-a Feb 29 '16 at 07:15
  • I do not recall for sure what worked, but in my bash-history I found " yum reinstall 'kde*' " - just using the wildcard to do it. I was unaware of 'dnf' - will look into that when the next centos-gui-desktop-breakage occurs, (probably in a month or so, based on current experience with 7.x). – JosephK Mar 01 '16 at 03:13
0

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
startx

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

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

Stephen Rauch
  • 4,209
  • 14
  • 22
  • 32
0

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/

mstrthealias
  • 111
  • 2
-1

Install KDE Desktop Environment on here.

yum -y groups install "KDE Plasma Workspaces"
echo "exec startkde" >> ~/.xinitrc
startx