Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

UltraVNC Java Client vncviewer.jar repeater mode II

Should you have problems with the JavaViewer, here's the place to look for help or report issues
Post Reply
joedoe22
Posts: 2
Joined: 2008-11-08 01:00

UltraVNC Java Client vncviewer.jar repeater mode II

Post by joedoe22 »

Is there a way to use the UltraVNC Java Client in repeater mode II?

Example: java -classpath VncViewer.jar VncViewer HOST ID:12345 PORT 0 REPEATERHOST uvnc.com REPEATERPORT 5901 ENCODING zrle

-> this will yield an error message: "host id:12345 unknown"

Any help greatly appreciated!
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by redge »

fail winvnc 1.0.5.2
fail VncViewer.jar 1.0.5.2

VncViewer.jar repeater mode II broken
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
joedoe22
Posts: 2
Joined: 2008-11-08 01:00

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by joedoe22 »

Anybody got an idea if there is any intention to fix mode II?
obrienmd
Posts: 4
Joined: 2009-06-03 22:14

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by obrienmd »

joedoe22 wrote:Anybody got an idea if there is any intention to fix mode II?
Seconded!
obrienmd
Posts: 4
Joined: 2009-06-03 22:14

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by obrienmd »

obrienmd wrote:
joedoe22 wrote:Anybody got an idea if there is any intention to fix mode II?
Second!
Wonder if 1.0.6.0 has this fixed?
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by roja2 »

yes it's working perfectly
i've tested it
draki
Posts: 1
Joined: 2010-06-10 08:30

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by draki »

I'm using UltraVNC 1.0.8.2 and still have the same problem, when I run:

java -classpath VncViewer.jar VncViewer HOST ID:1234 PORT 0 REPEATERHOST [my.host] REPEATERPORT 5901

I get an error:

"Network error: server name unknown: ID:1234"

Any help would be very greatly appreciated.
Last edited by draki on 2010-06-10 08:36, edited 2 times in total.
nxnlvz
8
8
Posts: 8
Joined: 2010-05-12 00:22

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by nxnlvz »

Do a quick search for a post with my user ID 'nxnlvz'. The solution is there.
001aman
Posts: 1
Joined: 2010-10-31 11:32
Contact:

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by 001aman »

draki wrote: java -classpath VncViewer.jar VncViewer HOST ID:1234 PORT 0 REPEATERHOST [my.host] REPEATERPORT 5901

I get an error:

"Network error: server name unknown: ID:1234"
Same error please how can it be resolved.
TitovLab
Posts: 5
Joined: 2010-11-08 18:30

Re: UltraVNC Java Client vncviewer.jar repeater mode II

Post by TitovLab »

I downloaded JavaViewer from repository http://ultravnc.svn.sourceforge.net/vie ... avaViewer/
Compiled it and test to connect to host via direct connection (client and host in one subnet) - all fine. To enable connection via repeater I patch source from here [post=69501][/post] Here is a simple test page:

Code: Select all

<HTML>
  <HEAD><TITLE> test </TITLE></HEAD>
  <BODY>
  <SPAN style='position: absolute; top:0px;left:0px'>
<OBJECT 
    ID='VncViewer'
    classid = 'clsid:8AD9C840-044E-11D1-B3E9-00805F499D93'
    codebase = 'http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Version=1,4,0,0'
    WIDTH = 800 HEIGHT = 632 >
    <PARAM NAME = CODE VALUE = VncViewer.class >
    <PARAM NAME = ARCHIVE VALUE = VncViewer.jar >
    <PARAM NAME = 'type' VALUE = 'application/x-java-applet;version=1.4'>
    <PARAM NAME = 'scriptable' VALUE = 'false'>
    <PARAM NAME = PORT VALUE=0>
   <PARAM NAME = HOST VALUE=ID:1111>
   <PARAM NAME = REPEATERHOST VALUE=192.168.1.148>
   <PARAM NAME = REPEATERPORT VALUE=5900>
    <PARAM NAME = ENCODING VALUE=Tight>
    <PARAM NAME = 'Open New Window' VALUE='Yes'>
</OBJECT>
  </SPAN>
  </BODY>
</HTML>
But i have an error:

Code: Select all

-- INIT --
In an Applet? : true
HOST PARAM : ID:1111
PORT PARAM : 0
REPEATERHOST PARAM : 192.168.1.148
REPEATERPORT PARAM : 5900
--RfbProto Constructor--
VncViewer: VncViewer[panel0,0,0,800x632,layout=java.awt.FlowLayout]
HOST: ID:1111
PORT: 0
REPEATERHOST: 192.168.1.148
REPEATERPORT: 5900
--RfbProto Constructor--
Using Repeater: 192.168.1.148:5900
Final System Name: ID:1111:0
RFB Protocol Version: RFB 000.000
java.io.EOFException
	at java.io.DataInputStream.readFully(Unknown Source)
	at java.io.DataInputStream.readFully(Unknown Source)
	at RfbProto.readVersionMsg(RfbProto.java:284)
	at VncViewer.prologueDetectAuthProtocol(VncViewer.java:417)
	at VncViewer.connectAndAuthenticate(VncViewer.java:341)
	at VncViewer.run(VncViewer.java:183)
	at java.lang.Thread.run(Unknown Source)
Network error: remote side closed connection
It is a version problem? I use UltraVNC 1.0.9.1, but JavaViewer from 2008 year. Or maybe I define incorrect ports?
Via UltraVNC Viewer I sucessfully conected to this host via repeater, so the problem is in JavaViewer.
Any ideas? Maybe anybody have compiled JavaViewer with repeater support?
Repeater v0.14 on Fedora 13 2.6.33.3-85.fc13.i686.PAE, standard ports 5900 and 5500, firewall disabled
VNC Host on default port - Windows 7 with UAC off, UltraVNC 1.0.9.1
VNC Viewer and JavaViewer - Windows Vista with UAC off, Java 6 update 21, IE 8, UltraVNC 1.0.9.1
Last edited by TitovLab on 2010-11-09 19:25, edited 5 times in total.
Post Reply