Skip to content

linux chrome -> tightvncserver on windows 8 fail #8

@franck34

Description

@franck34

I can connect, but the red box stay is it initial state, nothing append in my browser.

Server side logs:

connec```t request received: 192.168.0.3:5900
socket connected
data arrived:UkZCIDAwMy4wMDgK, length: 16
data arrived:AAAAAtdYyE8grXlqjHY5GulY, length: 24
data arrived:6FU=, length: 4

Client side logs:

connected to 192.168.0.3:5900 VNCClient.js:42
RFBClient: decodedDatalen :12, arrLen: 12 RFB.js:79
RFBClient: Server Version RFB: 003.008 RFB.js:79
RFBClient: Sending Client Version RFB 3.3 RFB.js:79
RFBClient: decodedDatalen :3, arrLen: 3 RFB.js:79
RFBClient: decodedDatalen :15, arrLen: 15 

(no error in the console)

I'm using node 0.10.7 and because you can now use Buffer to convert data, i've patched jstcp with that :

BEFORE

  if(typeof(TCPUtil.base64.decode) === 'function'){
     var base64decoded = TCPUtil.base64.decode(data.data);
     raw = new Buffer(base64decoded, 'binary');
  } else {
    TCPUtil.log("ERROR: NO base64 decoder available.");
  }

AFTER

   raw = new Buffer(data.data, 'base64').toString('binary');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions