How to Fix AnyDesk of Display_Server_Not_Supported Error for Ubuntu 22.04

參考自 https://medium.com/@Dylan.Wang/how-to-fix-anydesk-of-display-server-not-supported-error-for-ubuntu-22-04-c98c44de89c0

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.

發佈留言