VNC client does not exits after logout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
High
|
Unassigned | ||
lightdm (Ubuntu) |
Fix Released
|
Medium
|
Robert Ancell | ||
Trusty |
New
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
Zesty |
New
|
Undecided
|
Unassigned | ||
Artful |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Robert Ancell |
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)
{
...
}
return TRUE;
}
I think that "g_object_
Changed in lightdm: | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in lightdm (Ubuntu Bionic): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Thanks for the fix! /github. com/CanonicalLt d/lightdm/ commit/ 8283fc7b84e4567 60172f042bafc58 27b6fcf29e
https:/