From 1f32c21c78001f9e0bc70f6654c6c2598ae8bea7 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Mon, 21 Sep 2015 16:38:03 +0900 Subject: [PATCH] Use 32 bits per pixel by default, since 24 bpp doesn't seem to be a supported option in the RFB 3.8 spec. --- lib/units/device/plugins/vnc/util/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/units/device/plugins/vnc/util/connection.js b/lib/units/device/plugins/vnc/util/connection.js index c80870f0..7d7868ae 100644 --- a/lib/units/device/plugins/vnc/util/connection.js +++ b/lib/units/device/plugins/vnc/util/connection.js @@ -25,7 +25,7 @@ function VncConnection(conn, options) { this._serverWidth = this.options.width this._serverHeight = this.options.height this._serverPixelFormat = new PixelFormat({ - bitsPerPixel: 24 + bitsPerPixel: 32 , depth: 24 , bigEndianFlag: os.endianness() == 'BE' ? 1 : 0 , trueColorFlag: 1