Limiting Xwayland to only one screen

Pekka Paalanen ppaalanen at
Wed Feb 6 08:15:43 UTC 2019

On Tue, 5 Feb 2019 19:51:41 +0000
"Singh, Satyeshwar" <satyeshwar.singh at> wrote:

> Hi,
> I have a 2 screen configuration running Weston. When I run XWayland
> on top, it initially shows a black screen on both the screens. I am
> wondering if there is a way to limit XWayland to only using one
> screen? Is there a config file or command line option that allows me
> to do so?


getting a black screen sounds like you are starting Xwayland manually
in rootful mode, where all X11 apps will show up inside the one
Xwayland window.

Usually people use the Xwayland rootless mode instead, where Xwayland
is started automatically by the compositor, and the X11 windows
integrate seamlessly with other native Wayland windows. There is no one
window for all of Xwayland.

Do you intentionally use the rootful mode, or were you just not aware
of the rootless mode?

For more information on rootful vs. rootless, see

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the wayland-devel mailing list