SSH as root to your odroid box:
Code: Select all
ssh root@odroid
Code: Select all
aptitude update
aptitude install nano x11vnc avahi-daemon
Code: Select all
x11vnc -storepasswd {yourpasswordhere} /etc/x11vnc.pass
chmod 744 /etc/x11vnc.pass
Code: Select all
nano /etc/init/x11vnc.conf
Code: Select all
start on (login-session-start or desktop-session-start)
stop on desktop-shutdown
respawn
emits vnc-server-start
script
/usr/bin/x11vnc -forever -bg -geometry 1024x768 -usepw -shared -noprimary \
-auth /var/run/lightdm/root/:0 -display WAIT:0 -rfbauth /etc/x11vnc.pass \
-avahi -env X11VNC_AVAHI_NAME="`hostname`" -desktop "`hostname`'s Remote Desktop"
initctl emit vnc-server-start
end script
If you're running Mac (maybe it will work with modern Windows versions as well, I haven't used Windows after Windows NT) x11vnc will use your odroid machine's name to advertise itself thru Bonjour/ZeroConf/mdns/avahi and it will show up in the Finder's sidebar. That allows you to use the Mac OSX'es built-in Screen Sharing app to connect to your odroid thru VNC.
You can then either run:
Code: Select all
/usr/bin/x11vnc -geometry 1024x768 -usepw -auth /var/run/lightdm/root/:0 -display :0 -forever -bg -rfbauth /etc/x11vnc.pass
Voila, you now have remote desktop access to your odroid.

You can also add an XRDP to that so it's a bit easier to connect from Windows.
After all the steps above do the following:
Code: Select all
sudo apt-get install xrdp --no-install-recommends
Code: Select all
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=high
channel_code=1
max_bpp=24
[xrdp1]
name=Local Console
lib=libvnc.so
username={username}
password={password}
ip=127.0.0.1
port=5900
After that you can connect to your ordroid with Microsoft Remote Desktop!
UPDATE: removed " -gui tray" from the x11vnc command line as it apparently not working well on the official 14.04.