Largely based on demotomohiro posts from NVidia’s forum.
chmod +x ./tx1_build_and_install_vgl_and_vnc.sh ./tx1_build_and_install_vgl_and_vnc.sh
While configuring VirtualGL you may answer yes to all. (See https://cdn.rawgit.com/VirtualGL/virtualgl/2.5/doc/index.html#hd006 for more information).
chmod +x ./tx1_build_and_install_vgl_and_vnc.sh ./tx1_configure_vgl_and_vnc.sh
If you see only black screen, try turning of screen-saver.
On client side, run the following:
ssh -L {5900+n}:localhost:{5900+n} {user}@{server}
where
- {user} is your username
- {server} is the hostname or IP address of that machine
- n is the X display number of the TurboVNC session to which you want to connect.
For example:
ssh -L 5901:localhost:5901 ubuntu@ubuntu-tegra
See https://cdn.rawgit.com/TurboVNC/turbovnc/2.0/doc/index.html#hd006005 for more information.
Once in ssh session, run (on server side) either:
/opt/TurboVNC/bin/vncserver
or if it is already in path
vncserver
Then in another terminal, on client side
vncviewer localhost:1
In order, to stop TurboVNC on server side run:
vncserver -kill :1