Page MenuHomePhabricator
Contents

Banyan
Updated 1,986 Days AgoPublic

Version 5 of 12: You are viewing an older version of this document, as it appeared on May 2 2019, 2:43 PM.

TurboVNC

Install the client:
https://sourceforge.net/projects/turbovnc/files/2.2.1/

macOS:
https://sourceforge.net/projects/turbovnc/files/2.2.1/TurboVNC-2.2.1.dmg/download

Windows:
https://sourceforge.net/projects/turbovnc/files/2.2.1/TurboVNC-2.2.1-x64.exe/download

Linux:
https://sourceforge.net/projects/turbovnc/files/2.2.1/turbovnc_2.2.1_amd64.deb/download

Setup

ssh -Y -C $YOUR_NETID@banyan.cse.unr.edu
mkdir ~/.vnc
nano ~/.vnc/xstartup.turbovnc #You can use vim too. Put these contents in the file
#!/bin/bash

dbus-launch /usr/bin/startxfce4 &
chmod +x ~/.vnc/xstartup.turbovnc
#Run vncserver with OpenGL
/opt/TurboVNC/bin/vncserver -vgl

You should get input that looks like this:

Warning: banyan:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server banyan:1

Desktop 'TurboVNC: banyan:2 (newellz2)' started on display banyan:2

Starting applications specified in /home/newellz2/.vnc/xstartup.turbovnc
(Enabling VirtualGL)
Log file is /home/newellz2/.vnc/banyan:2.log

Take note of this line:

Desktop 'TurboVNC: banyan:2 (newellz2)' started on display banyan:2

The :2 is the port. Typically its 5900 + n. So in this case it's 5900 +2 = 5902

Port bind 590# with ssh:

ssh -L 5902:localhost:5902 newellz2@banyan.cse.unr.edu

Now launch the TurboVNC viewer

local_vnc.png (126×359 px, 6 KB)

Put localhost:2 in the VNC Server field and connect.

You should be able to connect and run OpenGL Applications:

glxgears.png (957×1 px, 418 KB)

Last Author
newellz2
Last Edited
May 2 2019, 2:43 PM

Event Timeline

newellz2 edited the content of this document. (Show Details)
newellz2 edited the content of this document. (Show Details)
igrant changed the edit policy from "All Users" to "Restricted Project (Project)".
claytonf edited the content of this document. (Show Details)