root@look [/]# startx
xauth: creating new authority file /root/.serverauth.25798
xauth: creating new authority file /root/.Xauthority
xauth: creating new authority file /root/.Xauthority
xinit: No such file or directory (errno 2): no server "/usr/bin/X" in PATH
Use the -- option, or make sure that /usr/bin is in your path and
that "/usr/bin/X" is a program or a link to the right type of server
for your display. Possible server names include:
Xorg Common X server for most displays
Xvfb Virtual frame buffer
Xfake kdrive-based virtual frame buffer
Xnest X server nested in a window on another X server
Xephyr kdrive-based nested X server
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
root@server [/]#
SOLUTION :
Try
yum install xorg-x11-server-Xorg
and if its installed already reinstall using below command :
yum reinstall xorg-x11-server-Xorg