old-www/HOWTO/Xinerama-HOWTO/automagicconfig.html

258 lines
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>AutoMagic Video Card Set Up</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Using Xinerama to MultiHead XFree86 V. 4.0+"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Planning"
HREF="planning.html"><LINK
REL="NEXT"
TITLE="Manual Video Card Set Up"
HREF="manualconfig.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Using Xinerama to MultiHead XFree86 V. 4.0+</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="planning.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="manualconfig.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AUTOMAGICCONFIG"
></A
>4. AutoMagic Video Card Set Up</H1
><P
> This is a good time to back up your existing config file</P
><P
>I did it like this:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>root# &#62; cp /etc/X11/XF86Config /etc/X11/XFree86Config.working</PRE
></FONT
></TD
></TR
></TABLE
><P
>Note: If your system may have two sets of config files XF86Config and XF86Config-4. You can either work with the XF86Config-4 files, or rename XF86Config-4 to somthing else and work with the XF86Config file. I will assume that you are working with the XF86Config file from here out. If you are working with XF86Config-4 or if your XF86Config file is located somewhere other than /etc/X11 you will need to adjust the commands accordingly. </P
><P
>The newer versions of X support automatic config file generation and it works very well. If this works for you you should be able to skip the next couple steps. </P
><P
>Put all of your video cards into your system and set up your monitors. Set everything up the way you want it when you are done, as you will have to repeat steps later if you change things.</P
><P
> This next step needs to be done from the console with-out X running. If you are in X, exit now. If your system uses a display manager such as xdm or gdm exit you need to stop that service.</P
><P
>If you need to stop a display manager from RedHat the easiest way is like this:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>root# &#62; telinit 3</PRE
></FONT
></TD
></TR
></TABLE
><P
>for Debian or Libranet :</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>root# &#62; /etc/init.d/xdm stop</PRE
></FONT
></TD
></TR
></TABLE
><P
>If neither of these methods work you, reboot your computer and start up in single user mode.</P
><P
>Once you are at the console prompt and logged in as root run X with the configure option:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>root# &#62; X -configure</PRE
></FONT
></TD
></TR
></TABLE
><P
>Once you have done this X will normally generate a configuration file called XF86Config.new in the home directory of the root user. Test out the configuration file to see if it starts X windows properly:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>root# &#62; X -xf86config /root/XF86Config.new</PRE
></FONT
></TD
></TR
></TABLE
><P
>Chances are that your displays will come up with the generic X Windows startup screen. If so, you are golden and just need to do a little fine tuning. Exit X by pressing Control-Alt-Backspace and copy the new config file to the /etc/X11 directory:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>root# &#62; cp /root/XF86Config.new /etc/X11/XF86Config</PRE
></FONT
></TD
></TR
></TABLE
><P
>Then continue to <A
HREF="editxf86config.html#SERVERLAYOUT"
>Section 7.3</A
>. </P
><P
>If your displays didn't come up properly continue to the next section to manually configure your cards.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="planning.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="manualconfig.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Planning</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Manual Video Card Set Up</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>