This 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.
sudo apt-get install vnc4serveror
sudo apt-get install tightvnc4server.
vncserver :1which 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.
vncserver -kill :1which stops the vncserver.
- 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/xstartupand add/modify its last line to
Your laptop or desktop:
- If you are using Mac, downloand real VNC viewer from their official website.
- If you are using Ubuntu,
sudo apt-get install xvnc4viewer
- 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
:1means the port one.
- 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:5901and then click OK and input the password.
- If you are using Ubuntu instead, tap
vncviewerin your terminal and
192.168.0.22:1for the ip address input.
If you have any problem please feel free to leave a comment here.
Hello, I followed the steps setting up vnc server on my Odroid XU4. But when try connecting to it from my laptop I get “Timed out waiting response from computer”. Any suggestions? Thanks
Followed above instructions on odroid xu4 but still get grey screen with X.