1. Setting uvncrepeater, linux version in mode 2
2. connecting sc to the repeater (server is behind firewall)
3. connecting android-vnc do repeaterer
What is the expected output? What do you see instead?
Connecting...
Establishing handshake.
Please wait...
What version of android-vnc-viewer are you using?
0.5.0
Which VNC server/version are you using? On which platform?
UltraVNC Win32 Server SC 20.3, on Windows XP SP3
What device are you using?
spam Xperia Arc S (X12)
Are you using a custom ROM? If so, which?
none
Please provide any additional information below.
When connecting from desktop I'm using command (and it works!):
vncviewer.exe -connect ID:6969 -proxy repeater.address.com:5900
In normal version of vncserver (not SC) after using the "add new client" option, specifing repeater as the client, android-vnc connects just well.
Connection configuration of androidvnc:
server:
repeater.address.com
port:
5900
Repeater (repeater recognizes this as IdCode):
ID:6969
SC (Single Click) configured like following (helpdesk.txt):
[HOST]
Connection
-id 6969 -connect repeater.address.com -noregistry
Repeater is Linux version configured like fallowing (/etc/uvncrepeater.ini):
[general]
;Ports
viewerport = 5900
serverport = 5500
maxsessions = 4
logginglevel = 3
allowedmodes = 2
[mode2]
requirelistedid = 1
idlist0 = 6969
Log from repeater as fallowing (/var/log/uvncrepeater.log):
# AFTER CONNECTING SERVER:
Code: Select all
UltraVnc Sun Nov 6 14:29:46 2011 > acceptConnection(): connection accepted ok from ip: server.address.com
UltraVnc Sun Nov 6 14:29:46 2011 > nonBlockingRead(): start
UltraVnc Sun Nov 6 14:29:46 2011 > nonBlockingRead(): returning normally
UltraVnc Sun Nov 6 14:29:46 2011 > parseId(): IdCode = ID:6969
UltraVnc Sun Nov 6 14:29:46 2011 > acceptConnection(): Server sent code 6969
UltraVnc Sun Nov 6 14:29:46 2011 > findDuplicateIdIndex(): similar ID not found
UltraVnc Sun Nov 6 14:29:46 2011 > isCodeInIdList(): ID code match found (6969)
UltraVnc Sun Nov 6 14:29:46 2011 > addServerList(): Server added to list: code = 6969, index = 0
UltraVnc Sun Nov 6 14:29:46 2011 > findViewerList(): Warning, viewer not found (code = 6969)
UltraVnc Sun Nov 6 14:29:46 2011 > acceptConnection(): respective viewer has not connected yet
UltraVnc Sun Nov 6 14:29:46 2011 > nonBlockingRead(): start
UltraVnc Sun Nov 6 14:29:51 2011 > nonBlockingRead(): returning 12 bytes
UltraVnc Sun Nov 6 14:29:51 2011 > readPeerHandShake(): len = 12
Code: Select all
UltraVnc Sun Nov 6 14:29:58 2011 > routeConnections(): new viewer connecting, accepting...
UltraVnc Sun Nov 6 14:29:58 2011 > acceptConnection(): connection accepted ok from ip: client.address.com
UltraVnc Sun Nov 6 14:29:58 2011 > acceptConnection(): pv = RFB 000.000
UltraVnc Sun Nov 6 14:29:58 2011 > writeExact(): start
UltraVnc Sun Nov 6 14:29:58 2011 > writeExact(): returning normally
UltraVnc Sun Nov 6 14:29:58 2011 > nonBlockingRead(): start
UltraVnc Sun Nov 6 14:29:59 2011 > nonBlockingRead(): returning normally
UltraVnc Sun Nov 6 14:29:59 2011 > parseId(): IdCode = ID:6969
UltraVnc Sun Nov 6 14:29:59 2011 > acceptConnection(): Viewer sent code 6969
UltraVnc Sun Nov 6 14:29:59 2011 > findDuplicateIdIndex(): similar ID not found
UltraVnc Sun Nov 6 14:29:59 2011 > isCodeInIdList(): ID code match found (6969)
UltraVnc Sun Nov 6 14:29:59 2011 > addViewerList(): Viewer added to list: code = 6969, index = 0
UltraVnc Sun Nov 6 14:29:59 2011 > findServerList(): server found at index 0, code = 6969
UltraVnc Sun Nov 6 14:29:59 2011 > setViewerActive(): activated viewer at index 0, code = 6969
UltraVnc Sun Nov 6 14:29:59 2011 > setServerActive(): activated server at index = 0, code = 6969
UltraVnc Sun Nov 6 14:29:59 2011 > writeExact(): start
UltraVnc Sun Nov 6 14:29:59 2011 > writeExact(): returning normally
UltraVnc Sun Nov 6 14:29:59 2011 > addRepeaterProcList(): Added proc to index=0, pid=30737, code=6969
UltraVnc Sun Nov 6 14:29:59 2011 > forkRepeater(): in child process, starting doRepeater(5, 6)
It's weird that standard version od uvncserver works well with android-vnc, but hangs while using SC... Does anybody have an idea how to fix it?