vncThis tutorial is aimed to set up the VNC server on your Odroid U3 so that you can get full access to its GUI using your laptop or desktop without using a HDMI display.

Set up:

Odroid U3:

  1. sudo apt-get install vnc4server or sudo apt-get install tightvnc4server.
  2. tap vncserver :1 which means open port 1 of the vnc server, and you will see a bunch of things coming out. And you need to set up the password for the first time you use it.
  3. vncserver -kill :1 which stops the vncserver.
  4. Here comes the tricky part. The VNC server on board is actually a little bit different from the one you use on your laptop (with a GNOME or KDE)the Xubuntu you use on the Odroid uses x-window-manager instead of a GNOME or KDE. Thus when you try to get access of it using the default setting of the vncserver on Odroid, you will probably get a black or grey screen with a black cross on it which is not what you want. Thus what you need to do here is edit the file ~/.vnc/xstartup and add/modify its last line to /etc/X11/Xsession &

Your laptop or desktop:

  1. If you are using Mac, downloand real VNC viewer from their official website.
  2. If you are using Ubuntu, sudo apt-get install xvnc4viewer

Test:

  1. On your Odroid: vncserver :1 -geometry 1200x675 -depth 24. Notice that the stuff between 1200 and 675 is x but not *. It indicates the resolution you want, which should be 16:9. And :1 means the port one.
  2. On your Mac, click the Real VNC viewer, and input the ip address of the Odroid (assume it is 192.168.0.22, click here to check how to set the static ip for Odroid) and port number 192.168.0.22:5901 and then click OK and input the password.
  3. If you are using Ubuntu instead, tap vncviewer in your terminal and 192.168.0.22:1 for the ip address input.

Trouble Shooting:

If you have any problem please feel free to leave a comment here.