How to Fix AnyDesk of Display_Server_Not_Supported Error for Ubuntu 22.04

Dylan Wang
Dec 2, 2022

Fix that cannot remote login AnyDesk.

1. Install AnyDesk on Ubuntu 22.04.

2. Configure login password. This password is “P@ssw0rd”.

echo "P@ssw0rd" | sudo anydesk --set-password

3. Configure GDM config. Please unmask:

  • WaylandEnable=false
  • AutomaticLoginEnable = true
  • AutomaticLogin = $USERNAME
sudo vim /etc/gdm3/custom.conf
# 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

# Enabling timed login
# TimedLoginEnable = true
# TimedLogin = user1
# TimedLoginDelay = 10

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes
#Enable=true

4. Reboot your Ubuntu 22.04.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Dylan Wang

Responses (16)

Write a response

you are a legend bro🙌

5

Thank you so much Bro!! You are great!!! This is really awesome solution.

2

Gracias, me funcionó perfectamente.

4