GUI Install for Express Disc

From Amahi Wiki
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 @gnome​


For the users who want KDE

bash code
​yum -y install @kde-desktop​


Configure Your Display

You may also need to configure your display:

bash code
​Xorg :1 -configure​


Note: If you get command not found, that means you have a newer version of X that does not require a config of the system, if that is the case please skip this step and the next and move on.

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​


Force the GUI on Boot

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​


If you wish to disable this in the future and/or want to uninstall the GUI run the following command. This will cause your HDA to boot into init 3 again.

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


Package Removal

You can also remove the GUI if you want to switch to another Desktop Environment or go back to a headless install. To do this run the following command:

bash code
​yum groupremove "KDE"


Run the following command to remove X completely.

bash code
​yum groupremove "X Windows System"


NOTE: Replace "KDE" with "GNOME Desktop Environment" if you installed GNOME

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