1-debian安装xfce桌面
sudo apt-get install xfce4
2-添加GPG Keys
gpg: 从公钥服务器接收失败:No name
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 --recv E1F958385BFE2B6E
参考:https://www.jianshu.com/p/7f04a4448634
3-添加实际的Repository
sudo vim /etc/apt/sources.list.d/x2go.list
# X2Go Repository (release builds)
deb http://packages.x2go.org/debian buster extras main
# X2Go Repository (sources of release builds)
deb-src http://packages.x2go.org/debian buster extras main
# X2Go Repository (Saimaa ESR builds)
#deb http://packages.x2go.org/debian buster extras saimaa
# X2Go Repository (sources of Saimaa ESR builds)
#deb-src http://packages.x2go.org/debian buster extras saimaa
# X2Go Repository (nightly builds)
#deb http://packages.x2go.org/debian buster extras heuler
# X2Go Repository (sources of nightly builds)
#deb-src http://packages.x2go.org/debian buster extras heuler
4-更新
sudo apt-get update
5-安装x2go server
sudo apt-get install x2goserver x2goserver-xsession
有疑问加站长微信联系(非本文作者)