Difference between revisions of "User:Pieper"

From Slicer Wiki
Jump to: navigation, search
Line 20: Line 20:
 
====Run x11vnc====
 
====Run x11vnc====
  
  nohup x11vnc -display :1 -usepw -N -localhost &
+
  nohup x11vnc -display :1 -usepw -N -localhost -forever &
  
 
===On local host===
 
===On local host===

Revision as of 22:52, 14 January 2009

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 and start and xterm

nohup Xvfb :1 -screen 0 1280x1024x16 &
nohup xterm -display :1 &

Run x11vnc

nohup x11vnc -display :1 -usepw -N -localhost -forever &

On local host

Set up ssh tunnel

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

Connect to server

vncviewer localhost:0

Now you may want to run gnome-session or startkde. Run glxgears or glxinfo to confirm GLX setup.