Xlib: extension "SHAPE" missing on display


I get the following message when running via ssh signal-desktop, which runs in Debian 10 KVM VM. The issued command is:

ssh -v -X -l $user $VM-IP signal-desktop

signal-desktop starts as expected, but in the terminal window I get a whole bunch of these messages:

Xlib:  extension "SHAPE" missing on display...

inxi -Fxxx
Host: C0mput3r Kernel: 5.9.1-1-MANJARO x86_64 bits: 64 compiler: N/A
Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux
Type: Laptop System: Acer product: Aspire A515-43 v: V1.09
serial: <superuser/root required>
Mobo: PK model: Grumpy_PK v: V1.09 serial: <superuser/root required>
UEFI: Insyde v: 1.09 date: 06/01/2020
ID-1: BAT1 charge: 15.6 Wh condition: 36.2/48.9 Wh (74%) volts: 14.6/15.2
model: LGC AC14B8K type: Li-ion serial: 0 status: Discharging
Topology: Dual Core model: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen+ rev: 1 L2 cache: 1024 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 20769
Speed: 1398 MHz min/max: 1400/2600 MHz boost: enabled Core speeds (MHz):
1: 1398 2: 1408 3: 1370 4: 1327
Device-1: AMD Picasso vendor: Acer Incorporated ALI driver: amdgpu
v: kernel bus ID: 05:00.0 chip ID: 1002:15d8
Device-2: Quanta HD Webcam type: USB driver: uvcvideo bus ID: 1-1:2
chip ID: 0408:a060 serial: 0
Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: modesetting
alternate: fbdev,vesa s-res: 1920x1080 s-dpi: 96
OpenGL: renderer: AMD RAVEN (DRM 3.39.0 5.9.1-1-MANJARO LLVM 10.0.1)
v: 4.6 Mesa 20.1.8 direct render: Yes
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio
vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel
bus ID: 05:00.1 chip ID: 1002:15de
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
vendor: Acer Incorporated ALI driver: N/A bus ID: 05:00.5
chip ID: 1022:15e2
Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel bus ID: 05:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.9.1-1-MANJARO
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 2000
bus ID: 03:00.0 chip ID: 10ec:8168
IF: enp3s0 state: down mac: X
Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
vendor: Lite-On driver: ath10k_pci v: kernel port: 2000 bus ID: 04:00.0
chip ID: 168c:003e
IF: wlp4s0 state: up mac: X
IF-ID-1: virbr0 state: up speed: 10 Mbps duplex: unknown
mac: 52:54:00:c4:88:27
IF-ID-2: virbr0-nic state: down mac: X
IF-ID-3: virbr1 state: down mac: X
IF-ID-4: virbr1-nic state: down mac: X
IF-ID-5: virbr2 state: down mac: X
IF-ID-6: virbr2-nic state: down mac: X
IF-ID-7: vnet0 state: unknown speed: 10 Mbps duplex: full
mac: X
Local Storage: total: 585.00 GiB used: 182.68 GiB (31.2%)
ID-1: /dev/nvme0n1 vendor: Western Digital
model: PC SN520 SDAPNUW-128G-1014 size: 119.24 GiB speed: 15.8 Gb/s
lanes: 2 serial: 0 rev: 20110000 scheme: GPT
ID-2: /dev/sda vendor: HGST (Hitachi) model: HTS725050A7E630
size: 465.76 GiB speed: 6.0 Gb/s rotation: 7200 rpm serial: 0
rev: B550 scheme: GPT
ID-1: / size: 101.78 GiB used: 43.66 GiB (42.9%) fs: ext4 dev: /dev/dm-0
ID-2: /home size: 457.45 GiB used: 138.80 GiB (30.3%) fs: ext4
dev: /dev/dm-2
ID-1: swap-1 type: partition size: 15.03 GiB used: 216.5 MiB (1.4%)
priority: -2 dev: /dev/dm-1
System Temperatures: cpu: 45.1 C mobo: N/A gpu: amdgpu temp: 45 C
Fan Speeds (RPM): N/A
Processes: 276 Uptime: 6d 5m Memory: 13.67 GiB used: 5.18 GiB (37.9%)
Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1093 pacman: 1089
flatpak: 4 Shell: Bash v: 5.0.18 running in: xfce4-ternal inxi: 3.1.05

I found this, but that’s a solution for Redhat. Manjaro isn’t using xorg.conf, at least I couldn’t find it, hence my questions

  1. Which module has the SHAPE property included?
  2. How to configure Xorg to use it?

Any idea would be highly appreciated.


Is the extmod … you can always create a configuration manually. Some examples here

Ah right. Only to be sure. I create a snipped like

Section “Module”
Load “extmod” # some commonly used server extensions (e.g. shape extension)

put it in /etc/X11/mhwd.d and sym-link it to /etc/X11/xorg.conf.d, right?

Nope. That doesn’t do the trick. From the Xorg.0.log:

[ 18.352] (II) LoadModule: “extmod”
[ 18.352] (II) Module “extmod” already built-in
[ 19.083] (II) Initializing extension SHAPE

I still get:

Xlib:  extension "SHAPE" missing on display "localhost:10.0".

Where do I have to look? I’m a little bit lost.