<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nsafreak</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nsafreak"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Nsafreak"/>
	<updated>2026-05-05T12:03:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=VNC&amp;diff=22801</id>
		<title>VNC</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=VNC&amp;diff=22801"/>
		<updated>2010-11-13T20:02:10Z</updated>

		<summary type="html">&lt;p&gt;Nsafreak: Made correction to server_args in Installation Method 2, had a space where one should not have been in the path to the X11 fonts&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Using VNC to use a remote desktop in the HDA (Fedora 12) ==&lt;br /&gt;
&lt;br /&gt;
Using [http://realvnc.com/ VNC] is useful if:&lt;br /&gt;
&lt;br /&gt;
* You would like a Linux desktop to the HDA remotely&lt;br /&gt;
* You run your HDA headless (no monitor) and like to still use a desktop in it&lt;br /&gt;
* You would like to use a GUI to configure printer(s) or have a scanner or other device that requires a desktop program to configure and the machine is headless&lt;br /&gt;
&lt;br /&gt;
== What you need ==&lt;br /&gt;
&lt;br /&gt;
* A server&lt;br /&gt;
* A client&lt;br /&gt;
&lt;br /&gt;
== Client: Installation ==&lt;br /&gt;
&lt;br /&gt;
Download the client software and install:&lt;br /&gt;
&lt;br /&gt;
* Windows:  [http://realvnc.com RealVNC], [http://www.uvnc.com UltraVNC], [http://www.tightvnc.com TightVNC]&lt;br /&gt;
* MAC:  [http://cotvnc.sourceforge.net/ Chicken of the VNC]&lt;br /&gt;
* For Linux, you have the vncviewer package, available in most, if not all distros.  For Fedora 12, do the following as '''root''' user:&lt;br /&gt;
 yum -y install tigervnc&lt;br /&gt;
&lt;br /&gt;
== Server: Installation - Method 1 == &lt;br /&gt;
* To start the server in your HDA, you need install tigervnc-server rpm package:&lt;br /&gt;
* From the '''root''' user:&lt;br /&gt;
 yum -y install tigervnc-server&lt;br /&gt;
 chkconfig vncserver on&lt;br /&gt;
 service vncserver start&lt;br /&gt;
* Edit /etc/sysconfig/vncservers and change lines as follows (username is your linux user for the VNC session):&lt;br /&gt;
 VNCSERVERS=&amp;quot;2:username&amp;quot;&lt;br /&gt;
 VNCSERVERARGS[2]=&amp;quot;-geometry 1024x768 -nolisten tcp -localhost&amp;quot;&lt;br /&gt;
* Edit /home/username/.vnc/xstartup and make the end of the file look as follows:&lt;br /&gt;
 # twm &amp;amp;&lt;br /&gt;
 startx &amp;amp;&lt;br /&gt;
* Stop and start vncserver:&lt;br /&gt;
 service vncserver stop&lt;br /&gt;
 service vncserver start&lt;br /&gt;
* Start VNC on reboot (do this as your linux user for the VNC session):&lt;br /&gt;
 crontab -e&lt;br /&gt;
 @reboot vncserver&lt;br /&gt;
* Run your VNC Client and enter hda:1 as the host/IP address.  You should now see your HDA Desktop screen.&lt;br /&gt;
&lt;br /&gt;
== Server: Installation - Method 2 == &lt;br /&gt;
* To start the server in your HDA, you need install tigervnc-server rpm package:&lt;br /&gt;
* From the '''root''' user:&lt;br /&gt;
 yum -y install tigervnc-server xinetd&lt;br /&gt;
 chkconfig vncserver off&lt;br /&gt;
 service vncserver stop&lt;br /&gt;
* Create /etc/gdm/custom.conf file and add the following:&lt;br /&gt;
 #GDM configuration storage&lt;br /&gt;
 [xdmcp]&lt;br /&gt;
 Enable=true&lt;br /&gt;
 [chooser]&lt;br /&gt;
 [security]&lt;br /&gt;
 DisallowTCP=false&lt;br /&gt;
 [debug]&lt;br /&gt;
* Create /etc/xinetd.d/vnc1024 file and add the following (you can change the screen resolution by changing the geometry setting):&lt;br /&gt;
 service vnc1024&lt;br /&gt;
 {&lt;br /&gt;
 disable = no&lt;br /&gt;
 socket_type = stream&lt;br /&gt;
 protocol = tcp&lt;br /&gt;
 group = tty&lt;br /&gt;
 wait = no&lt;br /&gt;
 user = nobody&lt;br /&gt;
 server = /usr/bin/Xvnc&lt;br /&gt;
 server_args = -inetd -query localhost -geometry 1024×768 -depth 16 -once -fp /usr/share/X11/fonts/misc -securitytypes=none&lt;br /&gt;
 }&lt;br /&gt;
* Edit /etc/services and comment out the two lines as listed below:&lt;br /&gt;
 #vnc-server      5900/tcp                # VNC Server&lt;br /&gt;
 #vnc-server      5900/udp                # VNC Server&lt;br /&gt;
* Add this line below the two lines you commented out and save the changes:&lt;br /&gt;
 vnc1024         5900/tcp                # VNC and GDM&lt;br /&gt;
* Now restart the xinetd service&lt;br /&gt;
 service xinetd restart&lt;br /&gt;
* Run your VNC Client and enter your HDA IP address for host/IP address.  You should now see your HDA Desktop login screen.  If you don't see the login screen, a reboot of the HDA may be required.  This can be done via the dashboard or by executing the following as '''root''' user:&lt;br /&gt;
 reboot now&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''NOTE:'''  More detailed instructions are available [http://www.g-loaded.eu/2005/11/10/configure-vnc-server-in-fedora/ here].&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting for Vista ==&lt;br /&gt;
&lt;br /&gt;
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]&lt;/div&gt;</summary>
		<author><name>Nsafreak</name></author>
		
	</entry>
</feed>