Difference between revisions of "User:Pieper"

From Slicer Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
== Slicer4 Local extension index build ==
 +
 +
<pre>
 +
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
 +
</pre>
 +
 
== GLX Enabled VNC on Unbuntu (tested on 8.10) ==
 
== GLX Enabled VNC on Unbuntu (tested on 8.10) ==
  

Revision as of 19:22, 21 March 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 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.

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."