The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 2,671β€…    Votes:  2β€…    βœ… Solution
Tags: 18.04   wayland   conky  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

Title: Wayland session on Ubuntu 18.04: why is /usr/bin/Xwayland running?
ID: /2018/08/26/Wayland-session-on-Ubuntu-18.04_-why-is-_usr_bin_Xwayland-running_
Created: August 26, 2018    Edited:  June 12, 2020
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

The best answer comes from Wayland authors:

X Clients under Wayland (XWayland)

Wayland is a complete window system in itself, but even so, if we’re migrating away from X, it makes sense to have a good backwards compatibility story. With a few changes, the Xorg server can be modified to use wayland input devices for input and forward either the root window or individual top-level windows as wayland surfaces. The server still runs the same 2D driver with the same acceleration code as it does when it runs natively. The main difference is that wayland handles presentation of the windows instead of KMS.


When you boot with Wayland you still may need to access X-based applications: Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?

To summarize many Q&A’s on running an X applicatin within Wayland you need to use:

xhost +si:localuser:root
⇧ UbuntuOnWindows: Restoring backup directory causes UbuntuOnWindows to fail starting Switch between Intel/AMD GPU on 18.04  β‡©