Install xwayland by entering the following commands in the terminal:
sudo apt update sudo apt install xwayland
Description:
Xwayland X server
This package provides an X server running on top of wayland, using wayland input devices for input and forwarding either the root window or individual top-level windows as wayland surfaces.
Homepage: https://www.x.org/
Version: 2:1.19.6-1ubuntu4
Section: x11