10拨号拒绝远程连接_Deepin 15.10 安装 xRDP,Window使用RDP远程连接

undefined_1440w.jpg?source=172ae18b

最近在做windows RDP远程连接 linux桌面,期初使用CentOS 桌面版本,测试过程中发现CentOS的好多依赖包比较老,就转而测试Ubuntu了,在测试成功了,就想Deepin是不是也可以,原理都是一样的, 这里使用虚拟机进行测试版本版本是15.10,为了方便首先制作了一个镜像模版,后续测试都是通过镜像模版创建的虚拟机测试的。

首先开启ssh

sudo apt-get install openssh-server

#然后开启服务

sudo systemctl start sshd

然后安装VNC Server,在之前https://blog.csdn.net/yidichaxiang/article/details/100533237,测试Ubuntu 18.04 开启 VNC Server 中,已经测试了不同形式,这里就简单直接的安装x11vnc

sudo apt install x11vnc

配置访问密码

x11vnc -storepasswd

Enter VNC password:

Verify password:

Write password to /home/deepin/.vnc/passwd? [y]/n y

Password written to: /home/deepin/.vnc/passwd

deepin@deepin-PC:~$ sudo cp /home/deepin/.vnc/passwd /etc/x11vnc.pass

deepin@deepin-PC:~$

配置开机启动

sudo vim /lib/systemd/system/x11vnc.service

编辑以下内容

[Unit]

Description=Start x11vnc at startup.

After=multi-user.target

[Service]

Type=simple

ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared

[Install]

WantedBy=multi-user.target

设置开机启动

sudo systemctl enable x11vnc.service

Created symlink /etc/systemd/system/multi-user.target.wants/x11vnc.service → /lib/systemd/system/x11vnc.service.

重启电脑,测试开机启动 VNC Server

至此VNC Server 配置成功。

安装 xrdp

sudo apt install xrdp

sudo systemctl status xrdp

sudo systemctl enable xrdp

使用Windows 远程桌面远程deepin

原文链接:https://blog.csdn.net/yidichaxiang/article/details/100577570

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值