dispmanx_vnc
dispmanx_vnc copied to clipboard
Keyboard doesnt work
This is on Rasbian stretch and the vnc client is tigervnc-1.8.0 on linux. The keyboard presses are not being picked up on the vnc server.
Evdev is loaded on RPI,
$ sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: SEM HCT Keyboard
/dev/input/event1: SEM HCT Keyboard
/dev/input/event2: Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)
Here is the log
$ sudo /usr/local/bin/dispmanx_vncserver
Open display[0]...
info: 1920, 1080, 0, 0
Display is 1920 x 1080
Server bpp:16
Server bigEndian:0
Server redShift:0
Server blueShift:10
Server greeShift:5
19/10/2017 05:46:30 Listening for VNC connections on TCP port 5900
19/10/2017 05:46:30 Listening for VNC connections on TCP6 port 5900
open /dev/uinput returned 6.
First write returned 1116.
ioctl UI_DEV_CREATE returned 0.
19/10/2017 05:46:40 Got connection from client 192.168.1.128
19/10/2017 05:46:40 other clients:
19/10/2017 05:46:40 Normal socket connection
Open display[0]...
info: 1920, 1080, 0, 0
Display is 1920 x 1080
19/10/2017 05:46:40 Client Protocol Version 3.8
19/10/2017 05:46:40 Protocol version sent 3.8, using 3.8
19/10/2017 05:46:41 rfbProcessClientSecurityType: executing handler for type 1
19/10/2017 05:46:41 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
19/10/2017 05:46:42 Pixel format for client 192.168.1.128:
19/10/2017 05:46:42 32 bpp, depth 24, little endian
19/10/2017 05:46:42 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
19/10/2017 05:46:42 Enabling X-style cursor updates for client 192.168.1.128
19/10/2017 05:46:42 Enabling full-color cursor updates for client 192.168.1.128
19/10/2017 05:46:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
19/10/2017 05:46:42 Enabling NewFBSize protocol extension for client 192.168.1.128
19/10/2017 05:46:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
19/10/2017 05:46:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECD)
19/10/2017 05:46:42 Enabling LastRect protocol extension for client 192.168.1.128
19/10/2017 05:46:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC7)
19/10/2017 05:46:42 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC8)
19/10/2017 05:46:42 Using image quality level 8 for client 192.168.1.128
19/10/2017 05:46:42 Using JPEG subsampling 0, Q92 for client 192.168.1.128
19/10/2017 05:46:42 Using tight encoding for client 192.168.1.128
19/10/2017 05:47:00 Enabling X-style cursor updates for client 192.168.1.128
19/10/2017 05:47:00 Enabling full-color cursor updates for client 192.168.1.128
19/10/2017 05:47:00 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
19/10/2017 05:47:00 Enabling NewFBSize protocol extension for client 192.168.1.128
19/10/2017 05:47:00 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
19/10/2017 05:47:00 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECD)
19/10/2017 05:47:00 Enabling LastRect protocol extension for client 192.168.1.128
19/10/2017 05:47:00 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC7)
19/10/2017 05:47:00 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC8)
19/10/2017 05:47:00 Using image quality level 6 for client 192.168.1.128
19/10/2017 05:47:00 Using JPEG subsampling 0, Q79 for client 192.168.1.128
19/10/2017 05:47:00 Switching from tight to tight Encoding for client 192.168.1.128
^C19/10/2017 05:47:11 Client 192.168.1.128 gone
19/10/2017 05:47:11 Statistics events Transmit/ RawEquiv ( saved)
19/10/2017 05:47:11 FramebufferUpdate : 3 | 0/ 0 ( 0.0%)
19/10/2017 05:47:11 LastRect : 1 | 12/ 12 ( 0.0%)
19/10/2017 05:47:11 tight : 39 | 449265/ 8301644 ( 94.6%)
19/10/2017 05:47:11 RichCursor : 2 | 510/ 510 ( 0.0%)
19/10/2017 05:47:11 TOTALS : 45 | 449787/ 8302166 ( 94.6%)
19/10/2017 05:47:11 Statistics events Received/ RawEquiv ( saved)
19/10/2017 05:47:11 KeyEvent : 10 | 80/ 80 ( 0.0%)
19/10/2017 05:47:11 FramebufferUpdate : 4 | 40/ 40 ( 0.0%)
19/10/2017 05:47:11 SetEncodings : 2 | 136/ 136 ( 0.0%)
19/10/2017 05:47:11 SetPixelFormat : 1 | 20/ 20 ( 0.0%)
19/10/2017 05:47:11 PointerEvent : 44 | 264/ 264 ( 0.0%)
19/10/2017 05:47:11 TOTALS : 61 | 540/ 540 ( 0.0%)