• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2084
  • Last Modified:

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

3 Solutions
The X envinronment is not installed.
install with: yum install xorg
or even better install whole desktop envinronment: yum install kde
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)"
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.
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.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now