Difference between revisions of "GUI Install for Express Disc"

From Amahi Wiki
Jump to: navigation, search
Line 32: Line 32:
 
== Force the GUI on Boot ==
 
== Force the GUI on Boot ==
  
Next we need to make sure it boots into init 5. Run the following command to accomplish this:
+
Next we need to make sure it boots into init 5. This used to be done by editing the inittab to use 5 instead of 3 as it's default. In Fedora 19 and above the inittab is not used. Instead, issue command to make the graphical user interface the default.
  
{{Code|sed -i 's/id:3:initdefault:/id:5:initdefault:/g' /etc/inittab}}
+
{{Code|ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target}}
  
You can either reboot or boot into the GNOME/KDE Desktop:
+
You can now either reboot or boot into the GNOME/KDE Desktop:
  
 
{{Code|startx}}
 
{{Code|startx}}
Line 42: Line 42:
 
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.
 
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.
  
{{Code|sed -i 's/id:5:initdefault:/id:3:initdefault:/g' /etc/inittab}}
+
{{Code|ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target}}
  
 
== Package Removal ==
 
== Package Removal ==

Revision as of 23:34, 9 February 2014

Msgbox.update.png Update Needed
The contents of this page have become outdated or irrelevant. Please consider updating it.

Synopsis

The Amahi 7 Express CD install does not install the graphical user interface gnome. This Guide instructs you on how to install the chosen desktop if using Fedora 19 or later. 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. Now you will enter the command that will install the various packages to create a usable GUI. For users who would like Gnome 3, enter

bash code
​yum -y group install "GNOME Desktop"


For the users who want KDE, enter

bash code
​yum -y group install "KDE Plasma Workspaces"


For the users who want XFCE, enter

bash code
​yum -y group install "Xfce Desktop"


There are several other GUI desktop environments that are easy to install this way. To list all the available environment groups enter this in the command line

bash code
​yum group list​


Configure Your Display

If you used the above method of installing a graphical desktop then you will not need to configure X11.

Force the GUI on Boot

Next we need to make sure it boots into init 5. This used to be done by editing the inittab to use 5 instead of 3 as it's default. In Fedora 19 and above the inittab is not used. Instead, issue command to make the graphical user interface the default.

bash code
​ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target​


You can now 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
​ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target​


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