yum groupinstall Desktop

yum groupinstall X Window System

yum groupinstall Desktop Platform

yum groupinstall KDE Desktop

vi /etc/gdm/custom.conf


[daemon]


[security]

AllowRoot=true

AllowRemoteRoot=true

[xdmcp]

Enable=true

Port=177

[greeter]


[chooser]


[debug]