a short script for easy install anydesk on ubuntu server with LXDE in terminal
solved errors:
desk_rt_ipc_error, display_server_not_supported anydesk.
tested on ubuntu 20.04
Select lightdm on installing proccess.
copy below code and paste in terminal. at first you need set password.
bash <(curl -Ls https://raw.githubusercontent.com/DrKei1/ubuntu_easy_install_anydesk/master/install.sh)
new username=user1
Anydesk Password=xAbNc@2cz
anydesk --get-id; echo '';
in line 1 & 2 of the below code, change user and password(anydesk) to your liking then copy all strings to terminal:
USER=user1; PASS=xAbNc@2cz; sudo adduser $USER; sudo adduser $USER sudo; sudo apt update -y; apt install lxde -y; apt install wget -y; wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -; echo "deb http://deb.anydesk.com/ all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list; apt update; apt install anydesk -y; sed -i '' -e "s/#WaylandEnable/WaylandEnable/g" -e "s/# AutomaticLoginEnable = true/AutomaticLoginEnable = true/g" -e "s/# AutomaticLogin = user1/AutomaticLogin = $USER/g" /etc/gdm3/custom.conf; echo $PASS | anydesk --set-password; echo -e "\n\033[33mAnydesk Address:\033[m";anydesk --get-id;echo -e "\n\033[33mrebooting...\033[m"; reboot;
after reboot, login with anydesk, and select LXDE:
Auto Install anydesk and brave browser:
bash <(curl -Ls https://raw.githubusercontent.com/DrKei1/ubuntu_easy_install_anydesk/master/install_anydesk_with_brave.sh)
change A123456 in below line and enter it in terminal:
echo A123456 | anydesk --set-password;