Difference between revisions of "User:Pieper"

From Slicer Wiki
Jump to: navigation, search
 
Line 13: Line 13:
 
cmake -DSlicer_DIR:PATH=${SBUILD} -DSlicer_EXTENSION_DESCRIPTION_DIR:PATH=${EXT} -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} ${SLICER}/Extensions/CMake
 
cmake -DSlicer_DIR:PATH=${SBUILD} -DSlicer_EXTENSION_DESCRIPTION_DIR:PATH=${EXT} -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} ${SLICER}/Extensions/CMake
 
</pre>
 
</pre>
 +
 +
 +
 +
 +
 +
== GLX Enabled VNC on Unbuntu (tested on 13.04) ==
 +
 +
See [https://www.xpra.org] for more info.
 +
 +
=== Remote Host===
 +
 +
====Install X.org Dummy Driver ====
 +
 +
sudo apt-get install xserver-xorg-video-dummy
 +
 +
====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 Xorg +extension GLX +extension RANDR +extension RENDER -logfile xorg-1.log  -config xorg.conf :1 &
 +
 +
and then (give the X server a second to start)
 +
 +
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.
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
 
== GLX Enabled VNC on Unbuntu (tested on 8.10) ==
 
== GLX Enabled VNC on Unbuntu (tested on 8.10) ==

Latest revision as of 17:15, 6 September 2013

Slicer4 Local extension index build

SLICER=d:/pieper/Slicer
SSUPER=d:/pieper/s
EXT=d:/pieper/Extensions/ExtensionsIndex-local
BUILDTYPE=Debug

SBUILD=${SSUPER}/Slicer-build
EBUILD=${EXT}-build

cd ${EBUILD}
cmake -DSlicer_DIR:PATH=${SBUILD} -DSlicer_EXTENSION_DESCRIPTION_DIR:PATH=${EXT} -DCMAKE_BUILD_TYPE:STRING=${BUILDTYPE} ${SLICER}/Extensions/CMake



GLX Enabled VNC on Unbuntu (tested on 13.04)

See [1] for more info.

Remote Host

Install X.org Dummy Driver

sudo apt-get install xserver-xorg-video-dummy

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 Xorg +extension GLX +extension RANDR +extension RENDER -logfile xorg-1.log  -config xorg.conf :1 &

and then (give the X server a second to start)

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.






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 &

and then (give the X server a second to start)

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.

on boggs

nohup Xvfb :20 -screen 0 1900x1200x16 &
nohup /usr/local/bin/x11vnc -display :20 -usepw -N -forever &
xterm -d :20

Route localhost imap to remote server

sudo ssh -C -L 993:localhost:993 user@imapserver

Acknowledgments

“This project was supported by the National Center for Research Resources and the National Institute of Biomedical Imaging and Bioengineering of the National Institutes of Health through Grant Numbers P41-RR-013218 and P41-EB-015902.”

"This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on the National Centers for Biomedical Computing can be obtained from http://nihroadmap.nih.gov/bioinformatics."