Well, so many people asked about VNC, I might as well post my answers to the list. First these words: As far as I know, VNC is NOT endorsed nor supported by Foxboro, so use it at your own risk. I use it extensively, but I've never used it to control a live process. Also, I'm not suggesting that you replace Exceed with VNC. Exceed comes with a lot of extra functionality and security features which are not in VNC. And finally, since using VNC requires that you install binaries on the AW / WP, keep in mind that these binaries may not be compatible with future versions of the Foxboro software. Still reading? Ok then, you'll find the latest binaries for VNC at http://www.uk.research.att.com/vnc/ Basically, VNC is a "screen scraper";it lets you run the X-server on the AW, and all you run on your end is a "viewer" which receives the screen updates. There is nothing special to do for the fonts or the colors, since the X-server (XFree86) runs on the AW. The above web site has all the documentation and even an FAQ which should answer most questions. Someone asked me if VNC could be installed on a headless Linux box and display KDE on a Windows machine. I've been doing that for two years... works fine. Below is an install procedure, and much further below is a startup script. =================================== To install VNC on the AW: 1) Get the VNC tar file on the AW, to /tmp or /opt/VNC. If you have gzip on your AW, get the .gz version, else get the .Z or .ZIP version. 2) Extract it. 3) Copy the files 'Xvnc' and 'vncpasswd' to /usr/local (or /usr/bin, but make sure you change every /usr/local reference to /usr/bin from now on). 4) Also copy the startup script (govnc.solaris) to /usr/local 5) Make sure all the above are executable (chmod +x filenames) 5) Go to the root directory and create a hidden directory .vnc, like so: cd / mkdir .vnc 6) Run /usr/local/vncpasswd to set the initial password. The encrypted password is stored in the /.vnc directory. 7) Run /usr/local/govnc.solaris to start the X server. 8) Install the VNC viewer on your client PC, start it up and connect to the VNC server by specifying the IP address followed by :1, like so: 10.1.23.100:1 Note: To automate the startup of the VNC server at boot time, add the following line in the /etc/fox/user_apps.dat file. Don't add any comments or blank lines in that file, they will cause errors when the file is processed by S99Foxboro. /usr/local/govnc.solaris Note 2: More than one client PC can connect to the VNC server at once, in which case the whole thing becomes like a NetMeeting remote control session, where someone could move the mouse and everyone else connected sees it move. Kind of neat. ================================= Startup script (govnc.solaris) #!/bin/sh # # vncserver. # # This only works if you already know the DISPLAY you want to use. # # The pid gets put in ~/.vnc/pid, so you can use: # kill `cat ~/.vnc/pid` to kill Xvnc. #set -x # Set the display here: # Display is harcoded to 1 for AW, because there is no perl support. # Copy this script and change the DISPLAY to :2 to start a second VNC # server, and so on... DISPLAY=:1 ; export DISPLAY OPENWINHOME=/usr/openwin;export OPENWINHOME WUHOME=/opt/windu ; export WUHOME GMS_HOME=/opt/gms ; export GMS_HOME HHPATH=/opt/windu/bin ; export HHPATH HHHOME=/opt/windu ; export HHHOME LD_LIBRARY_PATH=/lib:/usr/lib:/usr/openwin/lib;export LD_LIBRARY_PATH # set the fontpath here, including Foxboro paths: #FONTPATH=/usr/fox/wp/fonts,/usr/openwin/lib/X11/fonts/F3/,/usr/openwin/lib/X11/fonts/F3bitmaps/,/usr/openwin/lib/X11/fonts/Type1/,/usr/openwin/lib/X11/fonts/Speedo/,/usr/openwin/lib/X11/fonts/misc/,/usr/openwin/lib/X11/fonts/75dpi/,/usr/openwin/lib/X11/fonts/100dpi/,/usr/openwin/lib/X11/fonts/Xt+/ FONTPATH=/usr/openwin/lib/X11/fonts/misc/,/usr/openwin/lib/X11/fonts/75dpi/,/usr/openwin/lib/X11/fonts/100dpi/,/usr/fox/wp/fonts,/usr/openwin/lib/X11/fonts/Type1/,/usr/openwin/lib/X11/fonts/Speedo/,/usr/openwin/lib/X11/fonts/Xt+/ # Foxboro DM requires 256 colors (pixel depth of 8) DEPTH=8 # Set the geometry here #GEO=800x600 GEO=1024x768 #Where do you keep your passwd file? [YOU MUST SET THIS!] # Don't forget to create /.vnc and run vncpasswd once initially. !!!! AUTH=/.vnc/passwd #Do you use http? [I don't --- I can't get the Java stuff to compile.] # If this worked, it would allow viewing from a Java enabled browser (Netscape 4.x). HTTP=/.vnc/ #Other options go here OPTS="-co /usr/openwin/lib/X11/rgb -rfbauth $AUTH" # Make sure the correct path to Xvnc is used below. #/usr/X11R6/bin/Xvnc -dontdisconnect -fp $FONTPATH $DISPLAY -depth $DEPTH -geometry $GEO $OPTS & /usr/local/Xvnc -dontdisconnect -alwaysshared -fp $FONTPATH $DISPLAY -depth $DEPTH -cc 3 -geometry $GEO $OPTS & echo $! > /.vnc/pid sleep 3 nohup /usr/openwin/bin/olwm -display $DISPLAY & sleep 1 # The following starts the blink_task to let it tweak the # color palette, and then kills it to prevent blinking, which # really deteriorates the VNC performance. # Tweaking the color palette is necessary to get the upper 16 # colors used in Display Manager. cd /usr/fox/wp/bin blink_task -f & PID_BLINK=`echo $!` sleep 2 kill $PID_BLINK -- Marc Provencher Senior Systems Engineer Foxboro Calgary (403) 777-4275 [EMAIL PROTECTED] ----------------------------------------------------------------------- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with "unsubscribe foxboro" in the Subject. Or, send any mail to [EMAIL PROTECTED]
