Limiting Xwayland to only one screen

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


On Tue, 5 Feb 2019 19:51:41 +0000
"Singh, Satyeshwar" <satyeshwar.singh at intel.com> 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?

Hi,

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
https://wayland.freedesktop.org/docs/html/ch05.html


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20190206/d8a72a13/attachment.sig>


More information about the wayland-devel mailing list