11.07.2015 Views

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

webMathematica™ Wolfram - Wolfram Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

webMathematica User Guide 25Install XvncInstallation of Xvnc is quite straightforward; you unpack the archive and then copy the relevantfiles into some local bin directory, for example, /usr/local/bin. (Note that some modernLinux distributions already have Xvnc installed.) Copying of the Xvnc binaries is shown below.[server1]$ cp vncviewer vncserver vncpasswd vncconnect Xvnc /usr/local/binLaunch XvncLaunching Xvnc is also quite straightforward; this should be done as the user that will be runningwebMathematica, for example, the user tomcat. The first time Xvnc is launched, it asks fora password. In the example below, the server is launched as display :1.Test Xvnc[server1]$ su tomcat[server1]$ vncserverYou will require a password to access your desktops.Password:Verify:New'X' desktop is server1:1Creating default startup script /home/tomcat/.vnc/xstartupStarting applications specified in /home/tomcat/.vnc/xstartupLog file is /home/tomcat/.vnc/server1.wolfram.com:1.logOnce it is launched, it is a good idea to test the server by running an application to use it, forexample, the Mathematica front end. This is shown below.[server1]$ su tomcat[server1]$ mathematica -display :1Of course, when this is done, you do not see an actual window on your screen; this is becauseit is a virtual server. To see the window from the Mathematica front end, you can run thevncviewer. This can be done as shown below.[server1]$ vncviewer :1This should show you a screen with the front end window visible. You should be able to typeinto the front end and see it working. At any time webMathematica is running, you can view thedesktop with vncviewer.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!