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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to enable/disable wayland on Ubuntu 22.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. Extend the size of /boot partition on virtualized environment (CentOS/RHEL 6)
  2. How to Add Network Printer via Command Line in CentOS/RHEL
  3. isoinfo Command Examples in Linux
  4. Getting info with the vsish command (esxi only)
  5. service: command not found
  6. checkupdates : Command Examples in Linux
  7. 6 Useful journalctl Command Examples in CentOS / RHEL 7 (Cheat Sheet)
  8. How to enable additional scsi logging in CentOS/RHEL
  9. mkfs.ntfs: command not found
  10. ascii: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • “aws s3 mv” Command Examples
  • “aws s3 mb” Command Examples
  • “aws s3 ls” Command Examples
  • “aws s3 cp” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright