Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > bb2b3181a15385f4d6701135404d7ec7 > files > 45

drakx-autoinstall-doc-10.0.3-6mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
	<TITLE>Auto Install for Mandrakelinux</TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.0  (Linux)">
	<META NAME="AUTHOR" CONTENT="David Eastcott">
	<META NAME="CREATED" CONTENT="20040221;10385500">
	<META NAME="CHANGEDBY" CONTENT="David Eastcott">
	<META NAME="CHANGED" CONTENT="20040502;8530300">
	<META NAME="CLASSIFICATION" CONTENT="DrakX Auto Install Reference">
	<META NAME="KEYWORDS" CONTENT="DrakX Autoinstall">
	<STYLE>
	<!--
		@page { size: 8.5in 11in; margin: 1in }
		P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto }
		P.western { font-size: 10pt; font-weight: medium }
		P.text-body-indent-western { margin-left: 0.2in; font-size: 10pt; font-weight: medium }
		P.text-body-indent-cjk { margin-left: 0.2in }
		P.text-body-indent-ctl { margin-left: 0.2in }
		H1 { margin-bottom: 0.08in; page-break-before: always }
		H1.western { font-family: "Times" }
		H1.cjk { font-family: "Mincho"; font-size: 16pt }
		H1.ctl { font-family: "Lucidasans"; font-size: 16pt }
		H2 { margin-bottom: 0.08in; page-break-before: auto }
		H2.western { font-family: "Times"; font-style: normal }
		H2.cjk { font-family: "Mincho"; font-size: 14pt; font-style: italic }
		H2.ctl { font-size: 14pt; font-style: italic }
		H3 { margin-bottom: 0.08in; page-break-before: auto }
		H3.western { font-family: "Times" }
		H3.cjk { font-family: "Mincho" }
		H4 { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto }
		H4.western { font-family: "Times"; font-style: normal }
		H4.cjk { font-family: "Mincho"; font-size: 11pt; font-style: italic }
		H4.ctl { font-size: 11pt; font-style: italic }
		TD P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto }
		TD P.western { font-size: 10pt; font-weight: medium }
		TH P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto }
		TH P.western { font-size: 10pt; font-style: italic }
		TH P.cjk { font-style: italic }
		TH P.ctl { font-style: italic }
		P.headings-special-western { margin-top: 0.3in; margin-bottom: 0.1in; font-size: 10pt; font-weight: bold; page-break-after: avoid }
		P.headings-special-cjk { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid }
		P.headings-special-ctl { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid }
		P.closecode-western { margin-left: 1in; margin-bottom: 0in; font-family: "Courier", monospace; font-size: 9pt; font-weight: medium }
		P.closecode-cjk { margin-left: 1in; margin-bottom: 0in }
		P.closecode-ctl { margin-left: 1in; margin-bottom: 0in }
		P.coderef-western { margin-left: 1in; margin-bottom: 0.08in; font-family: "Courier", monospace; font-size: 10pt; font-weight: medium }
		P.coderef-cjk { margin-left: 1in; margin-bottom: 0.08in }
		P.coderef-ctl { margin-left: 1in; margin-bottom: 0.08in }
	-->
	</STYLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF">
<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR><TH COLSPAN="3" ALIGN="CENTER">
Auto Install for Mandrakelinux</TH></TR><TR>
<TD WIDTH="10%" ALIGN="LEFT" VALIGN="BOTTOM">
<A HREF="section4-33.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD>
<TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM">
<A HREF="section5.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%">
<H2 CLASS="western" STYLE="page-break-before: always"><A NAME="X"></A>
X</H2>
<P CLASS="western">The following are a collection of observations,
rather than a definitive reference guide, to installing and
customizing the X environment for your equipment.</P>
<H3 CLASS="western"><A NAME="No_X"></A>No X</H3>
<P CLASS="western">For those of you who are not installing or do not
want X, make sure that the <FONT FACE="Courier, monospace">'X' =&gt;
{...}</FONT>, is not present in the <FONT FACE="Courier, monospace">auto_inst.cfg</FONT>
file.  Also, make sure that you do not install any packages which
have <FONT FACE="Courier, monospace">XFree86*</FONT> as a dependancy.
 Or you can use : 
</P>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=256*>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western">'X' =&gt; { 'disabled' =&gt; 1 },</P>
		</TD>
	</TR>
</TABLE>
<P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.08in">and
not worry about which packages are installed.  
</P>
<P CLASS="western">Please note, that even though you may have
installed the <FONT FACE="Courier, monospace">XFree86*</FONT>
packages, window manager packages, and /or X based applications, X
will not be configured correctly.  So don't forget and type <FONT FACE="Courier, monospace">startx</FONT>
at the command prompt!</P>
<P CLASS="western">Perhaps a better solution is to install X, then
use the <A HREF="section4-25.html#postInstall_and_postInstallNonRooted"><B><I>'postInstall'</I></B></A>
option to change the default run level from 5 to 3 as follows:</P>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=256*>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western" STYLE="margin-left: 1.2in">'postInstall'
			=&gt; &quot;</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western"># change run level from 5 to 3</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western">cat /etc/inittab | sed
			's/^id:5:init/id:3:init/' &gt; /etc/inittab1</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western">mv -f /etc/inittab1 /etc/inittab</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6">
			<P CLASS="closecode-western">&quot;</P>
		</TD>
	</TR>
</TABLE>
<H3 CLASS="western"><A NAME="Default_X"></A>Default X</H3>
<P CLASS="western" STYLE="margin-bottom: 0.15in">If you are
installing on a relatively new computer using a newer and supported
graphics card, then the install program will probably be able to
identify what it needs with only a couple hints as follows:</P>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=256*>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western">'X' =&gt; {</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western"><BR>
			</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'resolution_wanted'
			=&gt; '1024x768',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'default_depth'
			=&gt; '32'</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western">},</P>
		</TD>
	</TR>
</TABLE>
<TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=266>
	<COL WIDTH=581>
	<TR VALIGN=TOP>
		<TD WIDTH=266 HEIGHT=65>
			<P CLASS="western"><FONT FACE="Courier, monospace">'resolution_wanted'</FONT></P>
		</TD>
		<TD WIDTH=581>
			<P CLASS="western" STYLE="margin-left: 0in">this may be one of:
			<FONT FACE="Courier, monospace">640x480</FONT><FONT FACE="Times, serif">,
			</FONT><FONT FACE="Courier, monospace">800x600</FONT><FONT FACE="Times, serif">,
			</FONT><FONT FACE="Courier, monospace">1024x768</FONT><FONT FACE="Times, serif">,
			</FONT><FONT FACE="Courier, monospace">1152x864</FONT><FONT FACE="Times, serif">,
			</FONT><FONT FACE="Courier, monospace">1280x1024</FONT><FONT FACE="Times, serif">,</FONT><FONT FACE="Courier, monospace">
			1400x1050</FONT><FONT FACE="Times, serif">, </FONT><FONT FACE="Courier, monospace">1600x1200</FONT><FONT FACE="Times, serif">,
			</FONT><FONT FACE="Courier, monospace">1920x1440</FONT><FONT FACE="Times, serif">,
			or </FONT><FONT FACE="Courier, monospace">2048x1536</FONT>;  its
			very dependent on the type video card that you have installed and
			the monitor that is used.</P>
		</TD>
	</TR>
	<TR VALIGN=TOP>
		<TD WIDTH=266>
			<P CLASS="western"><FONT FACE="Courier, monospace">'default_depth'</FONT></P>
		</TD>
		<TD WIDTH=581>
			<P CLASS="western" STYLE="margin-left: 0in">this may be one of: <FONT FACE="Courier, monospace">8</FONT>,
			<FONT FACE="Courier, monospace">15</FONT>, <FONT FACE="Courier, monospace">16</FONT>,
			<FONT FACE="Courier, monospace">24</FONT> or <FONT FACE="Courier, monospace">32</FONT>;
			 its very dependent on the type video card that you have
			installed.</P>
		</TD>
	</TR>
</TABLE>
<P CLASS="western"><BR><BR>
</P>
<H3 CLASS="western"><BR><BR>
</H3>
<H3 CLASS="western" STYLE="page-break-before: always"><A NAME="Manual_X"></A>
Manual X</H3>
<P CLASS="western">Manual configuration of your Card and Monitor
values will require that you reference the files:
<FONT FACE="Courier, monospace">Mandrake/mdkinst/usr/share/ldetect-1st/Cards+.gz</FONT>
and <FONT FACE="Courier, monospace">MonitorsDB.gz</FONT>  for some
information.  And possibly the manufactures documentation too.</P>
<P CLASS="western">If the <FONT FACE="Courier, monospace">'ddcxinfos'</FONT>
command does not work with your video card, or it returns incorrect
values, then you can preset or over-ride the basic values as a first
step, as follows:</P>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
	<COL WIDTH=256*>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western">'X' =&gt; {</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western"><BR>
			</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'resolution_wanted'
			=&gt; '1024x768',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'default_depth'
			=&gt; '32',</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in"><BR>
			</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'card' =&gt;
			{</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.4in">'type' =&gt;
			'ATI Mach64'</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">},</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">'monitor' =&gt;
			{</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.4in">'EISA_ID' =&gt;
			'aocd556'</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western" STYLE="margin-left: 1.2in">}</P>
		</TD>
	</TR>
	<TR>
		<TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6ff">
			<P CLASS="coderef-western">},</P>
		</TD>
	</TR>
</TABLE>
<P CLASS="western" STYLE="margin-top: 0.15in; margin-bottom: 0.08in">The
value for <FONT FACE="Courier, monospace">'type'</FONT> is extracted
from the Cards+ file from the NAME field in the section appropriate
to your card.  The <FONT FACE="Courier, monospace">'EISA_ID'</FONT>
value is obtained from the MonitorsDB file, <FONT FACE="Courier, monospace">&lt;EISA
ID&gt;</FONT> field and all letters must be LOWERCASE .</P>
<P CLASS="western">Anything beyond this and you should really use the
<A HREF="section5.html#Replay_Install"><B><I>Replay Install</I></B></A> and add
the selection <FONT FACE="Courier, monospace">'Summary'</FONT>. 
</P>
<H3 CLASS="western"><A NAME="Multi-Head_X"></A>Multi-Head X</H3>
<P CLASS="western">For this one you really want to use the <A HREF="section5.html#Replay_Install"><B><I>Replay
Install</I></B></A> and add the selection <FONT FACE="Courier, monospace">'Summary'</FONT>.
</P>
<P CLASS="western"><BR><BR>
</P>
<P CLASS="western" STYLE="margin-bottom: 0.15in">An interesting
feature, when XFree86-4 is used, is the ability to use both a regular
mouse device and a Wacom graphics tablet.  See the following
references for more details:</P>
<P CLASS="western"><A HREF="http://www.linuxdoc.org/HOWTO/Wacom-Tablet-HOWTO.html">http://www.linuxdoc.org/HOWTO/Wacom-Tablet-HOWTO.html</A></P>
<P CLASS="western"><A HREF="http://www.linuxdoc.org/HOWTO/mini/Wacom-USB-mini-HOWTO.html">http://www.linuxdoc.org/HOWTO/mini/Wacom-USB-mini-HOWTO.html</A></P>
<P CLASS="western"><A HREF="http://www.lepied.com/xfree86">http://www.lepied.com/xfree86</A></P>
<P CLASS="headings-special-western">Related Option Entries:</P>
<P CLASS="western"><A HREF="section4-20.html#mouse"><B><I>mouse</I></B></A></P>
<P CLASS="western"><BR><BR>
</P>
<P CLASS="western"><BR><BR>
</P>
<P CLASS="western" STYLE="page-break-before: always"><BR><BR>
</P>
<P CLASS="western"><BR><BR>
</P>
<HR ALIGN="LEFT" WIDTH="100%">
<TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP"><A HREF="section4-33.html">Prev</A></TD><TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"><A HREF="index.html">Home</A></TD>
<TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP"><A HREF="section5.html">Next</A></TD></TR>
<TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">useSupermount</TD>
<TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP">&nbsp;</TD>
<TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">Replay Install</TD></TR></TABLE>
</BODY>
</HTML>