All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] unable to auth to vnc with qemu 2.4.0-rc0
@ 2015-07-14 11:58 Vasiliy Tolstov
  2015-07-14 12:01 ` Paolo Bonzini
  0 siblings, 1 reply; 6+ messages in thread
From: Vasiliy Tolstov @ 2015-07-14 11:58 UTC (permalink / raw)
  To: qemu-devel

vncviewer can't auto to qemu vnc with plain auth:
Client sock=23 ws=0 auth=2 subauth=0
New client on socket 23
vnc_set_share_mode/23: undefined -> connecting
Write Plain: Pending output 0x7fc8eba5dbe0 size 1036 offset 12. Wait SSF 0
Wrote wire 0x7fc8eba5dbe0 12 -> 12
Read plain (nil) size 0 offset 0
Read wire 0x7fc8eaec3890 4096 -> 12
Client request protocol version 3.8
Telling client we support auth 2
Write Plain: Pending output 0x7fc8eba5dbe0 size 1036 offset 2. Wait SSF 0
Wrote wire 0x7fc8eba5dbe0 2 -> 2
Read plain 0x7fc8eaec3890 size 5120 offset 0
Read wire 0x7fc8eaec3890 4096 -> 1
Client requested auth 2
Start VNC auth
Write Plain: Pending output 0x7fc8eba5dbe0 size 1036 offset 16. Wait SSF 0
Wrote wire 0x7fc8eba5dbe0 16 -> 16
Read plain 0x7fc8eaec3890 size 5120 offset 0
Read wire 0x7fc8eaec3890 4096 -> 16
Client challenge response did not match
Write Plain: Pending output 0x7fc8eba5dbe0 size 1036 offset 30. Wait SSF 0
Wrote wire 0x7fc8eba5dbe0 30 -> 30
Closing down client sock: protocol error
vnc_set_share_mode/23: connecting -> disconnected


-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] unable to auth to vnc with qemu 2.4.0-rc0
  2015-07-14 11:58 [Qemu-devel] unable to auth to vnc with qemu 2.4.0-rc0 Vasiliy Tolstov
@ 2015-07-14 12:01 ` Paolo Bonzini
  2015-07-14 12:05   ` Vasiliy Tolstov
  2015-07-14 13:59   ` Vasiliy Tolstov
  0 siblings, 2 replies; 6+ messages in thread
From: Paolo Bonzini @ 2015-07-14 12:01 UTC (permalink / raw)
  To: Vasiliy Tolstov, qemu-devel

On 14/07/2015 13:58, Vasiliy Tolstov wrote:
> vncviewer can't auto to qemu vnc with plain auth:
> Client sock=23 ws=0 auth=2 subauth=0
> New client on socket 23
> vnc_set_share_mode/23: undefined -> connecting
> Write Plain: Pending output 0x7fc8eba5dbe0 size 1036 offset 12. Wait SSF 0
> Wrote wire 0x7fc8eba5dbe0 12 -> 12
> Read plain (nil) size 0 offset 0
> Read wire 0x7fc8eaec3890 4096 -> 12
> Client request protocol version 3.8
> Telling client we support auth 2
> Write Plain: Pending output 0x7fc8eba5dbe0 size 1036 offset 2. Wait SSF 0
> Wrote wire 0x7fc8eba5dbe0 2 -> 2
> Read plain 0x7fc8eaec3890 size 5120 offset 0
> Read wire 0x7fc8eaec3890 4096 -> 1
> Client requested auth 2
> Start VNC auth
> Write Plain: Pending output 0x7fc8eba5dbe0 size 1036 offset 16. Wait SSF 0
> Wrote wire 0x7fc8eba5dbe0 16 -> 16
> Read plain 0x7fc8eaec3890 size 5120 offset 0
> Read wire 0x7fc8eaec3890 4096 -> 16
> Client challenge response did not match
> Write Plain: Pending output 0x7fc8eba5dbe0 size 1036 offset 30. Wait SSF 0
> Wrote wire 0x7fc8eba5dbe0 30 -> 30
> Closing down client sock: protocol error
> vnc_set_share_mode/23: connecting -> disconnected

Can you send the config.log and config-host.mak file from the build
directory?

Paolo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] unable to auth to vnc with qemu 2.4.0-rc0
  2015-07-14 12:01 ` Paolo Bonzini
@ 2015-07-14 12:05   ` Vasiliy Tolstov
  2015-07-14 13:59   ` Vasiliy Tolstov
  1 sibling, 0 replies; 6+ messages in thread
From: Vasiliy Tolstov @ 2015-07-14 12:05 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

2015-07-14 15:01 GMT+03:00 Paolo Bonzini <pbonzini@redhat.com>:
> Can you send the config.log and config-host.mak file from the build
> directory?


i can send only jenkins build log =(, may be it helps:
http://cdn.selfip.ru/public/qemu.log

-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] unable to auth to vnc with qemu 2.4.0-rc0
  2015-07-14 12:01 ` Paolo Bonzini
  2015-07-14 12:05   ` Vasiliy Tolstov
@ 2015-07-14 13:59   ` Vasiliy Tolstov
  2015-07-14 14:05     ` Paolo Bonzini
  1 sibling, 1 reply; 6+ messages in thread
From: Vasiliy Tolstov @ 2015-07-14 13:59 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

2015-07-14 15:01 GMT+03:00 Paolo Bonzini <pbonzini@redhat.com>:
> Can you send the config.log and config-host.mak file from the build
> directory?


I see in list that patch already created. Thanks!

-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] unable to auth to vnc with qemu 2.4.0-rc0
  2015-07-14 13:59   ` Vasiliy Tolstov
@ 2015-07-14 14:05     ` Paolo Bonzini
  2015-07-14 14:07       ` Vasiliy Tolstov
  0 siblings, 1 reply; 6+ messages in thread
From: Paolo Bonzini @ 2015-07-14 14:05 UTC (permalink / raw)
  To: Vasiliy Tolstov; +Cc: qemu-devel



On 14/07/2015 15:59, Vasiliy Tolstov wrote:
> 2015-07-14 15:01 GMT+03:00 Paolo Bonzini <pbonzini@redhat.com>:
>> > Can you send the config.log and config-host.mak file from the build
>> > directory?
> 
> I see in list that patch already created. Thanks!

Which patch is it?

Paolo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] unable to auth to vnc with qemu 2.4.0-rc0
  2015-07-14 14:05     ` Paolo Bonzini
@ 2015-07-14 14:07       ` Vasiliy Tolstov
  0 siblings, 0 replies; 6+ messages in thread
From: Vasiliy Tolstov @ 2015-07-14 14:07 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

2015-07-14 17:05 GMT+03:00 Paolo Bonzini <pbonzini@redhat.com>:
> Which patch is it?


From: Wolfgang Bumiller <w.bumiller@proxmox.com>

Commit 800567a61 updated the code to the generic crypto API
and mixed up encrypt and decrypt functions in
procotol_client_auth_vnc.
(Used to be: deskey(key, EN0) which encrypts, and was
changed to qcrypto_cipher_decrypt in 800567a61.)
Changed it to qcrypto_cipher_encrypt now.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-14 14:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-14 11:58 [Qemu-devel] unable to auth to vnc with qemu 2.4.0-rc0 Vasiliy Tolstov
2015-07-14 12:01 ` Paolo Bonzini
2015-07-14 12:05   ` Vasiliy Tolstov
2015-07-14 13:59   ` Vasiliy Tolstov
2015-07-14 14:05     ` Paolo Bonzini
2015-07-14 14:07       ` Vasiliy Tolstov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.