RFB - anyone having that working properly under linux?
Hello, I've been trying to get RFB running in Pharo. So, installation was okay, I updated the Configuration to pick the last change from Damien Cassou. Still, I start the server with: RFBServer current initializePreferences; configureForMemoryConservation; allowEmptyPasswords: false; setFullPassword: 'password'; "Clear text passwords..." setViewPassword: 'password'; "... urgh!" enableLogging: true; enableDebugging: true; start: 0. along with RFBLog dumpLogToTranscript: true. Server loads, starts. Now, when I connect with RealVNC, or TightVNC, or OSX built-in VNC, I get a view of the UI (so, a copy of the framebuffer is sent) [image: Inline image 1] The error I get is (as I am in debugging mode): [image: Inline image 2] I followed the contexts upwards in the exception to sendData:startingAt:count: [image: Inline image 3] I wonder why I do not get the VNC client going on as the first screen is sent properly. TIA Phil
Your have to remove RFBSocket>>waitForSendDoneFor: It overrides a method in Socket and fixes a few legacy bugs in Squeak but now it breaks RFB. Cheers, Max
On 15.10.2014, at 11:52, phil@highoctane.be wrote:
Hello,
I've been trying to get RFB running in Pharo.
So, installation was okay, I updated the Configuration to pick the last change from Damien Cassou.
Still, I start the server with:
RFBServer current initializePreferences; configureForMemoryConservation; allowEmptyPasswords: false; setFullPassword: 'password'; "Clear text passwords..." setViewPassword: 'password'; "... urgh!" enableLogging: true; enableDebugging: true; start: 0.
along with RFBLog dumpLogToTranscript: true.
Server loads, starts.
Now, when I connect with RealVNC, or TightVNC, or OSX built-in VNC, I get a view of the UI (so, a copy of the framebuffer is sent)
<image.png>
The error I get is (as I am in debugging mode):
<image.png>
I followed the contexts upwards in the exception to sendData:startingAt:count:
<image.png>
I wonder why I do not get the VNC client going on as the first screen is sent properly.
TIA
Phil
Hi, Well, not really that. I removed the method but the symptom remains. Logging gives me: RFBSession running RFBSession send protocol version RFBSession RFB 003.007 RFBSession viewer using protocol 3.7 RFBSession client shared: true RFBSession a RFBSocket[connected] connected RFBSession ignoring request for ZRLE encoding RFBSession rfbEncodingCopyRect RFBSession rfbEncodingTight RFBSession using Hextile encoding RFBSession rfbEncodingQualityLevel 6 RFBSession ignoring unknown encoding: 4294967073 RFBSession rfbEncodingLastRect RFBSession enabling LastRect protocol extension RFBSession rfbEncodingPointerPos RFBSession enabling cursor position updates RFBSession rfbEncodingRichCursor RFBSession enabling full-colour cursor updates RFBSession received rfbSetPixelFormat RFBSession set pixel format: 32bpp, depth 24 LE, true colour 255,255,255 16+8+0 RFBSession colour map a WordArray(16711680 65280 255 0) an IntegerArray(0 0 0 0) RFBSession before color table RFBSession rfbSetPixelFormat done <-- added by me. RFB: caught ConnectionClosed: Connection close while waiting for data. RFB: caught ConnectionTimedOut: send data timeout; data not sent Still blocked on that then... What is your log giving? Phil â
On 15.10.2014, at 12:59, phil@highoctane.be wrote:
Hi,
Well, not really that. I removed the method but the symptom remains.
Logging gives me:
RFBSession running RFBSession send protocol version RFBSession RFB 003.007
RFBSession viewer using protocol 3.7 RFBSession client shared: true RFBSession a RFBSocket[connected] connected RFBSession ignoring request for ZRLE encoding RFBSession rfbEncodingCopyRect RFBSession rfbEncodingTight RFBSession using Hextile encoding RFBSession rfbEncodingQualityLevel 6 RFBSession ignoring unknown encoding: 4294967073 RFBSession rfbEncodingLastRect RFBSession enabling LastRect protocol extension RFBSession rfbEncodingPointerPos RFBSession enabling cursor position updates RFBSession rfbEncodingRichCursor RFBSession enabling full-colour cursor updates RFBSession received rfbSetPixelFormat RFBSession set pixel format: 32bpp, depth 24 LE, true colour 255,255,255 16+8+0 RFBSession colour map a WordArray(16711680 65280 255 0) an IntegerArray(0 0 0 0) RFBSession before color table RFBSession rfbSetPixelFormat done <-- added by me.
RFB: caught ConnectionClosed: Connection close while waiting for data. RFB: caught ConnectionTimedOut: send data timeout; data not sent
Still blocked on that then...
What is your log giving?
Strange⦠To be fair, I run RFB in Pharo 1.3 and that (plus the click event) was the only thing I had to change. ⦠I hacked around and got it running in Pharo 4. Fileouts are attached. Note that this is probably an older version (copied from my 1.3 image). HTH, Max
Phil
â
participants (2)
-
Max Leske -
phil@highoctane.be