Difference between revisions of "User:Pieper"
From Slicer Wiki
| Line 1: | Line 1: | ||
| − | == GLX Enabled VNC on Unbuntu == | + | == GLX Enabled VNC on Unbuntu (tested on 8.10) == |
=== Remote Host=== | === Remote Host=== | ||
| Line 11: | Line 11: | ||
sudo apt-get install x11vnc | sudo apt-get install x11vnc | ||
| − | Set up a vncpassword if needed with vncpasswd (available in package vnc4-common) | + | Set up a vncpassword if needed with vncpasswd (available in package vnc4-common). |
====Run Xvfb and start and xterm==== | ====Run Xvfb and start and xterm==== | ||
| Line 17: | Line 17: | ||
nohup Xvfb :1 -screen 0 1280x1024x16 & | nohup Xvfb :1 -screen 0 1280x1024x16 & | ||
nohup xterm -display :1 & | nohup xterm -display :1 & | ||
| + | |||
| + | '''Note:''' each user needs a distinct display number (replace :1 in this example with your number). | ||
====Run x11vnc==== | ====Run x11vnc==== | ||
Revision as of 16:02, 26 February 2009
Contents
GLX Enabled VNC on Unbuntu (tested on 8.10)
Remote Host
Install Xvfb
sudo apt-get install xvfb
Install x11vnc
sudo apt-get install x11vnc
Set up a vncpassword if needed with vncpasswd (available in package vnc4-common).
Run Xvfb and start and xterm
nohup Xvfb :1 -screen 0 1280x1024x16 & nohup xterm -display :1 &
Note: each user needs a distinct display number (replace :1 in this example with your number).
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.