[Bug 809844] New: VNC: Arrow keys bug out after 9 strikes
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c0 Summary: VNC: Arrow keys bug out after 9 strikes Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: KVM AssignedTo: kvm-bugs@forge.provo.novell.com ReportedBy: niclas_arndt@hotmail.com QAContact: jdouglas@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0 The keyboard bugs out after using the arrow keys 9 times. After that, they print the letters A, B, C, and D instead of moving the cursor. Some additional keys also stop working, e.g. backspace, while others continue to work. Additionally, the keyboard gets sluggish and occasionally repeats a character until you e.g. hit ESC. The session is still stable and usable and in e.g. KWrite you can use the copy/paste functionality together with text marking to complete your editing operations. (But console is a bit tough...) Logging out and logging in "resets", until you reach the next 9 arrow strikes. So long as you avoid using the arrow keys, there is no problem. OpenSUSE 12.3 default kernel English OS with Swedish vanilla keyboard Basic VNC setup (now as user root, -rfbauth and with vncpasswd set) Both latest TightVNC Windows client and old (1.3?) standalone Windows executable behave the same. Haven't tried any other client/client OS Reproducible: Always Steps to Reproduce: 1. Hit an arrow key 9 times. 2. 3. Actual Results: Please see above. Expected Results: Move the cursor. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c1 Niclas Arndt <niclas_arndt@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |niclas_arndt@hotmail.com --- Comment #1 from Niclas Arndt <niclas_arndt@hotmail.com> 2013-03-17 13:08:57 UTC --- Intel E8400, G41 chipset 32 bit install. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c2 Milos Ivanovic <mivanovic@kg.ac.rs> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mivanovic@kg.ac.rs --- Comment #2 from Milos Ivanovic <mivanovic@kg.ac.rs> 2013-03-25 11:43:13 UTC --- Same here. I explored a bit and found this post mentioning "ISO_Level3_Shift": http://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=&viewday=&forum_name=tigervnc-users&style=nested&max_rows=100&submit=Change+View. I'm not an expert on VNC stuff, but it should be related somehow. Further, I picked tigervnc binary from http://sourceforge.net/projects/tigervnc/, unpacked it into my OpenSUSE 12.3 x86_64 installation and with that vanilla package everything seems to work now! Perhaps the issue is somewhere within "N_tigervnc_keyboard-layout-handling.patch"? Just a guess.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c3 --- Comment #3 from Niclas Arndt <niclas_arndt@hotmail.com> 2013-03-25 14:48:53 UTC --- Thanks Milos. I have used the 12.3 VNC computers a bit more and I can confirm that it's the LEFT ARROW key that malfunctions. I have tested both kernel-default and kernel-desktop and both behave the same (which supports the suspicion that it's the VNC package itself that has this bug). I'll try ALT GR and see if this 'resets' the key 'lock'. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c4 --- Comment #4 from Milos Ivanovic <mivanovic@kg.ac.rs> 2013-03-25 15:48:45 UTC --- Now I'm sure that the source of the problem lies in patch "N_tigervnc_keyboard-layout-handling.patch". I tried building xorg-X11-Xvnc package w/o mentioned patch and it works as expected. No problem with arrow keys at all! My "vanilla" package resides at: https://api.opensuse.org/build/home:mivanovic:branches:openSUSE:12.3:Update/... I'm not sure if you have a permission to download it... What I did is just commenting out line "%patch2 -p1" in xorg-x11-Xvnc.spec file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c5 Thomas Schäfer <tschaefer@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tschaefer@t-online.de --- Comment #5 from Thomas Schäfer <tschaefer@t-online.de> 2013-03-26 12:39:11 UTC --- (In reply to comment #3)
I'll try ALT GR and see if this 'resets' the key 'lock'.
I can confirm this behavior. (I thought it has to be altgr + "~", but altgr is enough) But I went the long way around. I tried to use xrdp via Xvnc (sesman-xvnc) (I am not able to compile x11rdp or to find any binary package) I will try the package from comment#4 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c6 --- Comment #6 from Thomas Schäfer <tschaefer@t-online.de> 2013-03-26 13:56:43 UTC --- At the moment I am not able to reproduce the problem with the package from comment #4 installed. remotedesktop from vista via xrdp via Xvnc works fine now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c7 Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brogers@suse.com Component|KVM |X11 Applications AssignedTo|kvm-bugs@forge.provo.novell |bnc-team-screening@forge.pr |.com |ovo.novell.com QAContact|jdouglas@suse.com |qa-bugs@suse.de --- Comment #7 from Bruce Rogers <brogers@suse.com> 2013-03-27 00:14:42 UTC --- Based on above discussion, reassigning to component X11 applications. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c8 --- Comment #8 from Niclas Arndt <niclas_arndt@hotmail.com> 2013-03-31 17:29:01 UTC --- I just wanted to thank Milos and Thomas. I have had a bit too many problems with 12.3 so I have re-installed 12.2. (After a few reboots, my file server suddenly wouldn't boot past grub console. I re-installed 12.3 and after yet some reboots the problem came back, so I'll be using 12.2 until 12.3 is ready for my production use.) Kind regards Niclas -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c Xiaolong Li <xlli@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xlli@suse.com AssignedTo|bnc-team-screening@forge.pr |rbingham@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c9 Gustav Haapalahti <gushaa@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gushaa@gmail.com --- Comment #9 from Gustav Haapalahti <gushaa@gmail.com> 2013-04-20 14:42:23 UTC --- I can confirm that building xorg-x11-Xvnc wihtout the patch N_tigervnc_keyboard-layout-handling.patch fixes the arrow keys problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c10 --- Comment #10 from Niclas Arndt <niclas_arndt@hotmail.com> 2013-05-01 10:10:31 UTC --- I have finally gotten around to implementing the fix Milos provided. Here are the detailed instructions. I also include a workaround for the login screen lockout-problem that was introduced in 12.3. Go to http://download.opensuse.org/source/distribution/12.3/repo/oss/suse/src/ Download xorg-x11-Xvnc-7.6_1.0.1-3.1.1.src.rpm. Unpack (= do not install) the rpm. Go to the unpacked directory. Comment out line "%patch2 -pl" in xorg-x11-Xvnc.spec. This omits the N_tigervnc_keyboard-layout-handling.patch. Unless you have already installed the packages required for compiling, you must do it now. I selected /Patterns/Base development and /Search/rpm-build. This will enable you to launch the following command: rpmbuild -ba /YourFolder/xorg-x11-Xvnc.spec It will probably complain about missing packages, so install these ones as well and relaunch the rpmbuild command. The built rpms are placed in /usr/src/packages/SRPMS/ and /usr/src/packages/RPMS/i586/. Simply copying the /YourRpmPackage/usr/bin/Xvnc file into /usr/bin/ works. I renamed it to Xvncx before doing this and modified /etc/xinetd.d/vnc like below. The original 12.3 Xvnc executable is used for vnc1 and the custom Xvcnx for vnc2. This provides a fall-back in case Xvncx isn't working properly (but so far no problems). The workaround for the vnc login screen: In this case, user root is used (which might not be wise - please comment). You must first run vncpasswd when logged in as root in order to create the password. For completeness' sake: -depth has to be changed from 16 to 24 in openSUSE 12.2+. Otherwise icons will look garbled. service vnc1 { socket_type = stream protocol = tcp wait = no user = root server = /usr/bin/Xvnc server_args = -noreset -inetd -once -query localhost -geometry 1240x695 -depth 24 -rfbauth /root/.vnc/passwd type = UNLISTED port = 5901 } service vnc2 { socket_type = stream protocol = tcp wait = no user = root server = /usr/bin/Xvncx server_args = -noreset -inetd -once -query localhost -geometry 1240x695 -depth 24 -rfbauth /root/.vnc/passwd type = UNLISTED port = 5902 } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c11 --- Comment #11 from Milos Ivanovic <mivanovic@kg.ac.rs> 2013-06-27 00:10:24 UTC --- Recently, the oS 12.3 developers updated package xorg-x11-Xvnc to include support for missing GLX extension. Unfortunately, this bug hasn't been resolved yet. As a workaround (just like previously), I've built packages for i586 and x86_64 architectures with these newest sources w/o N_tigervnc_keyboard-layout-handling.patch. You can download them from http://imi.pmf.kg.ac.rs/~milos/opensuse/ Cheers! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c12 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED CC| |msrb@suse.com Component|X11 Applications |X.Org AssignedTo|rbingham@novell.com |xorg-maintainer-bugs@forge. | |provo.novell.com QAContact|qa-bugs@suse.de |xorg-maintainer-bugs@forge. | |provo.novell.com --- Comment #12 from Stefan Dirsch <sndirsch@suse.com> 2013-07-03 12:08:38 UTC --- Date: Tue, 2 Jul 2013 10:24:55 -0700 From: Nicholas Crookston <ncrookston.fs@gmail.com> To: msrb@suse.com, sndirsch@suse.com Subject: Fwd: Bug 809844 (maybe) Hi: I installed Xvnc 7.6_1.0.1-3.4.4 related to bnc#823625 and I still have a problem as described below. I am using a version of Xvnc I copied (as a binary file) from a recent install of fedora and it is working well. Problem summary: My "backspace" key stops working after I use the left arrow with "repeat", that is if I hold it down even for a moment (just enough for it to repeat even once or twice. From then on, "backspace" does not work. I'm running openSUSE 12.3 x86_64. I'd be happy to test a fix for this, but for now I'm up and running using the fedora version. Nick Crookston novell user: ncrookston ---------- Forwarded message ---------- From: Nicholas Crookston <ncrookston.fs@gmail.com> Date: Wed, Jun 12, 2013 at 3:17 PM Subject: Bug 809844 (maybe) To: Ron Bingham <rbingham@novell.com> Ron: Please forgive the direct Email, I've never filed a bug report before (after 15 years), and I'm sure I'd make a mess of it. I discovered the logging of 809844 regarding Xvnc, openSUSE 12.3, I think I have a similar problem, but I can make it happen with different logic. My "backspace" key stops working after I use the left arrow with "repeat", that is if I hold it down even for a moment (just enough for it to repeat even once or twice.
From then on, "backspace" does not work.
I don't have the unix technical skills to rebuild Xvn as suggested in the bug report. I could manually install a prebuilt binary if one were available to test. I'd just rename /usr/bin/Xvnc and put in the test version and test that I can do in just a few mins if I can get a replacement Xvnc. Please advise. Thanks, Nick Crookston novell user: ncrookston -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c13 Michal Srb <msrb@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|xorg-maintainer-bugs@forge. |msrb@suse.com |provo.novell.com | --- Comment #13 from Michal Srb <msrb@suse.com> 2013-07-04 16:50:48 UTC --- The problem is in detection whether ISO_LEVEL3_Shift is down. It uses hard coded key code which is not always valid. In this case, the key code belongs to left arrow instead. When Xvnc wants to simulate left arrow press and incorrectly detects that ISO_LEVEL3_Shift is down, it first emulates key up event to release it. Then sends the left arrow key press and then emulates key down event to return ISO_LEVEL3_Shift to original state. In this case it was falsely detected as down but emulated already with correctly detected key code, so it remains down after. Fix is to use the correct key code for detection as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c14 --- Comment #14 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-07-04 20:00:15 CEST --- This is an autogenerated message for OBS integration: This bug (809844) was mentioned in https://build.opensuse.org/request/show/182233 Factory / xorg-x11-Xvnc https://build.opensuse.org/request/show/182234 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c15 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #15 from Benjamin Brunner <bbrunner@suse.com> 2013-07-15 13:55:06 CEST --- Update released for openSUSE 12.3 and checked in into Factory. Resolved fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=809844 https://bugzilla.novell.com/show_bug.cgi?id=809844#c16 --- Comment #16 from Swamp Workflow Management <swamp@suse.de> 2013-07-15 12:04:41 UTC --- openSUSE-RU-2013:1197-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 809844 CVE References: Sources used: openSUSE 12.3 (src): xorg-x11-Xvnc-7.6_1.0.1-3.8.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com