📄 426-429.html
字号:
<HTML>
<HEAD>
<TITLE>Special Edition Using Linux, Fourth Edition:Installing the X Windows System</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=0789717468//-->
<!--TITLE=Special Edition Using Linux, Fourth Edition//-->
<!--AUTHOR=Jack Tackett//-->
<!--AUTHOR=Jr.//-->
<!--AUTHOR=Steve Burnett//-->
<!--PUBLISHER=Macmillan Computer Publishing//-->
<!--IMPRINT=Que//-->
<!--CHAPTER=21//-->
<!--PAGES=426-429//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="423-426.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="429-431.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P>These commands also copy all the files from the CD-ROM mounted at /cdrom to the current directory.
</P>
<TABLE WIDTH="100%"><CAPTION ALIGN=LEFT><B>Table 21.1</B> XFree86 Main Distribution Files
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TH WIDTH="25%" ALIGN="LEFT">Filename
<TH WIDTH="75%" ALIGN="LEFT">Description
<TR>
<TD COLSPAN="2"><HR>
<TR>
<TD>x3270.tgz
<TD>IBM 3270 terminal emulation
<TR>
<TD>x_8514.tgz
<TD>IBM 8514 server
<TR>
<TD>x_mach32.tgz
<TD>Mach32 chip-based server
<TR>
<TD>x_mach8.tgz
<TD>Mach8 chip-based server
<TR>
<TD>x_mono.tgz
<TD>Monochrome monitor server
<TR>
<TD>x_s3.tgz
<TD>S3 chip-based server
<TR>
<TD>x_svga.tgz
<TD>Server for most SVGA cards (a good basic setup)
<TR>
<TD>_vga16.tgz
<TD>EGA/VGA 16-color server
<TR>
<TD>xconfig.tgz
<TD>Sample Xconfig configuration files (a must-have)
<TR>
<TD>xf_bin.tgz
<TD>Basic binary files required for X (clients)
<TR>
<TD>xf_cfg.tgz
<TD>XDM configuration and FVWM programs
<TR>
<TD>xf_doc.tgz
<TD>Documentation for XFree86
<TR>
<TD>xf_kit.tgz
<TD>Linker kit for XFree86 (1 of 2)
<TR>
<TD>xf_kit2.tgz
<TD>Drivers for Linker kit (2 of 2)
<TR>
<TD>xf_lib.tgz
<TD>Dynamic link libraries and configuration files
<TR>
<TD>xf_pex.tgz
<TD>PEX distribution
<TR>
<TD>xfileman.tgz
<TD>File manager program
<TR>
<TD>xfm.tgz
<TD>The xfm file manager
<TR>
<TD>xfnt.tgz
<TD>X Window fonts
<TR>
<TD>xfnt75
<TD>75 point fonts for X
<TR>
<TD>xfract
<TD>The <TT>xfractint</TT> program for displaying fractals
<TR>
<TD>xgames
<TD>Games to play under X
<TR>
<TD VALIGN="TOP">xgrabsc.tgz
<TD>The <TT>Xgrabsc</TT> and <TT>Xgrab</TT> programs (<TT>Xgrab</TT> was used to create most of the images in this book)
<TR>
<TD>xinclude.tgx
<TD>Programming header files for X Windows programming
<TR>
<TD>xlock.tgz
<TD>The <TT>xlock</TT> screen password-protection program
<TR>
<TD>xman1.tgz
<TD>Man pages for X
<TR>
<TD>xman3.tgz
<TD>More man pages for X
<TR>
<TD>xpaint.tgz
<TD>The <TT>Xpaint</TT> program for drawing under X
<TR>
<TD>xpm.tgz
<TD>The Xpm libraries, both shared and static
<TR>
<TD>xspread.tgz
<TD>The <TT>Xspread</TT> spreadsheet program
<TR>
<TD>xstatic.tgz
<TD>Static libraries for X
<TR>
<TD>xv.tgz
<TD>The XV image viewer
<TR>
<TD>xxgdb.tgz
<TD>The X Window front end for the GNU debugger
<TR>
<TD COLSPAN="2"><HR>
</TABLE>
<P>To extract these files, use the following command:
</P>
<!-- CODE SNIP //-->
<PRE>
opus: <B>gzip -d</B> filename.<B>tgz</B>
opus: <B>tar -xvf</B> filename.<B>tar</B>
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>NOTE: </B>The CD-ROM included with this book is as up-to-date as possible, given the time lag necessary for the production of the book. Nonetheless, a newer version of XFree86 may be available on the Internet by the time you read this, so check the necessary archive sites—this may save some headaches down the road.<HR></FONT>
</BLOCKQUOTE>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR>• <B>See</B> “Using FTP for Remote File Transfer,” <B>p. 580</B><HR></FONT>
</BLOCKQUOTE>
<H4 ALIGN="LEFT"><A NAME="Heading9"></A><FONT COLOR="#000077">Ensuring Hardware Support for XFree86</FONT></H4>
<P>Make sure that you have the proper hardware to run X Windows, the proper amount of memory, and the necessary disk space.
</P>
<P>You need about 21MB of disk space to install the XFree86 system and the X Windows applications provided. You need at least 16MB of virtual memory to run X Windows. <I>Virtual memory</I> is the combination of the physical RAM on your system and the amount of swap space you’ve allocated for Linux. You must have at least 4MB of physical RAM to run XFree86 under Linux, thus requiring a 12MB swap file. The more physical RAM you have, the better the performance of your XFree86 system will be.</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR>• <B>See</B> “Creating the Swap Partition,” <B>p. 72</B> (for Red Hat) and <B>p. 99</B> (for OpenLinux)<HR></FONT>
</BLOCKQUOTE>
<P>Next, you need a video card containing a video-driver chipset supported by XFree86. According to the March 15, 1995, release of Matt Welsh’s XFree86 HOWTO, the video cards with the chipsets listed in Tables 21.2 and 21.3 are supported by XFree86.
</P>
<TABLE WIDTH="100%"><CAPTION ALIGN=LEFT><B>Table 21.2</B> Non-Accelerated Chipsets Supported by XFree86
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TH WIDTH="30%" ALIGN="LEFT">Manufacturer
<TH WIDTH="70%" ALIGN="LEFT">Chipset(s)
<TR>
<TD COLSPAN="2"><HR>
<TR>
<TD>ATI
<TD>28800-4, 28800-5, 28800-6, 28800-a
<TR>
<TD>Advance Logic
<TD>AL2101
<TR>
<TD>Cirrus Logic
<TD>CLGD6205, CLGD6215, CLGD6225, CLGD6235
<TR>
<TD>Compaq
<TD>AVGA
<TR>
<TD>Genoa
<TD>GVGA
<TR>
<TD>MX
<TD>MX68000, MX680010
<TR>
<TD>NCR
<TD>77C22, 77C22E, 77C22E+
<TR>
<TD>OAK
<TD>OTI067, OTI077
<TR>
<TD VALIGN="TOP">Trident
<TD>TVGA8800CS, TVGA8900B, TVGA8900C, TVGA8900CL, TVGA9000, TVGA9000i, TVGA9100B, TVGA9200CX, TVGA9320, TVGA9400CX, TVGA9420
<TR>
<TD>Tseng
<TD>ET3000, ET4000AX, ET4000/W32
<TR>
<TD>Western Digital/Paradise
<TD>PVGA1
<TR>
<TD>Western Digital
<TD>WD90C00, WD90C10, WD90C11, WD90C24, WD90C30
<TR>
<TD>Video 7
<TD>HT216-32
<TR>
<TD COLSPAN="2"><HR>
</TABLE>
<P>
</P>
<TABLE WIDTH="100%"><CAPTION ALIGN=LEFT><B>Table 21.3</B> Accelerated Chipsets Supported by XFree86
<TR>
<TH COLSPAN="2"><HR>
<TR>
<TH WIDTH="30%" ALIGN="LEFT">Manufacturer
<TH WIDTH="70%" ALIGN="LEFT">Chipset(s)
<TR>
<TD COLSPAN="3"><HR>
<TR>
<TD VALIGN="TOP">Cirrus
<TD>CLGD5420, GLGD5420, CLGD5422, CLGD5424, CLGD5426, CLGD5428
<TR>
<TD>Western Digital
<TD>WD90C31
<TR>
<TD>ATI
<TD>Mach8, Mach32
<TR>
<TD>S3
<TD>86C911, 86C924, 86C801, 86C805, 86C805i, 86C928
<TR>
<TD COLSPAN="3"><HR>
</TABLE>
<H4 ALIGN="LEFT"><A NAME="Heading10"></A><FONT COLOR="#000077">Installing the X System with <I>pkgtool</I> for Slackware
</FONT></H4>
<P>To install X Windows, you need to log in as the superuser—that is, as root. Then you should record the location of the X Windows packages you want to install. These files are located on the accompanying Slackware CD-ROM in the /slackware directory. To access the X Windows packages from the enclosed CD-ROM, look in the following directories: /cdrom/slackware/x1, /cdrom/slackware/x2, and so on. Make sure you remember where these files are located.
</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>NOTE: </B>Because Linux mounts the CD-ROM in a directory, the files are relative to that mount point. So a typical Linux installation usually places or <TT><I>mounts</I></TT> the CD-ROM in a directory under the root directory named cdrom.<HR></FONT>
</BLOCKQUOTE>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR>• <B>See</B> “Mounting and Unmounting File Systems,” <B>p. 269</B><HR></FONT>
</BLOCKQUOTE>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="423-426.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="429-431.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 + -