Ubuntu下远程控制X2Go

X2Go是一款支持远程控制Ubuntu桌面的开源软件,基于ssh连接,多平台Windows/Mac OS/Linux客户端支持,支持多用户多session同时在线,支持session保持后台运行与恢复(再次登陆同一session)。

Ubuntu16.06服务器端安装

1
2
3
4
5
6
7
8
9
10
11
12
# 安装ssh服务器
sudo apt install openssh-server
# 安装x2go服务器
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
# 安装xfce桌面
sudo apt install xfce4
# 或者可以安装mate桌面,两者也可并存
sudo apt-get install ubuntu-mate-core ubuntu-mate-desktop
sudo apt-get install x2gomatebindings

客户端配置

安装好客户端后启动,在Session选项卡创建新的session,在弹出Session preferences框中,设置Host(主机地址), Login(ssh用户名),session Type(远程桌面环境xfce或mate)。在Media选项卡,可选择禁用“Client side printing support”。