Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > VNC in Web server help

VNC in Web server help
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2002
Location: H-town
Status: Offline
Reply With Quote
Aug 22, 2003, 10:09 AM
 
I am trying to set up a VNC server that I can access from anywhere via web browser. Now I have my apache set up already serving pages everything is fine. I downloaded the Java VNC viewer and put the folder with the classes in one folder of my Document Root directory and set the HTML file to use the applet.

When I try to login from my computer (Mac) everything is fine, a couple of friends of mine from their houses using macs can access the applet fine. The problem I have is when I try to login from a PC it keep telling me the classes are not found.

This is the HTML code I am using

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE>
Enrique Desktop desktop (iBook)
</TITLE>
</HEAD>
<BODY>
<APPLET code="vncviewer.class" WIDTH=1000 HEIGHT=800>
<param name=PORT value=5900>
</APPLET>
</BODY>
</HTML>

If anybody can help I’d sure appreciate it.

Thanks and ask any question that you need to help me on this problem.

I think it has something to do with the java files and permissions, but I am not sure
     
Dedicated MacNNer
Join Date: Jul 2002
Location: Boston, MA
Status: Offline
Reply With Quote
Aug 30, 2003, 07:41 PM
 
Kinda shootin from the hip here, but don't you need to specify the .jar file also? Like....

<APPLET CODE=vncviewer.class ARCHIVE=/usr/local/vnc/vncviewer.jar WIDTH=1000
HEIGHT=800>

Haven't used VNC in awhile so I forget, but there must be something at VNC home
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:21 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2