From: Yaniv Kaul <ykaul@redhat.com>
To: "David S. Ahern" <daahern@cisco.com>
Cc: Avi Kivity <avi@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] resetting a stale VNC connection
Date: Tue, 21 Apr 2009 19:38:54 +0300 [thread overview]
Message-ID: <49EDF69E.9080901@redhat.com> (raw)
In-Reply-To: <49EDF434.3000202@cisco.com>
On 4/21/2009 7:28 PM, David S. Ahern wrote:
> Yaniv Kaul wrote:
>
>> On 4/21/2009 7:12 PM, Avi Kivity wrote:
>>
>>> David S. Ahern wrote:
>>>
>>>> 'egrep -r SO_KEEPALIVE qemu' did not turn up any hits for the VNC code.
>>>> Can it be enabled within qemu via command line arg?
>>>>
>>> It's not in the code AFAIK. I was suggesting to add it
>>> (unconditionally).
>>>
>
> Ok, I misunderstood your last response. I'll add it, unconditionally.
>
>
>>>> I am not aware of an OS setting to enable keepalives for all sockets. Is
>>>> there one in RHEL5?
>>>>
>>> I don't think so. But enabling keepalives for vnc should be a one
>>> liner (or rather two, since we want to change the default interval).
>>>
>
> What default interval would you prefer over the global values?
>
>
>> I think it should (also?) honor the 'shared desktop' flag.
>>
>
> What do you mean by the 'shared desktop' flag?
>
VNC clients send a flag called 'shared-flag' in their init message.
>From http://www.realvnc.com/docs/rfbproto.pdf , section 6.3.1 ClientInit:
Shared-flag is non-zero (true) if the server should try to share the
desktop by leaving
other clients connected, zero (false) if it should give exclusive access
to this client by
disconnecting all other clients.
> david
>
next prev parent reply other threads:[~2009-04-21 16:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-21 13:01 [Qemu-devel] resetting a stale VNC connection David S. Ahern
2009-04-21 13:38 ` Avi Kivity
2009-04-21 15:10 ` David S. Ahern
2009-04-21 16:12 ` Avi Kivity
2009-04-21 16:19 ` Yaniv Kaul
2009-04-21 16:28 ` David S. Ahern
2009-04-21 16:33 ` Avi Kivity
2009-04-21 18:33 ` David Ahern
2009-04-21 18:38 ` Avi Kivity
2009-04-21 16:38 ` Yaniv Kaul [this message]
2009-04-21 16:40 ` Daniel P. Berrange
2009-04-21 16:49 ` Anthony Liguori
2009-04-21 17:17 ` Daniel P. Berrange
2009-04-21 19:30 ` David S. Ahern
2009-04-21 19:32 ` Anthony Liguori
2009-04-22 8:18 ` Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49EDF69E.9080901@redhat.com \
--to=ykaul@redhat.com \
--cc=avi@redhat.com \
--cc=daahern@cisco.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).