GithubHelp home page GithubHelp logo

rohlik / ubuntu_easy_install_anydesk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drkei1/ubuntu_easy_install_anydesk

0.0 0.0 0.0 238 KB

a short script for easy install anydesk on ubuntu server with lxde

Shell 100.00%

ubuntu_easy_install_anydesk's Introduction

ubuntu_easy_install_anydesk

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

IMPORTANT Tip:

Select lightdm on installing proccess.

Fast Install

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

Get Anydesk ID

anydesk --get-id; echo '';

Manual Install:

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;

Login with LXDE:

after reboot, login with anydesk, and select LXDE:

Additionals

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 Password

change A123456 in below line and enter it in terminal:
echo A123456 | anydesk --set-password;

ubuntu_easy_install_anydesk's People

Contributors

drkei1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.