P
Home Articles Poems, Wishes Recipes
Menu
×

How to Install and Set Up AnyDesk on Ubuntu 22.04

AnyDesk is a fast and lightweight remote desktop solution that works well on Ubuntu 22.04, allowing access from Windows, Mac, Linux, or Android.


Step 1: Update System Packages

Before installing AnyDesk, update your package lists to ensure your system has the latest updates:

sudo apt update && sudo apt upgrade -y

Step 2: Add AnyDesk Repository and GPG Key

Since AnyDesk is not available in the default Ubuntu repository, you need to add the official AnyDesk repository.

1. Import AnyDesk GPG Key

wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -

2. Add the AnyDesk Repository

echo "deb http://deb.anydesk.com/ all main" | sudo tee /etc/apt/sources.list.d/anydesk.list

3. Update Package Lists Again

sudo apt update

Step 3: Install AnyDesk

Now, install AnyDesk with:

sudo apt install anydesk -y

Step 4: Start AnyDesk

After installation, launch AnyDesk with:

anydesk

Or open it from the Applications Menu by searching for “AnyDesk.”


Step 5: Enable Unattended Access (Optional for Remote Login Without User Confirmation)

If you want to access your Ubuntu PC without manually accepting connections, follow these steps:

1. Open AnyDesk and Go to Settings

Click on "Settings" > "Security".

2. Enable Unattended Access

  • Check "Enable unattended access"
  • Set a strong password for remote access.

3. Allow AnyDesk to Run on Startup

To allow AnyDesk to start automatically after reboot:

sudo systemctl enable anydesk

Step 6: Allow AnyDesk Through Firewall (If Enabled)

If you have UFW (Uncomplicated Firewall) enabled, allow AnyDesk:

sudo ufw allow 7070/tcp
sudo ufw reload

Step 7: Find Your AnyDesk Address

Once AnyDesk is running, it will show a 9-digit ID (e.g., 123 456 789).

  • Use this ID to connect from another device (Windows, Mac, Linux, or Android).
  • If unattended access is enabled, just enter your password.

Step 8: Connect from Another Device

  1. Install AnyDesk on your Windows/Mac/Linux/Android device from anydesk.com/download.
  2. Open AnyDesk and enter the Ubuntu AnyDesk ID.
  3. Click "Connect" and enter the password if needed.

Remove AnyDesk (If Needed)

If you ever want to remove AnyDesk, run:

sudo apt remove --purge anydesk -y
sudo rm -rf /etc/apt/sources.list.d/anydesk.list


You might be interested to read these articles:

iOS Vulnerability Scanners: Enhancing Security and Protection

Understanding Network Security Load Balancers: Key Considerations for Safe and Efficient Traffic Management

Comprehensive Guide to Linux Incident Response Platforms

Effective Linux Cloud Cost Management for Businesses

Optimizing Resource Planning with Logging Systems

Effective Software Project Management for Cloud Cost Management

Exploring Mobile Applications Automation Tools: Enhancing Efficiency and Precision

Agile Monitoring Dashboards: A Comprehensive Guide to Boost Your Projects

Revolutionizing Mobile Device Management with Kanban

Streamlined Microservices Deployments: A Comprehensive Guide

Mobile Applications Security Event Monitoring: Best Practices and Insights

Mastering Code Quality Optimization: Essential Strategies for Developers

Mastering Server Techniques: Best Practices for Optimizing Performance

Understanding ITIL Within Serverless Architectures

Mastering Network Security in Microservices Management

Effective DevOps Cloud Cost Management: Strategies and Best Practices

Effective Linux Cloud Cost Management: Tips and Best Practices

Essential IT Security Container Management Tools: Protecting Your Digital Environment

Elevate Your Project Efficiency with Software Project Management and IT Asset Management Software

Effective DevOps Cloud Cost Management: Strategies and Best Practices

Streamlining Cloud Transition with Scrum Migration Tools

Frontend Integrations: Enhancing Your Web Application

Efficient Strategies for Monitoring Optimization

Streamlining IT Service Management with ITIL Resource Allocation Tools

Mastering Linux Orchestration Systems: A Comprehensive Guide