Anydesk doesn't support and doesn't work on Jetson Nano (aarch64). So you will need to install VNC, the easiest and fastest is to install the X2Go server. NoMachine, TeamViewer, AnyDesk, OpenVino, VNC, RDP, XRDP, Remote access for Jetson Nano / Xavier.
sudo apt update
sudo apt upgrade
sudo apt install openssh-server vim git gcc g++ net-tools
sudo apt-get install xubuntu-desktop
(selectlightdm
)