• 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 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. notify-send Command Examples in Linux
  2. faillock: command not found
  3. CentOS / RHEL 5 : How to disable device mapper multipath (dm-multipath)
  4. hlint Command Examples in Linux
  5. CentOS / RHEL : How to Enable SSL For Apache
  6. A little trick: select a random file or line in the file with shuf
  7. How to Restrict Active Directory Users and Groups to Login to CentOS/RHEL 7 Client
  8. Allow cronjobs to run by pam even if user password is expired
  9. How to Setup a squid proxy server on CentOS/RHEL 7
  10. How to configure iSCSI target using targetcli in CentOS / RHEL 7

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright