GUI Install for Express Disc

From Amahi Wiki
Revision as of 23:54, 25 August 2011 by Bk (talk | contribs)
Jump to: navigation, search

Synopsis

The Amahi Express install does not install the graphical user interface gnome. This Guide instructs you on how to install the X Server as well as to make the X Server boot everytime. To install after Amahi Express has finished installing execute the following commands:

Commands

Become root:

bash code
​su -​


Enter your password for the root user

bash code
​yum -y groupinstall "X Window System" "GNOME Desktop Environment"


For the users who want KDE

bash code
​yum -y groupinstall "X Windows System" "KDE"


Optional

You can remove the packages i.e.:

bash code
​yum groupremove "KDE"


Configure Your Display

You may also need to configure your display:

bash code
​Xorg :1 -configure​


Then we need to move the new config file so Xorg can read it.

bash code
​cp /root/xorg.conf.new /etc/X11/xorg.conf​


Next we need to make sure it boots into init 5. Run the following command to accomplish this:

bash code
​sed -i 's/id:3:initdefault:/id:5:initdefault:/g' /etc/inittab​


You can either reboot or boot into the GNOME/KDE Desktop:

bash code
​startx​


To change your Amahi HDA to boot into gnome

First and foremost you should be logged in as root.

The /etc folder on these Linux installations contain a file named inittab - mind you no extensions to the filename. This file contains lots of important parameters & runlevel configurations that the kernel reads while booting and configures the system accordingly. Open this file in your favourite editor and scroll down just a little bit say, till the 18th-20th line (usually) till you find something similar to this:

id:3:initdefault:

As you can see the last line id:3:initdefault: specifies WHAT MODE (Graphical/Text/MultiUser etc) to boot the system into. The number "3" which according to the options - is Full multiuser mode - involving all the networking features of Linux, but in a non-graphical environment.

Change this value to "5" - here, according to the Commented out options above tells the system to boot straight into X11 (X-Windows) i.e. the Graphical Mode.

That's it. We are done. Save the file and quit. Reboot your system for the setting to take effect.

WARNING: When you are editing these critical system files in Linux, be absolutely sure of WHAT you are editing. One SINGLE MISTAKE can render the whole system non-bootable. These are as dangerous as (if not more) Windows Registry. So there...

  • Default runlevel. The runlevels used by RHS are:
  • 0 - halt (Do NOT set initdefault to this)
  • 1 - Single user mode
  • 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
  • 3 - Full multiuser mode
  • 4 - unused
  • 5 - X11
  • 6 - reboot (Do NOT set initdefault to this)


Automatic Login

If you want a specified user to login (if you are using MythTV or some other app which requires the X Server) then please do so with these instructions.

Cheers!

The Amahi Team