> -----Original Message----- > From: Agrawal, Ashutosh [mailto:[EMAIL PROTECTED]] > I'm using a java vncviewer and > > 1) I wonder if someone has a newer version of it that has no > deprecated > functions. (I need to get it to compile and run properly with the > currently available java compiler becuase I need to make some > enhancements to the client)
The java version needs to come from the vncserver machine, otherwise it's hard to get the connection. This is browser/java security: it can only connect to the server where it came from. > > 2) I did change all the deprecated functions and I got the > code to compile > but when I try to connect to the server, it says "Your > connection has been > rejected".I have looked through the code of the server, but I cannot > figure out why it is doing that. However, before that message appears, > the two sides agree on using version 3.3, which tells me that > the connection > was initially established and I did not mess up the protocol > while changing the functions. Can the binary vncviewer conect? There is a minor difference between the binary viewer and the java viewer: The java one first asks the password and then tries to connect. The viewer first checks to see if it needs a password and only asks for it if it is required. > > I know that I don't need to worry about newer java code if I > want to use it > through the web browser, but I need to run it from the > command prompt. To check if the route to the server runs, do a telnet to the remote machine at port 5900. It should give a line with "RFB ...." in it. (add the display number to the port number). If this does not work, the problem is in the routing or the server is not running at that port. To check if the server runs properly, best to use the binary viewer. If this one works, then you know it is in the java environment. Success CBee _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
