Testing Environment =============================== Host: qemuarm sato/sdk Kernel: Image location: http://autobuilder.pokylinux.org/nightly/20121024-1/machines/qemu/qemuarm/ Steps =============================== 1. Boot up the qemuarm with sato/sdk image 2. On target, open a terminal to run command "x11vnc -display :0.0", target IP is "192.168.7.2" 3. On host, open a terminal to run “vncviewer 192.168.7.2:0” to create a virtual X desktop of target 4. In this virtual X desktop, find the terminal which running x11vnc and press “ctrl+c”. Observed Result =============================== 1. On Target, the standard input of terminal in X desktop is abnormal, you cannot input correctly from keyboard.
Created attachment 909 [details] On target, open a terminal to run command "x11vnc -display :0.0"
Created attachment 910 [details] On host, open a terminal to run “vncviewer” to create a virtual X desktop of target
Created attachment 911 [details] In this virtual X desktop, find the terminal which running x11vnc and press “ctrl+c”. the standard input of terminal in X desktop is abnormal
if reboot qemuarm , the terminal can work again. maybe actions are abnormal to the x11vnc.
The problem happens because the CTRL key, which was sent to the target via the VNC session when typing CTRL+C, is signalled as still pressed after the vnc server is killed... x11vnc offers a command line option to work around this kind of issues: -clear_mods. So, all you have do is start the vnc server like this: x11vnc -display .0:0 -clear_mods This way the modifier keys will be reset when the server is killed. One other way to work around this is to press the CTRL key again in the target terminal. After that, everything gets back to normal. So, there's nothing to fix here.