Re: X problems after upgrade
Quoting Sven Gaerner (email@example.com):
> to solve the problem of the error message
> X: cannot stat /etc/X11/X (No such file or directory), aborting.
> giving up.
> xinit: Connection refused (errno 111): unable to connect to X server
> xinit: No such process (errno 3): Server error.
> create a link to XFree86 in /etc/X11.
> $ cd /etc/X11
> $ ln -s /usr/X11R6/bin/XFree86 X
I can't quite understand this. X is running and complains that it
can't stat a file, so you create a link so that it can stat itself?
Perhaps X wants to find its configuration file...
XFree86 uses a configuration file called XF86Config for its initial
setup. This configuration file is searched for in the
following places when the server is started as a normal user:
where <cmdline> is a relative path (with no ".." components)
specified with the -xf86config command line option,
$XF86CONFIG is the relative path (with no ".." components)
specified by that environment variable, and <hostname> is the
machines hostname as reported by gethostname(3) .
In particular, it's probably worth checking whether XF86CONFIG
is getting set somehow. (Also read the man page if you start X
as root as the list is then different.)
Email: firstname.lastname@example.org Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.