Changes

From Amahi Wiki
Jump to: navigation, search
1,061 bytes removed ,  01:11, 8 May 2016
no edit summary
{{MessageBox|backgroundcolor = #FBB|
image =Warning.png|
heading =WARNING|
message = '''NOTE:''' This is for Fedora-based systems ONLY.<br />Guidance may not work for Amahi 7 or greater. Sorry, but if you break your HDA we cannot provide support}}{{NeedsUpdate}}
 
 
----
 
 
<div style="border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;">
'''NOTE: there is now a ''' The one-click [httphttps://www.amahi.org/apps/vnc VNC App]'''has been discontinued for Amahi 7 or greater. The reason is that it pulls a lot of packages, including desktop and that breaks DNS in Fedora.</div><br /div>
:'''NOTE:''' See [[TigerVNC]] for Amahi 8/9 (Fedora 21/23) guidance.__TOC__ = Using VNC to use a remote desktop in the HDA =
Using [http://realvnc.com/ VNC] is useful if:
There are various ways to get the server going in your HDA. All of them require the server software.
# Amahi [http://www.amahi.org/apps/VNC VNC]: one-click installapplication.# Manually as described below (notes may require some revision).
=== Manual Install ===
* Complete the steps in [[GUI_Install_for_Express_Disc|Express Disc Desktop]] guidance (Amahi 7 ONLY).
 
* As root, install the server:
== Method 1 ==
* Open a terminal, become root and install the VNC server (tigervnc-server) as stated in the Manual Install section.
When the install has completed, press ctrl-D to end the root session. Leave the terminal open, or open one now.
*The following commands are entered as '''User'''.
Starting applications specified in /home/user/.xauthority
Log file is /home/user/.vnc/host.localdomain:1.log
 
* You can edit the configuration files using your choice of editor. Nano is used below.
Press the Y key. The prompt will change, showing you the file name.
Press the enter key, this will store your change and exit Nano.
 
*The following commands are entered as '''Root'''.
* It does involve the dreaded CLI.
* Since my HDA does not get rebooted often, this is not a huge problem
 
== Ubuntu Method ==
 
This is just what I found on how to install a VNC for Ubuntu 12.04LTC after figuring out that TigerVNC (the above methods) do not work for Ubuntu. The method is copied from [http://coddswallop.wordpress.com/2012/05/09/ubuntu-12-04-precise-pangolin-complete-vnc-server-setup/ here]. This will result in the gnome GUI, not Unity.
 
* First we need to update our repositories and install gnome.
 
sudo apt-get update
sudo apt-get install gnome-core gnome-session-fallback
 
* Next we install VNC4Server
 
sudo apt-get install vnc4server
 
* We need to test the VNC, and then close the session.
 
vncserver
vncserver -kill :1
 
* We open the startup file that we need to edit to make gnome show up in the VNC, and not just a terminal:
 
cp .vnc/xstartup .vnc/xstartup.bak
nano .vnc/xstartup
 
* We edit the file to uncomment the second line, and add "gnome-session -session=gnome-classic &". So it will look like this:
 
{{Code|
#!/bin/sh
 
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
gnome-session –session=gnome-classic &
 
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#x-window-manager &
}}
 
* And finally we quit nano and save the file.
ctrl + x
y (for confirmation that yes, we do want the file to be overwritten with the new information)}}
= General Instructions =
 
More detailed instructions are available [http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/ here].
This helpful page has helped with [http://www.windowsreference.com/internet-explorer/windows-has-blocked-this-software-because-it-cant-verify-the-publisher/ blocking VNC]
 
= Images for the App =
[[Image:VNC-logo.png]]
[[Image:VNC-sshot.png]]
12,424

edits