#11 can't connect to server with 24 bpp depth

open
nobody
None
5
2005-09-25
2005-09-25
Markus
No

Connection attempts fail when server operates in 24 bit
per pixel color depth.
Client side output:
VNC server supports protocol version 3.130 (viewer 3.3)
Password:
VNC authentication succeeded
Desktop name "root's x11 desktop (blacklap:0)"
Connected to VNC server, using protocol version 3.3
VNC server default format:
24 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift
red 16 green 8 blue 0
Using default colormap which is TrueColor. Pixel format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift
red 16 green 8 blue 0
Same machine: preferring raw encoding
vncviewer: read: Connection reset by peer

(different encodings won't change anything).

Server side output:
(II) 25/09/2005 14:48:45 Got connection from client
127.0.0.1
(II) 25/09/2005 14:48:45 (other clients(II)
25/09/2005 14:48:45 192.168.4.100(II) 25/09/2005
14:48:45 192.168.4.100(II) 25/09/2005 14:48:45 )
(II) 25/09/2005 14:48:45 Protocol version 3.3
(II) 25/09/2005 14:48:47 Full-control authentication
passed by 127.0.0.1
(II) 25/09/2005 14:48:47 Pixel format for client 127.0.0.1:
(II) 25/09/2005 14:48:47 32 bpp, depth 24, little endian
(II) 25/09/2005 14:48:47 true colour: max r 255 g 255
b 255, shift r 16 g 8 b 0
(II) 25/09/2005 14:48:47 rfbSetTranslateFunction:
server bits per pixel not 8, 16 or 32
(II) 25/09/2005 14:48:47 Client 127.0.0.1 gone
(II) 25/09/2005 14:48:47 Statistics:
(II) 25/09/2005 14:48:47 framebuffer updates 0,
rectangles 0, bytes 0

It does work however when XF86-Server is in 16bpp mode.

Discussion

  • Alan Hourihane
    Alan Hourihane
    2005-09-25

    Logged In: YES
    user_id=2372

    Moving this to feature requests as 24bpp is not supported
    (and never has been).

    32bpp is supported, so you need to make sure that your
    Xserver is starting with 32bpp.

     
  • Markus
    Markus
    2005-10-13

    Logged In: YES
    user_id=1351376

    Pitty. My laptop wouldn't make 32bpp :-( But thanks for the
    answer. Please consider also if a better error message could
    be given for that case..