Xserver not starting

I had installed minimal Centos, and now I install kde group since I need a GUI..  When I type
"statx"   I get the following error:

Xinit: No such file or directory (errno 2): no server "X" in PATH
hostname: unknow host.

I am running at runlevel 5.. and have logged in as root.

May I know what is the problem

Thanks,
Joy
cjjoy1980Asked:
Who is Participating?
 
ravenplConnect With a Mentor Commented:
The X envinronment is not installed.
install with: yum install xorg
or even better install whole desktop envinronment: yum install kde
0
 
arrkerr1024Connect With a Mentor Commented:
Actually you want to pull in the whole group, not just kde its self.  The group has everything that you would have gotten if you'd checked KDE when you installed it - the accessories, etc....

yum groupinstall "KDE (K Desktop Environment)"
0
 
draguljConnect With a Mentor Commented:
If you like minimalism, install xorg and then openbox window manager. It can run without any session manager but you can use xdm if you like. KDE is too big.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.