I have a working implementation now, using a new pseudo encoding called
"DesktopName". It's pretty similiar to the existing "DesktopSize"
encoding.

However, it seems like RealVNC will not allocate an encoding number for my
new encoding. There position was that this should be a TightVNC-specific
protocol message. I have a different position, I want this new encoding to
be useful for all and any VNC project and implementation, regardless of if
they support the Tight extensions or not. Therefore, my opinion is that
the new "DesktopName" should be a separate encoding. Even though I have no
officially assigned number from RealVNC, I'm claiming one:

Number    Name
-306      DesktopName pseudo-encoding


Here's the description:

"A client which requests the DesktopName pseudo-encoding is declaring that
it is capable of coping with a change of the desktop name. The server
changes the desktop name by sending a pseudo-rectangle with the
DesktopName pseudo-encoding in an update. The pseudo-rectangle's
x-position, y-position, width, and height must be zero. After the
rectangle header, a string with the new name follows. "

Best regards,
Peter Cstrand

On Thu, 3 Jan 2008, Peter Cstrand wrote:

>
> I'd like to be able to change the desktop name on the fly so that a
> "vncconfig -set desktop=something" immediately changes the vncviewer
> window title.
>
> Currently, the desktop name (as specified by the -desktop option to
> Xvnc) remains static during the entire lifespan of the Xvnc
> process. If you change the name with "vncconfig -set" you can verify
> that it is correctly set with "vncconfig -get". However, vncviewers
> always shows the original name, even if you disconnect and
> reconnect. I guess this is bug which can be fixed fairly easily.
>
> As stated above, though, I'd like to have the desktop name updated
> even without reconnecting the viewer. Since the desktop name is set in
> the ServerInit message, I guess we need a new server to client message
> for updating the name?

---
Peter Cstrand          ThinLinc Chief Developer
Cendio AB               http://www.cendio.se
Wallenbergs gata 4
583 30 LinkC6ping       Phone: +46-13-21 46 00
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to