ubuntu 18.04 开启远程ssh连接,开启远程桌面连接

开启远程连接可以参考:https://blog.csdn.net/star2523/article/details/81152890

ubuntu默认是下载了openssh-client,如果没有可以使用sudo apt-get install openssh-client 安装

sudo apt-get install openssh-client

主要是安装openssh-service

sudo apt-get install openssh-service

安装完openssh-service后可以使用xshell连接,

 

开启远程桌面连接

 开启共享桌面:

打开设置,找到共享选项

ubuntu 18.04 开启远程ssh连接,开启远程桌面连接_第1张图片

ubuntu 18.04 开启远程ssh连接,开启远程桌面连接_第2张图片

配置屏幕共享,设置密码。

设置完这个还是不能共享,需要配置dconf-editor

sudo apt-get install sudo apt-get install

ubuntu 18.04 开启远程ssh连接,开启远程桌面连接_第3张图片

然后使用mobaxterm连接

ubuntu 18.04 开启远程ssh连接,开启远程桌面连接_第4张图片

点解确定,登入时输入密码就可以了

你可能感兴趣的:(Linux学习)