[RULE] problems starting X windows

Graeme Jones gjones at gjassociates.com
Mon Nov 15 05:05:37 EET 2004


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/rule-list/attachments/20041114/95985e8d/attachment.htm>
-------------- next part --------------
_______________________________________________
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