How To Install A Graphical Environment During A Linux Scripted Install
Article: 99
Applies to: Release 3.00 or greater
For Red Hat Linux, to install GNOME or KDE within the kickstart file:
| 1. |
On the FTP Server under .\lib\osconfig\yyyy where yyyy
is the operating system shortcut name, locate the appropriate kickstart file.
|
| 2. |
Within the kickstart file, locate the appropriate package text line and
remove the # (comment symbol) from the beginning of the line.
Package text lines may be:
#@ GNOME Desktop Environment
#@ KDE (K Desktop Environment)
or
#@ gnome-desktop
#@ kde-desktop
|
| 3. |
Add or modify the xconfig command, with the parameters
--startxonboot and --defaultdesktop gnome or
--defaultdesktop kde.
For example,
xconfig --startxonboot --defaultdesktop gnome
or
xconfig --startxonboot --defaultdesktop kde
|
For SUSE LINUX, to install GNOME or KDE within the control file:
| 1. |
On the FTP Server under .\lib\osconfig\yyyy where yyyy
is the operating system shortcut name, locate the appropriate control file.
|
| 2. |
Within the control file, locate the <configure>
text line and add the following after the text line:
<x11>
<color_depth config:type="integer">16</color_depth>
<configure_x11 config:type="boolean">true</configure_x11>
<display_manager>kdm</display_manager>
<enable_3d config:type="boolean">false</enable_3d>
<monitor>
<display>
<frequency config:type="integer">60</frequency>
<height config:type="integer">600</height>
<width config:type="integer">800</width>
</display>
<monitor_device>800x600@60HZ</monitor_device>
<monitor_vendor>VESA</monitor_vendor>
</monitor>
<resolution>800x600</resolution>
<window_manager>kde</window_manager>
</x11>
NOTE: For GNOME installation, replace kdm with gdm on the
<display_manager> line, and kde with gnome
on the <window_manager> line.
|
| 3. |
Locate the <software> text line and add the pattern file,
<pattern>kde</pattern>,
within the <patterns config:type="list"> section.
NOTE: For GNOME installation, replace kde with gnome.
|
| 4. |
To change the runlevel, locate the runlevel text line and change
the <default>3</default> to <default>5</default>.
|
|