VNC server with UDOO


Welcome to this Remote Desktop Tutorial. As you may imagine, what we are going to achieve is all about convenience. Some of you could be pretty familiar with Remote Desktop Utilities, for the ones who aren’t, just think that you can use a device (in this case, UDOO) like you were sitting in front of that, using it’s keyboard and mouse and looking at its screen, except you can do that also from the other part of the world.

You don’t need to be a globetrotter then to enjoy this capability, Remote Desktop is also very useful in home situations, when simply you just want to use UDOO without connecting a mouse, a monitor and a keyboard to it.

Open source software gives us a chance to achieve this result without getting too much in troubles, here is what you need to do to have it running.

IMPORTANT: VNC Server is already set up and configured in UDOOBuntu Operating system, so there’s no need to follow this guide in this case. You’ll be able to connect via VNC just by connecting to:

IP:5901

With RealVNCViewer or with the awesome VNC Chrome Extension, to use your UDOO directly from your browser.

 

If you’re not using UDOOBuntu, here’s how to set up VNC in systems like debian:
First, let’s configure UDOO’s Ubuntu operating system

 

We’ll rely on tightvncserver, let’s install it from the terminal:

sudo apt-get update
sudo apt-get install tightvncserver

We’ll have our Server Installed. Remote Desktop needs a server, installed on Udoo, which enables other clients that are the devices we’ll use to access to Udoo’s remote Desktop.

Now, to start the server, run:

vncserver :1 -geometry 800x600 -depth 24

You’ll be asked to protect your VNC Server with a password, insert it twice and you are done!
The server should be up and running, and you should be able to connect with your clients.

If you wish to start the VNC server with the system, avoiding to launch the above command every time you need it, just place the following in /etc/rc.local

sudo nano /etc/rc.local

If you want to know how to install nano click here

vncserver :1 -geometry 800x600 -depth 24

before

exit 0

remember to place an “&

Save with “ctrl+x” and exit

Now you just need to download a client app and use UDOO’s IP to connect to it, followed by the VNC port ( default 5901) Let’s see how:

 

On Windows:

 

  • Download and install RealVNC Viewer
  • Once opened, insert UDOO’s IP followed by :5901 (e.g. 192.168.0.105:5901)
  • Insert the password you previously set on the Server and hit Connect
  • Done! Browse UDOO remotely with your Windows machine

 

 

On Mac OSX:

 

  • Download and install RealVNC Viewer
  • Once opened, insert UDOO’s IP followed by :5901 (e.g. 192.168.0.105:5901)
  • Insert the password you previously set on the Server and hit Connect
  • Done! Browse UDOO remotely with your Mac

 

 

On Linux Ubuntu:

 

  • Install via terminal xvnc4viewer
    sudo apt-get update
    sudo apt-get install xvnc4viewer
  • Launch xvncviewer with
    sudo xvncviewer
  • Insert UDOO’s IP followed by :5901
    192.168.1.0.105:5901
  • Insert Server’s Password
  • Done! Browse Udoo remotely with your Linux machine!

 

By:

Submit a comment