Advertisement

How to Fix AnyDesk Display Server Not Supported Error on Ubuntu 22.04 e.g Wayland

 

tipstome_anydesk_22.04_error_fix

Are you encountering the "Display Server Not Supported" error while trying to use AnyDesk on Ubuntu 22.04? This error can be frustrating, but fear not! We have a step-by-step guide to help you fix this issue and get AnyDesk up and running smoothly on your Ubuntu 22.04 system.


Step 1: Install AnyDesk on Ubuntu 22.04

First, let's begin by installing AnyDesk on your Ubuntu 22.04 system. Open a terminal and run the following commands.

Switch to the superuser (root) to perform administrative tasks.


sudo su

Download the AnyDesk GPG key and add it to the trusted keys used by APT.

wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add -

Add the AnyDesk repository to the package sources list.


echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list

Update the package list to reflect the new repository.


apt update

Install AnyDesk on your Ubuntu system.


apt install AnyDesk

Step 2: Configure the GDM configuration for AnyDesk

Next, we need to configure the GDM (GNOME Display Manager) to ensure compatibility with AnyDesk. Open the GDM configuration file in a text editor.


sudo nano /etc/gdm3/custom.conf

In the file that opens, make the following changes to the [daemon] section:


# GDM configuration storage

# See /usr/share/gdm/gdm.schemas for a list of available options.


[daemon]

# Uncomment the line below to force the login screen to use Xorg

WaylandEnable=false


# Enabling automatic login

AutomaticLoginEnable = true

AutomaticLogin = $USERNAME

Ensure that WaylandEnable is set to false and AutomaticLoginEnable is set to true, with AutomaticLogin set to your username.


Step 3: Reboot Ubuntu 22.04

To apply the changes, reboot your Ubuntu 22.04 system using the following command:


sudo reboot

After rebooting, AnyDesk should now work without the "Display Server Not Supported" error.


By following these steps, you can successfully install and configure AnyDesk on Ubuntu 22.04, ensuring a smooth remote desktop experience. Happy remote desk topping!


Post a Comment

0 Comments