All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: xen-devel@lists.xensource.com
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Xen pvfb absolute/relative mystery, some findings
Date: Sun, 5 Sep 2010 19:26:33 +0300	[thread overview]
Message-ID: <20100905162633.GI2804@reaktio.net> (raw)

Hello,

I just noticed something about the absolute/relative mouse 
that might be good to know.

My test-setup:

	Xen dom0:
		- Fedora 13 x86_64
		- Xen 4.0.1 rpms
		- Latest pvops dom0 kernel from xen.git xen/stable-2.6.32.x branch (2.6.32.21)
		- runlevel 3, no Xserver running.
		- vncviewer (tigervnc) default version from F13
		- virt-manager and virt-viewer default versions from F13

	Client 1:
		- Fedora 13 x86_64
		- Gnome desktop
		- Normal openssh from gnome-terminal

	Client 2:
		- Windows 7
		- Putty
		- Xming Xserver

General:
	- I run Xen PV guests on the Fedora 13 Xen dom0 host.
	- I use ssh X11 forwarding from the clients to connect to the dom0.
	- I run "virt-manager", "virt-viewer" and "vncviewer" on dom0, 
	  but display the GUI through ssh X11 forwarding on the clients.

And then the findings: If I get absolute or relative mouse depends 
what Xserver I use! In addition to what vnc program I use..

Test results:

	ssh from client 1 (F13) to dom0:
		- CentOS 5.5 guest, virt-manager,virt-viewer:	absolute, single cursor.
		- CentOS 5.5 guest, vncviewer:			relative, dual cursors.

		- Fedora 13 guest, virt-manager,virt-viewer:	absolute, single cursor.
		- Fedora 13 guest, vncviewer:			relative, dual cursors.

	ssh from client 2 (Win7+Xming) to dom0:
		- CentOS 5.5 guest, virt-manager,virt-viewer:	relative, dual cursors.
		- CentOS 5.5 guest, vncviewer:			relative, dual cursors.

		- Fedora 13 guest, virt-manager,virt-viewer:	relative, dual cursors.
		- Fedora 13 guest, vncviewer:			relative, dual cursors.		


I verified those multiple times, and they're reproducible every time.

Note that "virt-manager", "virt-viewer" and "vncviewer" versions 
are exactly the same for both clients, since I'm running them 
on dom0 and not on the clients! Clients only have Xserver to display the GUIs.

Reasons (my guess):
	- tigervnc vncviewer doesn't support some extension to get the absolute mode.
	- Xming Xserver on Windows doesn't support hiding the mouse cursor so we always get relative?

Also one interesting bug:
	- I tested the F13 guest from client 1 first.. all ok. Then I disconnected the console,
	  and then connected from client 2 (Xming). Now the mouse cursor got 'stuck'
	  on upper left corner of the screen.. It wouldn't move out from there anymore.
	  It was just kind of 'shaking' a bit around where it was.


-- Pasi

             reply	other threads:[~2010-09-05 16:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-05 16:26 Pasi Kärkkäinen [this message]
2010-09-24 11:39 ` Failure to load the most recent 2.6.32.21 pvops under Xen 4.0.1 Boris Derzhavets
2010-09-24 14:21   ` Boris Derzhavets
2010-09-24 19:03   ` Jeremy Fitzhardinge
2010-09-24 19:17     ` Boris Derzhavets
2010-09-25 12:32     ` Boris Derzhavets
2010-09-29 19:36     ` Bill McGonigle
2010-09-29 21:18     ` Bill McGonigle
2010-09-30 13:21       ` Konrad Rzeszutek Wilk

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=20100905162633.GI2804@reaktio.net \
    --to=pasik@iki.fi \
    --cc=jeremy@goop.org \
    --cc=xen-devel@lists.xensource.com \
    /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 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.