Help - Search - Members - Calendar
Full Version: Centos 5 startx failing
Linuxhelp > Support > Technical Support
Stillearning
Have Centos 5.2 installed in text mode, wish to use a graphical interface so tried to run startx - results below. PATH does include /usr/bin and xinit exists there and X11 and Xorg show up using the locate command.

Could anyone shed some light on this please.

Thank you.
Doug

Xauth: creating new authority file /root/.serverauth.2368
xinit: No suchfile or directory (errno 2): no server "X" in PATH

Use the -- option, or make sure that /usr/bin is in your path and that "X" is a program or link to the right type of server for your display. Possible server names include:

Xorg X.Org displays

xinit: Server error.
michaelk
Are you sure x is installed?
The easiest way to install X (and a GUI system) is to use the yum groupinstall feature.

First you can see all the yum groups available with the command:

yum grouplist

You can install X and Gnome or KDE like this:

yum groupinstall "X Window System" "GNOME Desktop Environment"

or

yum groupinstall "X Window System" "KDE (K Desktop Environment)"

You may also want to add some other groups from the list like "Graphical Internet" or "Office/Productivity"
Stillearning
Thank you Michael,

Tried the GNOME version and get message :
Group X Windows System does not exist yet it is shown in grouplist command?

help!
Doug


QUOTE (michaelk @ Feb 11 2009, 12:45 PM) *
Are you sure x is installed?
The easiest way to install X (and a GUI system) is to use the yum groupinstall feature.

First you can see all the yum groups available with the command:

yum grouplist

You can install X and Gnome or KDE like this:

yum groupinstall "X Window System" "GNOME Desktop Environment"

or

yum groupinstall "X Window System" "KDE (K Desktop Environment)"

You may also want to add some other groups from the list like "Graphical Internet" or "Office/Productivity"

michaelk
Check the grouplist to see what is available
yum grouplist
Stillearning
OK Michael,

Spelling error....download/update OK...X appears to be running but no icons. Have xclock in top right and terminal. Do I need to configure something?

Doug

QUOTE (Stillearning @ Feb 11 2009, 12:58 PM) *
Thank you Michael,

Tried the GNOME version and get message :
Group X Windows System does not exist yet it is shown in grouplist command?

help!
Doug

michaelk
Not sure what basic apps are installed. Try
yum install xclock
Stillearning
Hi Michael,

OK, I downloaded KDE and that is running. Something a bit odd about the GNOME install - at least it is not behaving like other machines and generates no icons. Noted elsewhere that GNOME needs Nautilus to draw icons, it is not installed so prerhaps that is the issue. Anyway I am happy for the moment.

I thank you for your prompt responces and assistance. It is good that folks like you are prepared to spend time assisting us rookies.

Take care till nest time, all the best,

Doug, Glasgow, Scotland


QUOTE (michaelk @ Feb 11 2009, 02:59 PM) *
Not sure what basic apps are installed. Try
yum install xclock

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.