Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › Desktop-Linux

How to Check Whether an App Is Running on Wayland or X11

By Freedom251 Team · · 3 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A Wayland desktop can run both native Wayland apps and X11 apps through Xwayland, so checking the desktop session alone does not tell you which protocol a particular app uses. For a quick user-level check, look for the app in xlsclients -l; for a more precise answer, use the relevant toolkit’s runtime information.

Why the desktop session does not answer the app-level question

Wayland describes how applications communicate with the desktop compositor, but a Wayland session can also include Xwayland. An X11 app connects to Xwayland as it would to an X server; Xwayland, in turn, is a Wayland client. That lets native Wayland and X11 windows appear together in one desktop session. The Wayland documentation explains this relationship.

As an Amazon Associate I earn from qualifying purchases.

As a result, a session value such as XDG_SESSION_TYPE=wayland identifies the session, not necessarily the protocol used by every running app. Check the individual app instead.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check for an X11 connection with xlsclients

  1. Open a terminal in the desktop session where the app is running.

    #1 Best Overall
    64GB - 16-in-1, Bootable USB Drive 3.2 for Linux & Windows 11, Zorin | Mint | Kali | Ubuntu | Tails | Debian, Supported UEFI and Legacy
    • ✅For beginners, refer image-7, its a video boot instruction, and image-6 is "boot menu Hot Key list"
    • ✅16-IN-1, 64GB Bootable USB Drive 3.2 , Can Run Linux On USB Drive Without Install, All Latest versions.
    • ✅Including Windows 11 64Bit & Linux Mint 22.3 (Cinnamon)、Kali 2026.02、Ubuntu 26.04、Zorin Pro 18、Tails 7.8.1、Debian 13.5.0、Garuda 2026.03、Fedora Workstation 44、Manjaro 25.06、Pop!_OS 22.04、Solus 2026.04、Archcraft 26.05、Neon 2026.06、Fossapup 9.5、Sparkylinux 8.3, All ISO has been Tested
    • ✅Supported UEFI and Legacy, Compatibility any PC/Laptop, Any boot issue only needs to disable "Secure Boot"
  2. Run xlsclients -l.

  3. Look for the target app in the output. If it appears, it has an X client connection to the selected X display—typically through Xwayland when you are in a Wayland session.

The X.Org manual defines xlsclients as a tool for listing client applications running on an X display; -l requests long-format output. The command’s result depends on which X display it queries. If the app is absent, that alone does not prove it is native Wayland: the listing may not cover its display connection or application architecture. The utility may also need to be installed separately, depending on your distribution.

Rank #2
EZITSOL USB for Linux Mint 22 & 21.3 64bit, 19.3 32bit - 3IN1 Bootable Linux USB Flash Drive
  • 1. 3IN1: Multiboot USB flash drive includes Linux Mint Cinnamon 22 & 21.3 64bit and Linux Mint Cinnamon 19 32bit.It's suitable to both older PC and new computers.You can always try on USB before install. The versions you received might be latest than above as we update them when we think necessary.
  • 2. What is Linux Mint: Linux Mint is designed to work 'out of the box' and comes fully equipped with the apps most people need, such as graphic design, office software, web browser, multimedia and gaming.
  • 3. Why choose Linux Mint: works out of the box, easy to use, requires little maintenance, safe, fast and comfortable.
  • 4. Compatibility: This Multiboot USB is compatible with any brands' PC such as HP,Dell,Lenovo,Samsung,Toshiba,Sony,Acer,Asus except for Apple computers, Chromebooks and ARM-based devices, and works with both legacy BIOS and UEFI booting modes. When using UEFI boot mode, secure boot needs to be disabled in BIOS settings.
  • 5. User Guide & Support: Print user guide and support available. please contact us for help if you have an issue.

Use a window-level spot check

For an interactive check, ArchWiki suggests running xwininfo and selecting the target window, or running xeyes and seeing whether its pupils track the pointer over the app. These are practical X11-side indicators, not universal tests: behavior can vary with the compositor, toolkit, or nested windows, and the utilities may not be installed by default. See the ArchWiki Xwayland guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

For developers, check the app’s toolkit at runtime

Qt applications

Qt’s platform abstraction layer (QPA) identifies qxcb as its X11 platform plugin. Qt documents QT_QPA_PLATFORM and the -platform argument as ways to override platform selection. Inspecting an app’s launch configuration can show what backend it was asked to use, but an override is not proof that the app successfully initialized that backend. For stronger confirmation, inspect the platform plugin actually selected at runtime. Qt may also try a semicolon-separated list of available plugins. See the Qt QPA documentation (Qt 6.12.0 reference).

Rank #3
Linux Mint Cinnamon Bootable USB for PC
  • Dual USB-A & USB-C Bootable Drive – works with almost any desktop or laptop computer (new and old). Boot directly from the USB or install Linux Mint Cinnamon to a hard drive for permanent use.
  • Fully Customizable USB – easily Add, Replace, or Upgrade any compatible bootable ISO app, installer, or utility (clear step-by-step instructions included).
  • Familiar yet better than Windows or macOS – enjoy a fast, secure, and privacy-friendly system with no forced updates, no online account requirement, and smooth, stable performance. Ready for Work & Play – includes office suite, web browser, email, image editing, and media apps for music and video. Supports Steam, Epic, and GOG gaming via Lutris or Heroic Launcher.
  • Great for Reviving Older PCs – Mint’s lightweight Cinnamon desktop gives aging computers a smooth, modern experience. No Internet Required – run Live or install offline.
  • Premium Hardware & Reliable Support – built with high-quality flash chips for speed and longevity. TECH STORE ON provides responsive customer support within 24 hours.

GTK/GDK applications

For an app that uses GDK, check its display object at runtime: GNOME’s documentation distinguishes a GdkWaylandDisplay from an X11 display type. This is a toolkit-specific method, not a general check for arbitrary programs. GDK can be built with multiple backends, so backend-specific code may require compile-time as well as runtime checks. See the GDK API documentation (API 4.0, library 4.23.4).

Best Value
Kali Linux 2026.2 Bootable USB – Penetration Testing & Ethical Hacking Live OS Installer
  • Portable Kali Linux: Carry the power of Kali Linux on a bootable USB drive for seamless cybersecurity.
  • Live Environment: Pre-configured to boot directly into a 'Live' Kali Linux environment without installation, enabling instant access.
  • Versatile Compatibility: Designed to work with most modern computers and laptops, providing a flexible platform for various tasks.
  • Secure and Encrypted: Kali Linux offers robust security features, encryption tools, and a vast array of penetration testing utilities.
  • Current Version: Kali 2026.2 uses kernel 6.19 and includes GNOME 50 and KDE Plasma 6.6 updates. We will update with newer stable versions of Kali as they are released.
Rank #4
EZITSOL 32GB 9-in-1 Linux Bootable USB Drive for Beginners | Multiboot installer for Ubuntu Mint MX Zorin Fedora Elementary live try install and boot repair
  • 1. 9-in-1 Linux:32GB Bootable Linux USB Flash Drive for Ubuntu 24.04 LTS, Linux Mint cinnamon 22, MX Linux xfce 23, Elementary OS 8.0, Linux Lite xfce 7.0, Manjaro kde 24(Replaced by Fedora Workstation 43), Peppermint Debian 32bit (being replaced by MX Linux 32bit) for older PC, Pop OS 22, Zorin OS core xfce 17. The versions you received might be latest than above as we update them to latest/LTS when we think necessary.
  • 2. Try or install:Before installing on your PC, you can try them one by one without touching your hard disks.
  • 3. Easy to use: These distros are easy to use and built with beginners in mind. Most of them Come with a wide range of pre-bundled software that includes office productivity suite, Web browser, instant messaging, image editing, multimedia, and email. Ensure transition to Linux World without regrets for Windows users.
  • 4. Support: Printed user guide on how to boot up and try or install Linux; please contact us for help if you have an issue. Please press "Enter" a couple of times if you see a black screen after selecting a Linux.
  • 5. Compatibility: Except for MACs,Chromebooks and ARM-based devices, works with any brand's laptop and desktop PC, legacy BIOS or UEFI booting, Requires enabling USB boot in BIOS/UEFI configuration and disabling Secure Boot is necessary for UEFI boot mode. Packing: The bootable USB drive comes in a colored PET/CPP zipper bag with instructions on how to get started. The box pictured is not included.

Which check should you use?

Method Scope Best use Limitation
xlsclients -l X clients on the selected or default X display Quick positive check for an app with an X connection Display selection and listing scope matter; absence is not conclusive for every app architecture.
xwininfo or xeyes Interactively selected or hovered window User-facing spot check Suggested by ArchWiki; behavior can vary by environment.
Qt QPA runtime inspection Qt app Debugging the platform plugin in use Qt-specific; a launch override alone does not confirm successful runtime initialization.
GDK display-object check GTK/GDK app Runtime check in application code GDK-specific and primarily useful to developers.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Desktop-LinuxLinuxWaylandX11Xwayland

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.