• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2082
  • 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

Thanks,
Joy
0
cjjoy1980
Asked:
cjjoy1980
3 Solutions
 
ravenplCommented:
The X envinronment is not installed.
install with: yum install xorg
or even better install whole desktop envinronment: yum install kde
0
 
arrkerr1024Commented:
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
 
draguljCommented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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