Garrett Robinson
2011-Mar-21 06:11 UTC
[Xen-users] Keyboard repeat error - VNC Xen virtual framebuffer
Hello Xen-Users, I am currently provisioning old Linux guests as HVM on a server, and giving clients access through VNC. The current setup uses the default Xen framebuffer as a VNC server (all configuration files have vnc=1 and a few other settings), and my clients are using vinagre (a.k.a. Remote Desktop Viewer) on Arch as their VNC client. Problem: Keyboard input is not consistently handled between the VNC client and VM. Sometimes keystrokes are dropped, more noticeably some seem to be repeated, sometimes many times. For example, tapping "Return" may send 10 or 20 newlines to a terminal. Sometimes this appears to bog down the VM and it essentially hangs for 30 sec. - 1 minute while random characters, sometimes just a steady stream of newlines that were not typed are spewed into the input. Has anybody had experience with this or a similar problem? Google did not turn up much that was similiar, and certainly no solutions. Any help would be much appreciated, as this problem is quite aggravating and distracts from Xen''s other great qualities! Sincerely, Garrett Robinson -- Garrett Robinson (484) 802-3882 Oberlin College ''11 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Garrett Robinson
2011-Mar-21 14:33 UTC
[Xen-users] Re: Keyboard repeat error - VNC Xen virtual framebuffer
Thanks for the tip, Santosh - unfortunately, it does not appear to have helped. I added "vga=0x314" to the Xen kernel command line in /etc/default/grub, ran update-grub, and rebooted the machine. After using a VM for about 20 minutes, the problem recurred again. It is accompanied by a general slowdown and sluggishness in the frame buffer. When I first logged in, everything was quick and snappy, but after 20 minutes or so the mouse feels sluggish and screen redraws are slow and very visible. Even running ls in the terminal or similar causes the output to be sloooowly drawn in the window in a noticeable way. Here is a link to an example screenshot of the repeated keystroke problem: http://i.imgur.com/9DMqy.png. After running the freesweep commnand and tapping return, the following output was given: including all of the following blank terminal prompts, caused by repeated "ghost" newlines. Does anybody have any insight into this problem? Perhaps insight into how the two problems (repeated keystrokes and framebuffer slowdown) might be related? I would really appreciate any advice or help. Regards, Garrett Robinson On Mon, Mar 21, 2011 at 2:11 AM, Garrett Robinson < Garrett.Robinson@oberlin.edu> wrote:> Hello Xen-Users, > > I am currently provisioning old Linux guests as HVM on a server, and giving > clients access through VNC. The current setup uses the default Xen > framebuffer as a VNC server (all configuration files have vnc=1 and a few > other settings), and my clients are using vinagre (a.k.a. Remote Desktop > Viewer) on Arch as their VNC client. > > Problem: Keyboard input is not consistently handled between the VNC client > and VM. Sometimes keystrokes are dropped, more noticeably some seem to be > repeated, sometimes many times. For example, tapping "Return" may send 10 or > 20 newlines to a terminal. Sometimes this appears to bog down the VM and it > essentially hangs for 30 sec. - 1 minute while random characters, sometimes > just a steady stream of newlines that were not typed are spewed into the > input. > > Has anybody had experience with this or a similar problem? Google did not > turn up much that was similiar, and certainly no solutions. Any help would > be much appreciated, as this problem is quite aggravating and distracts from > Xen''s other great qualities! > > Sincerely, > Garrett Robinson > > -- > Garrett Robinson > (484) 802-3882 > Oberlin College ''11 > >-- Garrett Robinson (484) 802-3882 Oberlin College ''11 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2011-Mar-21 14:39 UTC
Re: [Xen-users] Re: Keyboard repeat error - VNC Xen virtual framebuffer
Check if only one connection to VNC and no any other interaction with xenconsoled (in case of text PV text). В Пн., 21/03/2011 в 10:33 -0400, Garrett Robinson пишет:> Thanks for the tip, Santosh - unfortunately, it does not appear to > have helped. > > I added "vga=0x314" to the Xen kernel command line > in /etc/default/grub, ran update-grub, and rebooted the machine. > > After using a VM for about 20 minutes, the problem recurred again. It > is accompanied by a general slowdown and sluggishness in the frame > buffer. When I first logged in, everything was quick and snappy, but > after 20 minutes or so the mouse feels sluggish and screen redraws are > slow and very visible. Even running ls in the terminal or similar > causes the output to be sloooowly drawn in the window in a noticeable > way. > > Here is a link to an example screenshot of the repeated keystroke > problem: http://i.imgur.com/9DMqy.png. After running the freesweep > commnand and tapping return, the following output was given: including > all of the following blank terminal prompts, caused by repeated > "ghost" newlines. > > Does anybody have any insight into this problem? Perhaps insight into > how the two problems (repeated keystrokes and framebuffer slowdown) > might be related? > > I would really appreciate any advice or help. > > Regards, > Garrett Robinson > > On Mon, Mar 21, 2011 at 2:11 AM, Garrett Robinson > <Garrett.Robinson@oberlin.edu> wrote: > Hello Xen-Users, > > I am currently provisioning old Linux guests as HVM on a > server, and giving clients access through VNC. The current > setup uses the default Xen framebuffer as a VNC server (all > configuration files have vnc=1 and a few other settings), and > my clients are using vinagre (a.k.a. Remote Desktop Viewer) on > Arch as their VNC client. > > Problem: Keyboard input is not consistently handled between > the VNC client and VM. Sometimes keystrokes are dropped, more > noticeably some seem to be repeated, sometimes many times. For > example, tapping "Return" may send 10 or 20 newlines to a > terminal. Sometimes this appears to bog down the VM and it > essentially hangs for 30 sec. - 1 minute while random > characters, sometimes just a steady stream of newlines that > were not typed are spewed into the input. > > Has anybody had experience with this or a similar problem? > Google did not turn up much that was similiar, and certainly > no solutions. Any help would be much appreciated, as this > problem is quite aggravating and distracts from Xen''s other > great qualities! > > Sincerely, > Garrett Robinson > > -- > Garrett Robinson > (484) 802-3882 > Oberlin College ''11 > > > > > -- > Garrett Robinson > (484) 802-3882 > Oberlin College ''11 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users