Difference between revisions of "GUI Install for Express Disc"

From Amahi Wiki
Jump to: navigation, search
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{NeedsUpdate}}'''
+
{{MessageBox|
Appears to be Fedora 12 Guidance'''
+
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 ==
Line 10: Line 16:
 
Become root:
 
Become root:
  
{{Code|su -}}
+
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
  
Enter your password for the root user
+
yum -y install @gnome
  
{{Code|yum -y groupinstall "X Window System" "GNOME Desktop Environment"}}
+
For the users who want Mate, enter
  
For the users who want KDE
+
yum -y install @mate
  
{{Code|yum -y groupinstall "X Windows System" KDE}}
+
For the users who want XFCE, enter
  
== Optional ==
+
yum -y install @xfce
  
You can remove the packages with:
+
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
  
    i.e. yum groupremove KDE
+
yum group list
  
 
== Configure Your Display ==
 
== Configure Your Display ==
  
You may also need to configure your display:
+
If you used the above method of installing a graphical desktop then you will not need to configure X11.
 
 
    yum -y install system-config-display
 
 
 
Then run system-config-display as root.
 
  
You can then boot into the GNOME/KDE Desktop:
+
== Force GUI on Boot ==
  
    startx
+
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.
  
== To change your Amahi HDA to boot into gnome ==
+
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
  
First and foremost you should be logged in as root.
+
You can now either reboot or boot into the GNOME/KDE Desktop:
  
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:
+
startx
  
id:3:initdefault:
+
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.
  
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.
+
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
  
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.
+
<!--== Package Removal ==
  
That's it. We are done. Save the file and quit. Reboot your system for the setting to take effect.
+
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:
  
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...
+
{{Code|yum groupremove "KDE"}}
  
* Default runlevel. The runlevels used by RHS are:
+
Run the following command to remove X completely.
* 0 - halt (Do NOT set initdefault to this)
+
{{Code|yum groupremove "X Windows System"}}
* 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)
 
  
 +
<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