28
Install Xvnc
Installation of Xvnc is quite straightforward; you unpack the archive and then copy the relevant files into some local
bin directory, e.g. /usr/local/bin. (Note that some modern Linux distributions  already have Xvnc installed.)
Copying of the Xvnc binaries is shown below.
[server1]$ cp vncviewer vncserver vncpasswd vncconnect Xvnc 
/usr/local/bin
Launch Xvnc
Launching Xvnc is also quite straightforward; this should be done as the user that will be running webMathematica,
for example,  the user tomcat. The first time Xvnc is launched, it asks for a password.  In the example below, the
server is launched as display :1. 
[server1]$ su tomcat
[server1]$ vncserver
You will require a password to access your desktops.
Password:
Verify:
New X  desktop is server1:1
Creating default startup script /home/tomcat/.vnc/xstartup
Starting applications specified in /home/tomcat/.vnc/xstartup
Log file is /home/tomcat/.vnc/server1.wolfram.com:1.log
Test Xvnc
Once it is launched, it is a good idea to test the server by running an application to use it, for example, the Mathemat 
ica front end. This is shown below.
[server1]$ su tomcat
[server1]$ mathematica  display :1
Of course, when this is done, you do not see an actual window on your screen; this is because it is a virtual server.
To  see  the  window  from  the  Mathematica  front  end,  you  can  run  the  vncviewer.  This  can  be  done  as  shown
below.
[server1]$ vncviewer :1
This should show you a screen with the front end window visible. You should be able to type into the front end and
see it working. At any time webMathematica is running, you can view the desktop with vncviewer.
 .
<





New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

 

Our web partners:  Jsp Web Hosting  Unlimited Web Hosting  Cheapest Web Hosting  Java Web Hosting  Web Templates  Best Web Templates  Web Design Templates  Interland Web Hosting  Cheap Web Hosting  Filemaker Web Hosting  Tomcat Web Hosting  Quality Web Hosting  Best Web Hosting  Mac Web Hosting

 
 

Virtualwebstudio. Business web hosting division of Vision Web Hosting Inc. All rights reserved

Comcast Web Hosting