Difference between revisions of "GUI Install for Express Disc"

From Amahi Wiki
Jump to: navigation, search
 
(51 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
{{MessageBox|
 +
backgroundcolor = #faa|
 +
image =Warning.png|
 +
heading =WARNING|
 +
message = Amahi 7 for Fedora 19<br />Maintenance Support ONLY!}}
 +
<div style="border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;">
 +
'''NOTE:''' The one-click [http://www.amahi.org/apps/vnc VNC App] has become unstable and moved to ''ALPHA'' status for Amahi 7 until we can resolve the issues.</div>
 +
 +
 
== Synopsis ==
 
== 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:
+
The Amahi 7 Express Disc 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. After Amahi Express has finished installing, execute the following commands:
  
 
== Commands ==
 
== Commands ==
  
"su -"
+
Become root:
 +
 
 +
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
 +
 
 +
yum -y install @gnome
 +
 
 +
For the users who want Mate, enter
 +
 
 +
yum -y install @mate
 +
 
 +
For the users who want XFCE, enter
 +
 
 +
yum -y install @xfce
 +
 
 +
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
 +
 
 +
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 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.
  
Enter your password for the root user
+
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
  
yum -y groupinstall "GNOME Desktop Environment"
+
You can now either reboot or boot into the GNOME/KDE Desktop:
yum -y install Xorg
 
  
== To change your Amahi HDA to boot into gnome ==
+
startx
  
First and foremost you should be logged in as root.
+
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.
  
    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:
+
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
  
# Default runlevel. The runlevels used by RHS are:
+
<!--== Package Removal ==
# 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)
 
#
 
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.
+
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:
  
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.
+
{{Code|yum groupremove "KDE"}}
  
That's it. We are done. Save the file and quit. Reboot your system for the setting to take effect.
+
Run the following command to remove X completely.
 +
{{Code|yum groupremove "X Windows System"}}
  
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.... smile.gif
+
<i>NOTE: Replace "KDE" with "GNOME Desktop Environment" if you installed GNOME</i>-->
  
 
== Automatic Login ==
 
== Automatic Login ==

Latest revision as of 00:54, 15 September 2015

Warning.png WARNING
Amahi 7 for Fedora 19
Maintenance Support ONLY!


NOTE: The one-click VNC App has become unstable and moved to ALPHA status for Amahi 7 until we can resolve the issues.


Synopsis

The Amahi 7 Express Disc 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. After Amahi Express has finished installing, execute the following commands:

Commands

Become root:

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

yum -y install @gnome

For the users who want Mate, enter

yum -y install @mate

For the users who want XFCE, enter

yum -y install @xfce

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

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 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.

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

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

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.

ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target


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