Changes

From Amahi Wiki
Jump to: navigation, search
587 bytes added ,  18:16, 7 May 2016
no edit summary
image =Warning.png|
heading =WARNING|
message = Proceed with extreme caution. This guidance has not been tested nor will be supported by Amahi. Continuing could break your HDA and a reinstall from scratch may be necessary.}}<div style="border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;">'''NOTE:''' The one-click [https://www.amahi.org/apps/vnc VNC App] has been discontinued for Amahi 7 for or greater. The reason is that it pulls a lot of packages, including desktop and that breaks DNS in Fedora 19.</div><br />Maintenance Support ONLY!}}
__TOC__
= Desktop Installation Amahi 8 (Fedora 21) Desktop Installation /9 =
For TigerVNC to work a Desktop Environment must be installed even if the HDA does not boot to the selected Desktop Environment.
This installation guidance is based on a clean installation of Amahi 8or 9, installing Fedora 21 using the [https://wiki.amahi.org/index.php/[Amahi_8_Install |Fedora 21 Server DVD] and following the installation instructions ] or [[https://wiki.amahi.org/index.php/Fedora_21_Server_Install Amahi_9_Install|Fedora 21 23 Server Install DVD]] install methodThe Cinnamon Desktop Environment was selected as it operates well on low spec computers. <div style="border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;">'''NOTE: there is a one-click [http://www.amahi.org/apps/vnc VNC App] in BETA'''</div> 
=== Cinnamon Desktop Environment =(Amahi 8/Fedora 21) ==
* As root, install Cinnamon Desktop Environment:
systemctl set-default graphical.target
 
== LXDE (Amahi 9/Fedora 23) ==
 
* As root, install LXDE Desktop Environment:
 
dnf group install lxde-desktop
= TigerVNC Server Installation =
 
* These steps are the same for Amahi 8 and Amahi 9
* It is recommended to only use TigerVNC on a secure network or via a VPN.
yum install tigervnc-server
Note: For Fedora 23, use dnf instead of yum
 
*Once install we need to create new configuration file, vncserver@.service is only a template file, from this we need t to create a the following config file.
cp /lib/systemd/system/vncserver@.service /lib/systemd/system/vncserver@:1.service
= Password Setup =
*These are universal for both Amahi 8 and 9
* Set the VNC password for the user as defined in the vncserver@:1.service, this will create the .VNC folder for each user and place a file called passwd inside the folder.
= Setup Desktop Environment Access =
* Modification of the ~/.vnc/xstartup will be required to run the Cinnamon Desktop-Environment. At this point the xstartup file doesn't exist so we do the following. 
For this example we need to login as the user.
nano ~/.vnc/xstartup
Modify == Amahi 8 (Fedora 21) ==For the Cinnamon Desktop on Amahi 8 (Fedora 21), modify the xstartup to the below.
#!/bin/sh
#
exec /usr/bin/cinnamon-session
 
== Amahi 9 (Fedora 23) ==
For the LXDE Desktop on Amahi 9 (Fedora 23), modify the xstartup to the below.
 
#!/bin/sh
#
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
lxterminal &
/usr/bin/lxsession -s LXDE &lxterminal &
= Starting Tiger VNC =
[[File:UltraVNC_Screen1.png]]
If connection is successful it will as ask for a password, which is the password entered from the setup above.
12,424

edits