⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 123-125.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux Configuration and Installation:Installing and Configuring XFree86</TITLE>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=1558285660//-->

<!--TITLE=Linux Configuration and Installation//-->

<!--AUTHOR=Patrick Volkerding//-->

<!--AUTHOR=Kevin Reichard//-->

<!--AUTHOR=Eric Foster//-->

<!--PUBLISHER=IDG Books Worldwide, Inc.//-->

<!--IMPRINT=M & T Books//-->

<!--CHAPTER=3//-->

<!--PAGES=123-125//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="120-122.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="125-127.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P>You&#146;ll need to know which chipset your graphics card has and then figure out which X server to use. We list the X servers in Table 3.5.

</P>

<TABLE WIDTH="100%"><CAPTION><B>Table 3.5</B> XFree86 X Servers

<TR>

<TH WIDTH="30%" ALIGN="LEFT">Filename

<TH WIDTH="70%" ALIGN="LEFT">For Chipsets

<TR>

<TH COLSPAN="2"><HR>

<TR>

<TD><B>XF86_8514</B>

<TD>8514/A and true clones

<TR>

<TD><B>XF86_AGX</B>

<TD>IIT AGX-014, AGX-015, AGX-016

<TR>

<TD><B>XF86_Mach8</B>

<TD>ATI Mach8

<TR>

<TD><B>XF86_Mach32</B>

<TD>ATI Mach32

<TR>

<TD><B>XF86_Mach64</B>

<TD>ATI Mach64

<TR>

<TD VALIGN="TOP"><B>XF86_Mono</B>

<TD>Monochrome VGA, also Hercules, Hyundai HGC1280, Sigma LaserView, Visa, and Apollo monochrome cards

<TR>

<TD><B>XF86_P9000</B>

<TD>Weitek P9000

<TR>

<TD><B>XF86_S3</B>

<TD>S3-based cards

<TR>

<TD><B>XF86_S3V</B>

<TD>S3 VIRGE-based cards

<TR>

<TD><B>XF86_SVGA</B>

<TD>Super VGA

<TR>

<TD><B>XF86_VGA16</B>

<TD>16-color VGA server

<TR>

<TD><B>XF86_W32</B>

<TD>Tseng ET4000/W32, ET4000/W32i, ET4000/W32p

<TR>

<TD COLSPAN="2"><HR>

</TABLE>

<P>The reason you have to know which X server to use is that the wrong server at best won&#146;t work and at worst may damage your system.

</P>

<P>XFree86 is set up to run only one X server, the program named <B>X</B> and stored in <B>/usr/X11R6/bin</B>. Because of this, you need to link the X server you chose earlier to the file named <B>X</B>. The following command, when run as root user, links the S3 X server we use to the standard named <B>X</B>:</P>

<!-- CODE SNIP //-->

<PRE>

  ln -sf /usr/X11R6/bin/XF86_S3 /usr/X11R6/bin/X

</PRE>

<!-- END CODE SNIP //-->

<P>All the XFree86 files are stored in <B>/usr/X11R6</B>, but there are many links to other parts of the filesystem. For example, <B>/usr/bin/X1</B> is linked to <B>/usr/X11R6/bin</B>, where the X binaries really reside. The Slackware installation should have taken care of these links for you.</P>

<P>Now you have the proper X server set up to run when you start X. The next step is to tell XFree86 about your hardware in even more detail by filling out the infamous <B>XF86Config</B> file.</P>

<H3><A NAME="Heading7"></A><FONT COLOR="#000077">Setting Up the XF86Config File</FONT></H3>

<P>The <B>XF86Config</B> file, located in <B>/usr/lib/X11</B> (really a link to <B>/usr/X11R6/ lib/X11</B>), is read when the X server starts up; it describes your graphics hardware and other configuration options for XFree86.</P>

<P>When you&#146;ve gotten to this step, there are two routes you can take. You can set up a generic <B>XF86Config</B> file for Super VGA graphics, or you can tune the <B>XF86Config</B> file for your particular card. We&#146;ll cover both routes in this chapter. We strongly advise you to configure the <B>XF86Config</B> file for your graphics card. Unfortunately, this has proven (in our experience) to be the most daunting task under Linux. Nothing else has been this difficult. So be warned&#151;dangerous waters lie ahead.</P>

<P>The main reason this is a difficult task is that virtually all graphics-card vendors write device drivers for Microsoft Windows, but virtually none write drivers for Linux. Because of this, you&#146;re left with the task of setting up your system to run with the graphics card.</P>

<H4 ALIGN="LEFT"><A NAME="Heading8"></A><FONT COLOR="#000077">Hardware, Hardware, Hardware</FONT></H4>

<P>We keep repeating the mantra that you need to know your system&#146;s hardware inside and out. If you know your hardware, you can get the most out of X. If you don&#146;t, you run the danger of destroying your system.

</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>WARNING:&nbsp;&nbsp;</B>Yes, we&#146;ll repeat that: Making a mistake in your X configuration can result in damaged hardware.<HR></FONT>

</BLOCKQUOTE>

<P>Unless you&#146;re independently wealthy, this should cause you to pause for a moment. Take advantage of the time and go dig up all the documentation on your mouse, monitor, and graphics card. This can be hard. On a system that&#146;s a few years old, you may not be able to find everything. On a new system, your computer case may be full of no-name, off-brand hardware and the documentation may tell you nothing of value.

</P>

<P>We&#146;ve found that some newer systems just tell you the amount of video RAM and how to run DOS terminate-and-stay-resident (TSR) programs to configure the card, which is not very useful for a non-BIOS operating system like Linux. Let&#146;s face it: the vast majority of PC users run DOS and Microsoft Windows, not Linux. As one of the few pioneers, your task is harder. Try examining the original boxes the system came in. On at least one of our prepackaged systems, we found more technical information about the graphics card (especially the chipset) on the box than in all the printed manuals that came with the system.</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="120-122.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="125-127.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -