qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qemu-system-x86_64: warning: Unknown X11 keycode mapping '<null>'.


From: Thorsten Glaser
Subject: Re: qemu-system-x86_64: warning: Unknown X11 keycode mapping '<null>'.
Date: Mon, 2 Mar 2020 13:43:12 +0100 (CET)
User-agent: Alpine 2.22 (DEB 394 2020-01-19)

On Mon, 2 Mar 2020, Daniel P. Berrangé wrote:

> "x11vnc" suggests you had a regular X11 desktop session, and are
> exporting it via VNC ?

No, x11vnc is a standalone VNC server.

> Can you tell me a bit more detail about how you launch this all.

Sure:

$ vncserver -geometry 1000x768 -name nowm :2
$ (export DISPLAY=:2; exec </dev/null >>.xsession-errors; exec 2>&1; 
icewm-session &)

(I could run icewm-session from ~/.vnc/xstartup but this way it
inherits some more desirable environment variables.)

My ~/.vnc/xstartup looks like:

        #!/bin/sh

        xrdb $HOME/.Xresources
        xsetroot -solid grey
        uxterm &

> ...this suggests your running a VNC server, with embedded X11 server

Yes, indeed.

> >   - xprop -root
> 
> ...there's no _XKB_RULES_NAMES(STRING) property listed, which is the key
> thing we'd expect to see for a modern X server. eg
> 
>   _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", ""
> 
> is what most X servers on Linux will report.

This is not a good assumption to make. For example, I’m also using
xmodmap instead of xkb for my keyboard layout under the main X.org
desktop. (It does carry the xkb information because Debian starts
it that way, but I replace it with xmodmap right in .xsessioinrc.)

> Can you also say what QEMU version ?

qemu-system-x86 1:4.2-3

> So either your QEMU is fairly old, or you are using a keycode mapping
> that QEMU has no understanding of (we support evdev, or the classic
> xfree86 'kbd' mapping).

The latter is the Xmodmap one? If so, then okay.

> It would be highly unusual not to use one of
> those two, but none the less, that appears to be the case here ?

I must admit not knowing all that much about the VNC servers.
I used to use tightvnc, but that had issues with… somewhat I
don’t remember, so I now use tightvnc’s client but X11vnc as
standalone server. There’s also tigervnc, but that works even
worse for me.

I also tested this in an RDP session with xrdp and xorgxrdp,
but things work thereunder just fine. (No surprise, xorgxrdp
just provides keyboard, mouse and video modules to an other‐
wise distro-standard X.org server, so the whole xkb first,
xmodmap later, dance also applies there, although it doesn’t
use evdev keycodes but the earlier PC standard ones from
XFree86® and pre-evdev X.org.)

But if I can do anything to help debugging this, sure.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

**********

Mit der tarent Academy bieten wir auch Trainings und Schulungen in den
Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an.

Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt.

**********



reply via email to

[Prev in Thread] Current Thread [Next in Thread]