跳至主要內容

ubuntu 24.04 安裝 anydesk

Last Updated on 2026-04-18 by william

無論如何,個人使用 gooogle remote desktop 連到自己的 ubuntu 最好,但是預防萬一,還是安裝個人版的 anydesk 雙保險。

安裝 anydesk 請參考這裡,我習慣用指令安裝

# Add the AnyDesk GPG key
sudo apt update
sudo apt install ca-certificates curl apt-transport-https
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://keys.anydesk.com/repos/DEB-GPG-KEY -o /etc/apt/keyrings/keys.anydesk.com.asc
sudo chmod a+r /etc/apt/keyrings/keys.anydesk.com.asc

# Add the AnyDesk apt repository
echo "deb [signed-by=/etc/apt/keyrings/keys.anydesk.com.asc] https://deb.anydesk.com all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list > /dev/null

# Update apt caches and install the AnyDesk client
sudo apt update
sudo apt install anydesk

安裝後,就可以執行 anydesk 並且設定密碼。

但是實測還是無法連進去,出現這個錯誤

Display_Server_Not_Supported Error

解法在這裡

# 修改這檔案
vi /etc/gdm3/custom.conf

# 找到以下設定,若有 # 就拿掉
WaylandEnable=false
AutomaticLoginEnable=true
# $USERNAME 是你登入的帳號,以我為例子,改成 william 就好了
AutomaticLogin=$USERNAME

重新開機,就可用 anydesk 登入了。

分類:技術

搶先發佈留言

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

由 Compete Themes 設計的 Author 佈景主題