Last modified 13 years ago Last modified on 05/08/06 13:34:25

The Dynamic Scene Generator is an old Skanda4 project that runs on quad from Kevin's home directory. The project page is and has links to start the servers and to the demos. For anatomical terms, the DSG uses the old FMS TermServer on tela. The current test version is at


  1. Click "Scene builder: thorax models"
  2. Type "Thoracic vertebral column" in lower right frame, where it says "Type a Structure Name".
  3. Click "Perform operation"

If it doesn't work, try killing all the servers on quad and restarting it. (A good test for the skull is "frontal bone".)


The servers do not start automatically, but should normally keep running after being started. You can check on quad for something like this:

quad:/home/hinshaw/src/skandha4.Linux# ps xau|grep hinsha
www-data  5717  0.0  5.1 61268 53116 ?       S    10:06   0:00 /usr/people/hinshaw/src/skandha4.Linux/bin/skandha4.bin -p63070 xdada-server-thorax.lsp
www-data  5878  0.0  5.1 61268 53116 ?       S    10:11   0:00 /usr/people/hinshaw/src/skandha4.Linux/bin/skandha4.bin -p63070 xdada-server-thorax.lsp
www-data  5881  0.0  0.3  5172 3832 ?        R    10:11   0:00 /usr/local/bin/perl /home/hinshaw/cgi-bin/dsg-thorax/builder.cgi


Here are some steps condensed from the DSG Installation Instructions

First you need to follow the steps in SkandhaInstall, noting the path at which you installed skanhda. Also make sure ImageMagick-perl and perl-Net-Telnet are installed, which you can do like this:

up2date ImageMagick-perl
rpm -Uhv perl-Net-Telnet-3.03-1.2.el4.rf.noarch.rpm 

And the setup:

adduser dsg
su - dsg
cvs co -d dsg-src src/scenes/graphics-server
chmod 755 /home/dsg
mkdir /home/dsg/public_html
mkdir /home/dsg/cgi-bin
cd public_html
cp -r /home/dsg/dsg-src dsg-skull
ln -s /home/dsg/public_html/dsg-skull/cgi-bin/ /home/dsg/cgi-bin/dsg-skull
cd dsg-skull/cgi-bin/
grep -v '#' >
sed -i 's;dsg;dsg-skull;g' 
sed -i 's;USERNAME;dsg;g'
sed -i "s;MACHINE;`hostname -s`;g"
sed -i 's;/usr/people/hinshaw/src/skandha4.Linux/;/home/dsg/src/my/;g'
sed -i 's;/usr/people/;/home/;g'
sed -i 's;server.lsp;server-skull.lsp;g'
for i in cache error results scenesdir state tmp; do
        mkdir /home/dsg/public_html/dsg-skull/$i
        # apache needs to write to it
        chmod 775 /home/dsg/public_html/dsg-skull/$i

Also when I could only get PNG to work with skandha on RHEL I did this:

.sed all references to jpeg to png in cgi scripts .comment out the IM tiff lines in builder_viewer.cgi .convert images/*jpeg to png

# as root
cd /home/dsg/public_html/dsg-skull/
for i in cache error results scenesdir state tmp; do
        chgrp apache $i

Go to then