GNOME Bugzilla – Bug 156967
title of vnc session is 'LibVNCServer'
Last modified: 2006-11-30 17:56:58 UTC
When using vncviewer+vino, I get a window title called 'TightVNC: LibVNCServer'. When I was using vncserver directly, I'd get something like 'TightVNC: $USERNAME'. Seems like vino should set the title to be something like 'TightVNC: $USERNAME@$HOSTNAME' or something like that.
https://launchpad.net/distros/ubuntu/+source/vino/+bug/43051 is about the same bug.
Created attachment 77218 [details] [review] Proposed patch Hi. Here is the [small] proposed patch. The name gets now username@machine. A doubt in rfb.h: Why rfbScreen->desktopName is 'const char *' and not just 'char *' ?
Thanks John I've attached what I committed: 2006-11-30 Mark McLoughlin <mark@skynet.ie> Based on patch from John Wendell <wendell_listas@bani.com.br> in bug #156967. * server/libvncserver/main.c: (rfbGetScreen): strdup the default desktop name. (rfbSetDesktopName): add new function. (rfbScreenCleanup): free the desktop name * server/libvncserver/rfb/rfb.h: make desktopName not const and add rfbSetDesktopName() * server/vino-server.c: (vino_server_init_from_screen): set the desktop name here to user@host
Created attachment 77434 [details] [review] vino-set-desktop-name.patch