xkbcommon:错误:xkb_x11_keymap_new_from_device:非法设备ID:-1

When trying to start x-window-manager (which links to /usr/bin/mutter, version 3.28.4-0ubuntu18.04.2) in xstartup in a vnc4server session, I get this error:

xkbcommon: ERROR: xkb_x11_keymap_new_from_device: illegal device ID: -1
xkbcommon: ERROR: xkb_x11_state_new_from_device: illegal device ID: -1Segmentation fault (core dumped)

我怎样才能解决这个问题?

评论