Skip to contentSkip to conversation

kvm 58 and vncviewer

DISCUSSION Jerry Geis 6 participants 9 messages Jan 3, 2008 – Jan 4, 2008 6 messages not in the archive KVM

lore
Share & tools
lore

Jerry Geis

author
#0 lore raw

I have kvm-amd working fine.

when I am at my desktop everything works normal.
However, when I vncviewer into my desktop and startup my session I mouse over the XP desktop but I cannot click in the desktop and make it active. I get the little square mouse pointer.

I have to do the crl-alt to release the mouse but I cannot click into the desktop
to run anything.

What might I be missing?

jerry

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · Jerry Geis

I have kvm-amd working fine.

when I am at my desktop everything works normal.
However, when I vncviewer into my desktop and startup my session I mouse over the XP desktop but I cannot click in the desktop and make it active. I get the little square mouse pointer.

I have to do the crl-alt to release the mouse but I cannot click into the desktop
to run anything.

vncviewer does not do mouse grab so I'm not terribly sure what you're talking about. Are you sure you're using vncviewer and not SDL?

Regards,

Anthony Liguori

Quoted 4 lines

What might I be missing?

jerry

Quoted 9 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw
Quoted 13 lines · Anthony Liguori
Quoted 11 lines · Jerry Geis

I have kvm-amd working fine.

when I am at my desktop everything works normal.
However, when I vncviewer into my desktop and startup my session I mouse over the XP desktop but I cannot click in the desktop and make it active. I get the little square mouse pointer.

I have to do the crl-alt to release the mouse but I cannot click into the desktop
to run anything.

Quoted 14 lines

vncviewer does not do mouse grab so I'm not terribly sure what you're talking about. Are you sure you're using vncviewer and not SDL?

Regards,

Anthony Liguori

Quoted 6 lines

What might I be missing?

jerry

-------------------------------------------------------------------------

Anthony,

I dont exactly know what SDL is.

All I know is when I am at my desk everything is working fine... Then I go home and use "vncviewer machine" to remote into my desktop. Everything runs normal of course but when I select my minimized kvm session, it maximizes but I cannot click in the XP session to give it focus. All I get is the
little square mouse pointer like you get when you move the mouse off the kvm window
and kvm has grabbed the mouse. I cannot ever select anything in the XP window accessing my
machine with vncviewer.

I am using centos 5.1 and now kvm-59.

Jerry

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw
Quoted 14 lines · Jerry Geis

I dont exactly know what SDL is.

All I know is when I am at my desk everything is working fine... Then I go home and use "vncviewer machine" to remote into my desktop. Everything runs normal of course but when I select my minimized kvm session, it maximizes but I cannot click in the XP session to give it focus. All I get is the
little square mouse pointer like you get when you move the mouse off the kvm window
and kvm has grabbed the mouse. I cannot ever select anything in the XP window accessing my
machine with vncviewer.

So, you are using vncviewer to view the host desktop, and there selecting a kvm window?

Usually one connects to qemu's internal vnc server, not to the host.

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 90eb1dc70801030745o2f1fec29n59c1d7d7d85afc51-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#9 lore raw

---------- Forwarded message ----------
From: Javier Guerra <[email protected]>
Date: Jan 3, 2008 10:45 AM
Subject: Re: [kvm-devel] kvm 58 and vncviewer
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]>

Quoted 4 lines · Avi Kivity

So, you are using vncviewer to view the host desktop, and there selecting a kvm window?

Usually one connects to qemu's internal vnc server, not to the host.

i'll try to explain a little;

SDL is the inner API used by QEMU to display the window with your XP desktop. as an alternative, QEMU also has an internal VNC server, which works much better for remote access.

when local, it's usually better to use SDL, so it's the default; but when you're remote, add "-vnc 1" to the commandline. no window will be displayed but you can open a second VNC client and connect to the display '1' (i guess you're already using display '0').

hope that helps

--
Javier

Signature · 6 lines
Javier

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#10 lore raw
In reply to a message not in the archive
Quoted 47 lines · Jerry Geis
Quoted 14 lines · Anthony Liguori
Quoted 12 lines · Jerry Geis

I have kvm-amd working fine.

when I am at my desktop everything works normal.
However, when I vncviewer into my desktop and startup my session I mouse over the XP desktop but I cannot click in the desktop and make it active. I get the little square mouse pointer.

I have to do the crl-alt to release the mouse but I cannot click into the desktop
to run anything.

Quoted 15 lines

vncviewer does not do mouse grab so I'm not terribly sure what you're talking about. Are you sure you're using vncviewer and not SDL?

Regards,

Anthony Liguori

Quoted 7 lines

What might I be missing?

jerry

-------------------------------------------------------------------------

Anthony,

I dont exactly know what SDL is.

All I know is when I am at my desk everything is working fine... Then I go home and use "vncviewer machine" to remote into my desktop. Everything runs normal of course but when I select my minimized kvm session, it maximizes but I cannot click in the XP session to give it focus. All I get is the
little square mouse pointer like you get when you move the mouse off the kvm window
and kvm has grabbed the mouse. I cannot ever select anything in the XP window accessing my
machine with vncviewer.

Quoted 4 lines

I am using centos 5.1 and now kvm-59.

Jerry

What is the command line you are using ?
If there is no '-vnc' in your kvm command line, try adding '-vnc :50',
meaning: /usr/bin/kvm -hda ... -vnc :50
And from your home machine try vncviewer <your-desktop>:50

Another option is use F8 and mark "alt" and "ctrl" then press 1, another F8 and unmark "alt" and "ctrl"

Hope that helps,
Uri.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#11 lore raw
In reply to a message not in the archive
Quoted 13 lines · On Thursday 03 January 2008 20:58:17 Jerry Geis wrote:

I dont exactly know what SDL is.

All I know is when I am at my desk everything is working fine... Then I go home and use "vncviewer machine" to remote into my desktop. Everything runs normal of course but when I select my minimized kvm session, it maximizes but I cannot click in the XP session to give it focus. All I get is the
little square mouse pointer like you get when you move the mouse off the kvm window
and kvm has grabbed the mouse. I cannot ever select anything in the XP window accessing my
machine with vncviewer.

Quoted 1 line

I am using centos 5.1 and now kvm-59.

You should try something like this:

Start kvm with the -vnc :1 switch. This won't give you the usual qemu/kvm window that you see. You will need to use vncviewer on the host to see the kvm window.

Use this setup then from your home pc; it should be better.

Amit

Quoted 4 lines

Jerry

Quoted 8 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#12 lore raw
In reply to a message not in the archive
Quoted 33 lines · Jerry Geis
Quoted 13 lines · Anthony Liguori
Quoted 11 lines · Jerry Geis

I have kvm-amd working fine.

when I am at my desktop everything works normal.
However, when I vncviewer into my desktop and startup my session I mouse over the XP desktop but I cannot click in the desktop and make it active. I get the little square mouse pointer.

I have to do the crl-alt to release the mouse but I cannot click into the desktop
to run anything.

Quoted 14 lines

vncviewer does not do mouse grab so I'm not terribly sure what you're talking about. Are you sure you're using vncviewer and not SDL?

Regards,

Anthony Liguori

Quoted 6 lines

What might I be missing?

jerry

-------------------------------------------------------------------------

Anthony,

I dont exactly know what SDL is.

Quoted 11 lines

All I know is when I am at my desk everything is working fine... Then I go home and use "vncviewer machine" to remote into my desktop. Everything runs normal of course but when I select my minimized kvm session,
it maximizes but I cannot click in the XP session to give it focus. All I get is the
little square mouse pointer like you get when you move the mouse off the kvm window
and kvm has grabbed the mouse. I cannot ever select anything in the XP window accessing my
machine with vncviewer.

If you add "-usb -usbdevice tablet" to your QEMU command, you should haven't this problem anymore.

Regards,

Anthony Liguori

Quoted 4 lines

I am using centos 5.1 and now kvm-59.

Jerry

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#14 lore raw
Quoted 46 lines · Anthony Liguori
Quoted 33 lines · Jerry Geis
Quoted 13 lines · Anthony Liguori
Quoted 11 lines · Jerry Geis

I have kvm-amd working fine.

when I am at my desktop everything works normal.
However, when I vncviewer into my desktop and startup my session I mouse over the XP desktop but I cannot click in the desktop and make it active. I get the little square mouse pointer.

I have to do the crl-alt to release the mouse but I cannot click into the desktop
to run anything.

Quoted 14 lines

vncviewer does not do mouse grab so I'm not terribly sure what you're talking about. Are you sure you're using vncviewer and not SDL?

Regards,

Anthony Liguori

Quoted 6 lines

What might I be missing?

jerry

-------------------------------------------------------------------------

Anthony,

I dont exactly know what SDL is.

Quoted 11 lines

All I know is when I am at my desk everything is working fine... Then I go home and use "vncviewer machine" to remote into my desktop. Everything runs normal of course but when I select my minimized kvm session,
it maximizes but I cannot click in the XP session to give it focus. All I get is the
little square mouse pointer like you get when you move the mouse off the kvm window
and kvm has grabbed the mouse. I cannot ever select anything in the XP window accessing my
machine with vncviewer.

Quoted 13 lines

If you add "-usb -usbdevice tablet" to your QEMU command, you should haven't this problem anymore.

Regards,

Anthony Liguori

Quoted 4 lines

I am using centos 5.1 and now kvm-59.

Jerry

Thanks - that does work.

Jerry

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/