Description of problem: libvncclient code does not close the socket when disconnecting from the server. As a result clients that don't exit immediately will leak file descriptors, e.g. KDE's krdc. This is especially annoying when you tunnel VNC connection through SSH, because SSH refuses to close the connection as it thinks there is still an active connection. I've reported the error upstream (see URL) and supplied a patch. Version-Release number of selected component (if applicable): libvncserver-0.9.1-4.fc11 How reproducible: Always Steps to Reproduce: 1. netstat -tp | grep krdc 2. start krdc and create a connection to a VNC server 3. netstat -tp | grep krdc 4. close the connection to the the VNC server 5. netstat -tp | grep krdc Actual results: netstat still shows an open TCP connection owned by krdc Expected results: netstat does not show any open TCP connections owned by krdc when there are no VNC connections ongoing.
thanks.
Created attachment 344954 [details] proposed patch
* Sat May 23 2009 Rex Dieter <rdieter> - 0.9.7-3 - Socket is not closed when disconnecting from server (#501895)
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Koji shows that the F11 package has been built over two months ago. Any chance that this gets pushed to updates at some point?
Ah, true thanks for the reminder, can you confirm the issue is fixed in the newer build? http://koji.fedoraproject.org/koji/buildinfo?buildID=103459
libvncserver-0.9.7-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/libvncserver-0.9.7-2.fc11
Meh, looks like I botched the Release # (2 vs 3), but it should be mostly harmless.
libvncserver-0.9.7-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libvncserver'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8383
libvncserver-0.9.7-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.