[RULE] problems starting X windows

Richard Kweskin rkwesk at hellug.gr
Sun Nov 14 13:02:51 EET 2004


On Sun, 14 Nov 2004 22:05:37 -0500
"Graeme Jones" <gjones at gjassociates.com> wrote:

> I installed Redhat 9 using RULE on an old pentium computer... initially had
> trouble mounting the cdrom due to DMA problems but with the help of Ingo
> solved that problem.
> 
> Now I am trying to run X windows.
> 
> I typed startx, and got the following errors:
>     hostname: Host name lookup failure
> 
>     xinit: No such file or directory (errno 2): no server "X" in PATH
> 
>     Use the -- option, or make sure that /usr/X11R6/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:
> 
>         XFree86     XFree86 displays
> 
>     giving up.
>     xinit: Connection refused (errno 111): unable to connect to X server
>     xinit: No such process (errno 3): Server error.
> 
> I read through the startx script and figured out that the "hostname: Host
> name lookup failure" is a result of the following /etc/hosts file content:
>     127.0.0.1    localhost.localdomain    localhost
> 
> I changed that to:
>     127.0.0.1    myhost    myhost
> where myhost is the name of my host (no domain).
> 
> That allowed the hostname command to return the actual host name of my
> computer, which got rid of the "hostname: Host name lookup failure" error.
> 
> First question: did I update the /etc/hosts file correctly?
> 
> The next error is xinit reporting "No such file or directory".  I confirmed
> that /usr/X11R6/bin is indeed in my PATH variable.  Then I checked the X
> link... it is linked to /usr/X11R6/bin/Xvesa, which does not exist.
> 
> Second question: Why does "X" link to a file (namely Xvesa) that does not
> exist?  I don't remember seeing any errors during the installation.
> 
> Does anyone have any ideas about how to fix this?

Hello Graeme

It seems that a post-install script to the TinyX rpm was run inspite of not successfully installing this rpm. So my first question to you is did you intend to install TinyX instead of FreeX? The former is a smaller version of the latter.

If yes, then you need the Slinky iso image burned to a cd and this cd to be reinserted when prompted for during the install. Do you recall doing this? If yes, then you might just try rpm -Uvh with every package on this extra cd. Among other things a file named Xvesa will be placed in /usr/X11R6/bin and it should have attributes -rws--x--x.

Richard

_______________________________________________
Original home page of the RULE project: www.rule-project.org
Rule-list at rule-project.org
http://mail.rule-project.org/mailman/listinfo/rule-list_rule-project.org



This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here