24-bit color support to Xvnc

James Weatherall jnw "at" realvnc.com
Wed Jun 18 12:38:01 2008


Hi Paresh,

Tow points:

1.  You're specifying "-depth 24" but then overriding that with "-pixeformat
rgb888".  You only need one or the other.

2.  The VNC Viewer's Connection Info dialog provides the Server format and
the format currently in-use.  The format currently in-use can never be
higher colour-depth than the format of the viewer computer's display.  From
what you've described it sounds like your viewer is running on 16bpp display
hardware.

Cheers,

--
Wez @ RealVNC Ltd
 

> -----Original Message-----
> From: paresh masani [mailto:masaniparesh "at" gmail.com] 
> Sent: 18 June 2008 12:35
> To: James Weatherall
> Cc: vnc-list "at" realvnc.com
> Subject: Re: 24-bit color support to Xvnc
> 
> That what i am doing. Please refer below command in 
>  
> Xvnc :10 -desktop 'UNIX" -httpd /usr/local/vnc/classes -auth 
> /.Xauthority -geometry 1268x896 -depth 24 -pixelformat RGB888 
> -rfbwait 30000 -rfbauth /passwd -pn -fp 
>  
> Here specified depth is 24 then also i am getting pixel 
> formate depth is 16. Please refer attached file.
>  
> Thanks,
> Paresh
> 
>  
> On 6/18/08, James Weatherall <jnw "at" realvnc.com> wrote: 
> 
> 	Paresh,
> 	
> 	Please refer to the documentation for details on 
> configuring the Xvnc VNC
> 	Server for Unix, in particular the "-depth" option, 
> which controls the
> 	colour depth of the root window of the X desktop.  E.g:
> 	
> 	vncserver -depth 24
> 	
> 	Will create a true-colour 32 bits-per-pixel, depth 24 
> desktop, with 8 bits
> 	for each of the red, green and blue colour components.
> 	
> 	Regards,
> 	
> 	--
> 	Wez @ RealVNC Ltd
> 	
> 	
> 	> -----Original Message-----
> 	> From: vnc-list-admin "at" realvnc.com
> 	> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of paresh masani
> 	> Sent: 16 June 2008 11:39
> 	> To: vnc-list "at" realvnc.com
> 	> Subject: 24-bit color support to Xvnc
> 	>
> 	> Hi,
> 	>
> 	> I read documentation of Xvnc and found that it uses cfb(color
> 	> frame buffer).
> 	> It supports only 8, 16 and 32 bit colore and dont have
> 	> support for 24-bit color and 64-bit color. Could any one
> 	> please tell me why it is like this. 24 and 64-bit color
> 	> support does not required?
> 	>
> 	> Thanks,
> 	> Paresh
> 	> _______________________________________________
> 	> VNC-List mailing list
> 	> VNC-List "at" realvnc.com
> 	> To remove yourself from the list visit:
> 	> http://www.realvnc.com/mailman/listinfo/vnc-list
> 	>
> 	
> 	
> 
> 
>