Difference between revisions of "User:Pieper"

From Slicer Wiki
Jump to: navigation, search
Line 3: Line 3:
 
== GLX Enabled VNC on Unbuntu ==
 
== GLX Enabled VNC on Unbuntu ==
  
===Install Xvfb===
+
=== Remote Host===
 +
 
 +
====Install Xvfb====
  
 
  sudo apt-get install xvfb
 
  sudo apt-get install xvfb
 
   
 
   
===Install x11vnc===
+
====Install x11vnc====
  
 
  sudo apt-get install x11vnc
 
  sudo apt-get install x11vnc
Line 13: Line 15:
 
Set up a vncpassword if needed with vncpasswd
 
Set up a vncpassword if needed with vncpasswd
  
===Run Xvfb===
+
====Run Xvfb====
  
 
  Xvfb :1 -screen 0 1280x1024x16
 
  Xvfb :1 -screen 0 1280x1024x16
  
===Run x11vnc===
+
====Run x11vnc====
  
 
  x11vnc -display :1 -usepw -N -localhost
 
  x11vnc -display :1 -usepw -N -localhost
  
=== Set up ssh tunnel ===
+
===On local host===
 +
==== Set up ssh tunnel ====
  
 
  ssh -C -L 5900:localhost:5901 <remotehost>
 
  ssh -C -L 5900:localhost:5901 <remotehost>
  
=== Connect to server ===
+
==== Connect to server ====
  
 
  vncviewer localhost:0
 
  vncviewer localhost:0

Revision as of 22:59, 11 January 2009

<flash>file=QAFIPSFreeSurfer.swf|width=1000|height=800|quality=best</flash>

GLX Enabled VNC on Unbuntu

Remote Host

Install Xvfb

sudo apt-get install xvfb

Install x11vnc

sudo apt-get install x11vnc

Set up a vncpassword if needed with vncpasswd

Run Xvfb

Xvfb :1 -screen 0 1280x1024x16

Run x11vnc

x11vnc -display :1 -usepw -N -localhost

On local host

Set up ssh tunnel

ssh -C -L 5900:localhost:5901 <remotehost>

Connect to server

vncviewer localhost:0