- Download and install compiled binaries
wget http://demotomohiro.github.io/hardware/jetson_tk1/pkg/libjpeg-turbo_1.4.0_armhf.deb
wget http://demotomohiro.github.io/hardware/jetson_tk1/pkg/virtualgl_2.4_armhf.deb
wget http://demotomohiro.github.io/hardware/jetson_tk1/pkg/turbovnc_1.2.3_armhf.deb
sudo dpkg -i libjpeg-turbo_1.4.0_armhf.deb
sudo dpkg -i virtualgl_2.4_armhf.deb
sudo dpkg -i turbovnc_1.2.3_armhf.deb
sudo vi /etc/X11/xorg.conf
- Add the following line to the “Screen” section in xorg.conf to run Xorg without the external display.
Section "Screen"
Identifier "Screen0"
…
Option "AllowEmptyInitialConfiguration"
Option "UseEdid" "False"
...
EndSection
sudo nano /etc/ld.so.conf.d/libjpeg-turbo.conf
/opt/libjpeg-turbo/lib32
sudo ldconfig
sudo /opt/VirtualGL/bin/vglserver_config
sudo usermod -a -G vglusers $USER
sudo usermod -a -G vglusers root
/opt/TurboVNC/bin/vncserver
/opt/TurboVNC/bin/vncserver -kill :1
- Install xfce4 for windows management
nano .vnc/xstartup.turbovnc
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &
- Run glxgears as demo in VNC client
/opt/VirtualGL/bin/vglrun glxgears