Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
{{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 ==
The Amahi 7 Express Disc 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 everytimechosen desktop if using Fedora 19 or later. To install after 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
Enter your password for You can now either reboot or boot into the root userGNOME/KDE Desktop:
yum -y groupinstall "GNOME Desktop Environment" startx
== To change If you wish to disable this in the future and/or want to uninstall the GUI run the following command. This will cause your Amahi HDA to boot into gnome ==init 3 again.
First and foremost you should be logged in as root ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
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:== Package Removal ==
# 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, You can also remove the GUI if you want to switch to another Desktop Environment or go back to a headless install. To do not have networking)# 3 - Full multiuser mode# 4 - unused# 5 - X11# 6 - reboot (Do NOT set initdefault to this)#id:3:initdefaultrun the following command:
As you can see the last line id:3:initdefault: specifies WHAT MODE (Graphical/Text/MultiUser etc) to boot the system into. The number {{Code|yum groupremove "3KDE" 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 Run the following command to remove X completely.{{Code|yum groupremove "5" - here, according to the Commented out options above tells the system to boot straight into X11 (X-Windows) i.e. the Graphical Mode.System"}}
That's it. We are done. Save the file and quit. Reboot your system for the setting to take effect.<i>NOTE: Replace "KDE" with "GNOME Desktop Environment" if you installed GNOME</i>-->
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== 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 [http://wiki.amahi.org/index.php/VNC these instructions].
12,424

edits