Difference between revisions of "VNC"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
= Using VNC to use a remote desktop in the HDA =
+
== Using VNC to use a remote desktop in the HDA ==
  
 
Using [http://realvnc.com/ VNC] is useful if:
 
Using [http://realvnc.com/ VNC] is useful if:
Line 7: Line 7:
 
* 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
 
* 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
  
= What you need =
+
== What you need ==
  
 
* A server
 
* A server
 
* A client
 
* A client
  
= Client: Installation =
+
== Client: Installation ==
  
 
Download the client software and install:
 
Download the client software and install:
Line 20: Line 20:
 
* For Linux, you have the vncviewer package, available in most, if not all distros
 
* For Linux, you have the vncviewer package, available in most, if not all distros
  
= Server: Installation=  
+
== Server: Installation ==  
  
 
* To start the server in your HDA, you need install tigervnc-server rpm package:
 
* To start the server in your HDA, you need install tigervnc-server rpm package:

Revision as of 13:25, 22 October 2010

Using VNC to use a remote desktop in the HDA

Using VNC is useful if:

  • You would like a Linux desktop to the HDA remotely
  • You run your HDA headless (no monitor) and like to still use a desktop in it
  • 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

What you need

  • A server
  • A client

Client: Installation

Download the client software and install:

  • For Windows
  • For MAC
  • For Linux, you have the vncviewer package, available in most, if not all distros

Server: Installation

  • To start the server in your HDA, you need install tigervnc-server rpm package:
  • From the root user:
yum -y install tigervnc-server xinetd
chkconfig vncserver off
service vncserver stop
  • Create /etc/gdm/custom.conf file and add the following:
#GDM configuration storage
[xdmcp]
Enable=true
[chooser]
[security]
DisallowTCP=false
[debug]
  • Create /etc/xinetd.d/vnc1024 file and add the following (you can change the screen resolution by changing the geometry setting):
service vnc1024
{
disable = no
socket_type = stream
protocol = tcp
group = tty
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 1024×768 -depth 16 -once -fp /usr/share  /X11/fonts/misc -securitytypes=none
}
  • Edit /etc/services and comment out the two lines that start out with:
vnc-server
  • Add this line below the ones you jsut commented out:
vnc1024         5900/tcp                # VNC and GDM
  • Now restart the xinetd service
service xinetd restart
  • Run your VNC Client and enter your HDA IP address. You should now see your HDA Desktop login screen. If you don't see the login screen, a reboot may be required. This can be done via the dashboard or by executing the following:
reboot now


More detailed instructions are available here.


Troubleshooting for Vista

This helpful page has helped with blocking VNC