First, a big "Well Done" to everyone who has helped make VNC
as good as it is. Keep up the excellent work.
I was originally going to post a question here. But in
trying to clarify exactly what the problem was (and showing that
I had exhausted all the options!) I fell over a solution.
However, I'll post the problem description and solution anyway,
in case it helps others in future. And ask a question about how the
problem might arise.
I am using VNC between two Linux workstations, one of which is
running VMWare, commercial software that allows
a Linux PC to run a number of virtual machines.
I am using RedHat 7.1 for both server and client.
The client is running X at 16 bits per pixel.
VMWare runs on the virtual X server just fine, and
is accessible across a network MUCH faster than opening
the X window remotely. Very impressive.
EXCEPT.... the colours on the Windows desktop
are seriously scrambled: folders are turquoise, the "e" in the windows
explorer icon is orange, pictures are all over the place.
Note that everything is fine while the virtual PC is booting:
the colours in the sky with the moving bit at the bottom are fine.
Bafflement. But then I noticed that when I started the client, it reported
that it and the server were using two different "True Colour" encodings:
Connected to VNC server, using protocol version 3.3
VNC server default format:
16 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 63 green 31 blue 31, shift red 0 green 6 blue 11
Using default colormap which is TrueColor. Pixel format:
16 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 31 green 63 blue 31, shift red 11 green 5 blue 0
Using shared memory PutImage
So I tried telling the vncserver to use the pixel format that
the client seems to expect:
vncserver -depth 16 -pixelformat RGB565
And BOING!! Everything is hunky dory.
Any idea why this is happening? It seems that VMWare is getting
confused about the pixel format in the server.
Who's doing what wrong?
Robert.
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------