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:
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
2. Add the AnyDesk Repository
3. Update Package Lists Again
Step 3: Install AnyDesk
Now, install AnyDesk with:
Step 4: Start AnyDesk
After installation, launch AnyDesk with:
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:
Step 6: Allow AnyDesk Through Firewall (If Enabled)
If you have UFW (Uncomplicated Firewall) enabled, allow AnyDesk:
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
- Install AnyDesk on your Windows/Mac/Linux/Android device from anydesk.com/download.
- Open AnyDesk and enter the Ubuntu AnyDesk ID.
- Click "Connect" and enter the password if needed.
Remove AnyDesk (If Needed)
If you ever want to remove AnyDesk, run: