I'm making my own vnc viewer, that takes screenshots of computers with the VNC server installed.
It works perfectly for other versions of VNC, but with Ultra (any version) installed as the server, a black screen is returned.
If I connect to the Server with any other viewer, and then try to take a screenshot with my viewer, it works fine, implying the problem is with the configuration stage.
Does anyone have any ideas what could cause this?
The order of comuniqe between the client and server is as follows (taken from debugging outputs):
opening port
**get version message
**send version message
**read response (auth scheme) = 2
**passsword reqd
---------READFULLY(CHALLENGE)------
------READINT(auth result)-----
Authenticate with password: true
***** sendSetEncodings
***** sendSetPixelFormat
***** SendFrameBufferUpdateRequest
***** recieveFrameBufferUpdate
message type: 0
recieving 1 rectangles
x: 0
y: 0
width: 1024
height: 768
encoding: 0
RAW ENCODING
*****recieveRawPixels
