Help: kdelibs/-base change in 3.2.1 broke krfb/kinetd (#77412)

Waldo Bastian bastian at kde.org
Wed Mar 31 22:15:54 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed March 31 2004 21:49, Tim Jansen wrote:
> On Wednesday 31 March 2004 20:55, Texstar wrote:
> > I can connect to krfb using tightvnc client version 1.2.7 from a winbox
> > however I cannot connect to krfb using tightvnc client version 1.2.9.
>
> Then you have a different problem. You can reproduce the problem with
> telnet: when an invitation is open (or uninvited connections are allowed),
> just type telnet localhost 5800
>
> This should connect to the built-in HTTP server, but the connection is
> closed before the krfb_http script has been invoked.

Yes, something has changed indeed. I changed KSocket to set the CLOEXEC flag 
by default because processes spawned by e.g. konqueror had tons of 
file-descriptors left open. See kextsock.cpp r1.69

I suggest to temporarily (?) remove the CLOEXEC when you launch the krfb_http 
script:
		fcntl(sockfd, F_SETFD, fcntl(sockfd, F_GETFD) & ~FD_CLOEXEC);

Cheers,
Waldo
- -- 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ bastian at kde.org | Is your software SUSE LINUX READY? | bastian at suse.com
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAazUKN4pvrENfboIRAsDtAJ9gin/OGHrRzUvIpGkmmAeN5ZtDPwCcCuz5
bdfJQJ5HKFutenW2ezTK+NM=
=JI2i
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list