[Gllug] First Debian install - a little help needed!
Pete Ryland
pdr at accucard.com
Fri Jan 23 12:12:45 UTC 2004
On Fri, Jan 23, 2004 at 11:50:07AM +0000, FORSTER, David wrote:
> > I've recently done a hard drive install of Morphix (a Knoppix
> > derivative) which basically gives me a customised version of Debian.
> > This defaulted to a maximum of 1024x768 but I was able to start the
> > Morphix disk at 1280x1024 using the boot command 'morphix
> > screen=1280x1024'. Getting this to work from the HD install
> > was simply a
> > case of starting up the disk and copying /etc/X11/XF86Config-4 to
> > /mnt/hda1/etc/X11 (having mounted hda1 first).
> >
> > Wulf
>
> That's similar to what I'm looking to do between Knoppix and the Debian
> drive (hda2 in my case).
> I'm going to do a diff on the two XF86Config-4 files and see where the
> sections for the video card differ. Hopefully then I'll be able to start X
> under Debian and I'll be sorted. It is XF86Config-4 I should be looking at,
> not XF86Config right? My understanding is that the -4 file is for XFree86
> version 4 onwards which is what I have installed.
X searches through a list of standard locations for the config file (which
indeed are different for version 4). From the man page for XF86Config-4:
When the X server is started by the "root" user, the config file
search locations are as follows:
<cmdline>
/etc/X11/<cmdline>
/usr/X11R6/etc/X11/<cmdline>
$XF86CONFIG
/etc/X11/$XF86CONFIG
/usr/X11R6/etc/X11/$XF86CONFIG
$HOME/XF86Config
/etc/X11/XF86Config-4
/etc/X11/XF86Config
/etc/XF86Config
/usr/X11R6/etc/X11/XF86Config.<hostname>
/usr/X11R6/etc/X11/XF86Config-4
/usr/X11R6/etc/X11/XF86Config
/usr/X11R6/lib/X11/XF86Config.<hostname>
/usr/X11R6/lib/X11/XF86Config-4
/usr/X11R6/lib/X11/XF86Config
The one with the -4 on the end appears first, so yes, for X 4 that's the one
to edit if both exist. Another thing to note is that if /root/XF86Config
exists, it will be used instead!
Pete
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list