** Changed in: lightdm (Ubuntu Bionic)
Assignee: (unassigned) => Robert Ancell (robert-ancell)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1735415
Title:
VNC client does not exits after logout
Status in Light Display Manager:
Fix Committed
Status in lightdm package in Ubuntu:
New
Status in lightdm source package in Trusty:
New
Status in lightdm source package in Xenial:
New
Status in lightdm source package in Zesty:
New
Status in lightdm source package in Artful:
New
Status in lightdm source package in Bionic:
New
Bug description:
I have setup the remote desktop using the "[VNCServer]" configuration section.
When I log in using a VNC client and log out with the desktop panel menu,
the VNC client(remmina) does not exits.
I found that a VNC connection(TCP 5900) remains alive even though the Xvnc
server exits.
I also found the cause, GSocket instance is leaking in the "src/vnc-server.c".
static gboolean
read_cb (GSocket *socket, GIOCondition condition, VNCServer *server)
{
...
client_socket = g_socket_accept (socket, NULL, &error);
...
if (client_socket)
{
...
g_signal_emit (server, signals[NEW_CONNECTION], 0, client_socket);
}
return TRUE;
}
I think that "g_object_unref(client_socket)" should be called after
g_signal_emit().
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1735415/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp