• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to enable/disable wayland on Ubuntu 20.04

by admin

Wayland is a display server protocol that is used as an alternative to the X Window System on some Linux distributions, including Ubuntu. If you want to enable or disable Wayland on Ubuntu, you can do so by modifying the /etc/gdm3/custom.conf file.

Enable wayland

To enable Wayland, open the /etc/gdm3/custom.conf file in a text editor as root, and add the following line:

# vi /etc/gdm3/custom.conf
WaylandEnable=true

After making the change, save the file and either restart GDM3 or reboot your system for the changes to take effect.

# systemctl restart gdm3

Disable wayland

To disable Wayland, add the following line in the file /etc/gdm3/custom.conf instead:

# vi /etc/gdm3/custom.conf
WaylandEnable=false

After making the change, save the file and either restart GDM3 or reboot your system for the changes to take effect.

# systemctl restart gdm3
Note: Keep in mind that some applications may not work properly with Wayland, and enabling or disabling Wayland may have unexpected consequences. It is important to carefully consider the implications of enabling or disabling Wayland before making the change.

Filed Under: Linux, Ubuntu

Some more articles you might also be interested in …

  1. aspell: command not found
  2. restorecon Command Examples in Linux
  3. rolldice: command not found
  4. core-validate-commit: Validate commit messages for Node.js core
  5. sort: command not found
  6. How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  7. RCRON – Setup High Availability of cron Jobs
  8. fdisk: command not found
  9. “az storage account” Command Examples (Manage storage accounts in Azure)
  10. bindkey Command Examples (Add keybindings to Z-Shell)

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright