webMathematica >

Configuring for the X Window System (Unix only)

These problems are solved by running a virtual X server, such as Xvnc, as described in the following section. Running a virtual server prevents the windows created by the Mathematica front end from displaying on the screen console of the computer running Mathematica.

Configuring Xvnc and webMathematica

Install Xvnc

Launch Xvnc

Test Xvnc

Configure webMathematica

The final step is to modify your MSPConfiguration.xml file to instruct the front end to use this server. The setting of FrontEndLaunchFlags is described in the Appendix: Site Configuration. Here is a sample setting that connects to the X server on display :1.
<FrontEndLaunchFlags>
-display :1 -nogui -geometry 1000x500+10+10
</FrontEndLaunchFlags>
<FrontEndLaunchFlags>
-display myserver:1 -nogui -geometry 1000x500+10+10
</FrontEndLaunchFlags>

Other X Related Issues

Connecting to the X Server

Xvfb

Xvfb is a virtual frame buffer server described at http://www.xfree86.org/4.3.0/Xvfb.1.html. It can be used as an alternative to Xvnc, but typically we have found Xvnc to be easier to use and provide more functionality.
For Linux, you can download an RPM archive from http://www.redhat.com. After installation, you can launch it as follows (you will probably run this as root).
When you are running the virtual frame buffer X server, you will need to modify your MSPConfiguration.xml file to instruct the front end to use this server. The setting of FrontEndLaunchFlags is described in Appendix: Configuration. Here is a sample setting.
<FrontEndLaunchFlags>
-display :1 -nogui -geometry 1000x500+10+10
</FrontEndLaunchFlags>

Manual Font Installation