I am using RH6.2 and don't see the vnc directory in /usr/share. Do the instructions only apply to 7.2? If so, is there a 6.2 version as well?
Thanks. Dave Colliver. ----- Original Message ----- From: "Beerse, Corni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 4:14 PM Subject: RE: Browswer / Java access to Xvnc without the need to start vnc serve r in advance! > David, > > From my (nerd-ish) view, I wanted to describe all and say it all. Since I > needed a webserver, I started describing the apache setup, wich is not > needed at all, we have Xvnc, which can do it too. So add to your setup the > next steps: > > exchange the /usr/share/vnc/classes/index.vnc file with the next file: > ------start of new index.vnc file----- > <HTML> > <TITLE> > dhcp login with vnc, no vnc password required > </TITLE> > <APPLET CODE=vncviewer.class ARCHIVE=vncviewer.jar WIDTH=800 HEIGHT=623> > <param name=PORT value=5951> > </APPLET> > </HTML> > ------end of new index.vnc file----- > > Now start `vncserver`. IF you view it with a vncvierer, you get the normal > setup (static session). If you view it with your browser, you get the new > login. > > Otherwise, start `Xvnc :99 -httpd /usr/share/vnc/classes -httpport 8080` and > browse to http://<machine>:8080/ and off you go. > > > CBee > > > btw: the above just gets it going. The Xvnc :99... is just used for > webserver. Other options can be added to minimize the other usability. > > > -----Original Message----- > > From: David Colliver [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, April 11, 2002 3:08 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Browswer / Java access to Xvnc without the need to start > > vncserve r in advance! > > > > > > I am the editor of the page at sourcecodecorner.com. I don't quite > > understand what you have written, though reading between the > > lines, it is > > for the Java applet to work. > > > > If you can re-iterate this thread, with the changes neccesary to make > > everything work in a fairly simple manner (that the readers > > can understand), > > then I will only be too happy. > > > > Best regards. > > Dave Colliver. > > ~~ > > All I ask is a chance to prove that money can't make me happy. > > > > Collectible dolls from http://www.collectorsdolls.com > > Web design? Web hosting? http://www.revilloc.com is the answer. > > Tips, tricks and articles for programmers of all languages on > > http://www.sourcecodecorner.com > > Planning a wedding? http://www.bmcweddings.com > > Advertise your car for free on http://www.drivingseat.com > > > > > > ----- Original Message ----- > > From: "Beerse, Corni" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, April 11, 2002 1:46 PM > > Subject: Browswer / Java access to Xvnc without the need to > > start vncserve r > > in advance! > > > > > > > As mentioned at the end of a long tread, I got it working! > > > > > > Browse to http://<machinename>/vnc gives me a java powered > > vnc session in > > a > > > browser without the need to start the vncserver! All just > > like the setup > > at > > > http://www.sourcecodecorner.com/articles/vnc/linux.asp and point the > > viewer > > > to <machinename>:5850 > > > > > > Here is the howto (with minor update to the previous message) > > > The base: > > > Redhat 7.2 distribution. > > > http://www.sourcecodecorner.com/articles/vnc/linux.asp setup works. > > > apache server that works > > > in /etc/httpd/conf/httpd.conf: > > > set "ServerName" to the (dns-) name of the machine > > > start apache now: `/etc/init.d/httpd restart` > > > start apache after reboot: > > > `mv /etc/rc.d/rc5.d/K15httpd /etc/rc.d/rc5.d/S85httpd` > > > Create the vnc page > > > mkdir /var/www/html/vnc > > > cp /usr/share/vnc/classes/* /var/www/html/vnc > > > create /var/www/html/vnc/index.html > > > <HTML> > > > <TITLE> > > > dhcp login with vnc, no vnc password required > > > </TITLE> > > > <APPLET CODE=vncviewer.class ARCHIVE=vncviewer.jar\ > > > WIDTH=800 HEIGHT=623> > > > <param name=PORT value=5951> > > > </APPLET> > > > </HTML> > > > > > > Browse to http://machine/vnc and off you go > > > > > > Some details that do make a difference: > > > RedHat 7.2 default installs some firewalling security. I choose NO > > > firewalling at all. This firewalling can ruin your day to > > get it working. > > My > > > statement on this: If you do need firewalling on this > > machine, you don't > > > need vnc on this machine. > > > > > > If the apache webserver is already configured, don't mingle with the > > > configuration. Exchange /var/www/html (my "DocumentRoot") with your > > > "DocumentRoot" in your apache configuration > > (/etc/httpd/conf/httpd.conf). > > > > > > If the vnc classes are not in /usr/share/vnc/classes, check your > > "vncserver" > > > script (/usr/bin/vncserver) for the "$vncClasses". > > > > > > The above html page is hardcoded to a vncserver of 800x600 > > to be served > > off > > > port 5951, as with the default setup at sourcecodecorner. > > If you alter the > > > size of the server, also change the WIDTH and HEIGHT > > parameters in the > > html > > > code. Add 23 pixels for the buttons on top, otherwise, you > > miss 23 pixels > > > off the bottom. > > > > > > TO serve more sizes and more colordepts, copy index.html to 640x480, > > change > > > the WIDTH=640, HEIGHT=503 and value=5950 and browse to > > > http://<machine>/vnc/640x480 . You can use "index.vnc" as > > an other base > > for > > > index.html. Use your (html-) imagination to create any > > better page. (I > > could > > > not get this part working at once. I had to give the file > > the extention > > > .html which I don't like since that's also needed in the > > call. Then I had > > > update the ARCHIVE to "ARCHIVE=/vnc/vncviewer.jar", which > > is no problem to > > > me.) > > > > > > > > > > > > BTW: can the editor update the page at > > > http://www.sourcecodecorner.com/articles/vnc/linux.asp? > > > > > > NICE: Netscape (4.x) gave a much better view than M$IE! > > > OOPS: Netscape 4.x on W2K twiggles with the entire W2K > > display once the > > > screensaver comes up in the Xvnc/X11 environment... So > > better turn it > > off... > > > > > > USAGE TIP: do NOT reload/refresh the browser! The vnc > > session is a -once > > > session!, you just get a new login screen... > > > > > > Update ideas for the java applet: > > > - Add a refresh button, make it one of the top buttons. > > > - Add a "You have lost the session" screen once the server > > connection > > > droppes. > > > - In co-ordination with a -once or -init server: add a Arnold > > Swartsenegger: > > > "I'll be back" button. > > > > > > > > > > > > Success, > > > > > > CBee > > > > > --------------------------------------------------------------------- > > > To unsubscribe, mail [EMAIL PROTECTED] with the line: > > > 'unsubscribe vnc-list' in the message BODY > > > See also: http://www.uk.research.att.com/vnc/intouch.html > > > > > --------------------------------------------------------------------- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > ~~~~~~~~~~~~~~ > > To download your own free RevilloC mailserver, visit > http://www.revilloc.com/mailserver > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > --------------------------------------------------------------------- > To unsubscribe, mail [EMAIL PROTECTED] with the line: > 'unsubscribe vnc-list' in the message BODY > See also: http://www.uk.research.att.com/vnc/intouch.html > --------------------------------------------------------------------- > --------------------------------------------------------------------- > To unsubscribe, mail [EMAIL PROTECTED] with the line: > 'unsubscribe vnc-list' in the message BODY > See also: http://www.uk.research.att.com/vnc/intouch.html > --------------------------------------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To download your own free RevilloC mailserver, visit http://www.revilloc.com/mailserver ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------