win10子系统debian+图形界面

(参考https://baijiahao.baidu.com/s?id=1596652006568524478&wfr=spider&for=pc)

安装 debian

更换国内软件源:

修改 C:\Users\username\AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4\LocalSta

te\ro(otfuss\ertnc\aampet为你的账户名)路径下的 sources.list

获取 debian 系发行版的 debian 版本:cat /etc/debian_version

参考 https://developer.aliyun.com/mirror/debian?spm=a2c6h.13651102.0.0.137d1b11TTxOGO 修改若版本为 10

参 考 https://www.isfirst.net/yunwei/debian10-buster-sources 修 改 为 : deb 阿里云开源镜像站资源目录 buster main non-free contrib deb-src 阿里云开源镜像站资源目录 buster main non-free contrib deb 阿里云开源镜像站资源目录 buster/updates main

deb-src 阿里云开源镜像站资源目录 buster/updates main

deb 阿里云开源镜像站资源目录 buster-updates main non-free contrib deb-src 阿里云开源镜像站资源目录 buster-updates main non-free contrib deb 阿里云开源镜像站资源目录 buster-backports main non-free contrib

deb-src 阿里云开源镜像站资源目录 buster-backports main non-free contrib

更新软件源:

sudo apt-get update

安装 xorg:

sudo apt-get install xorg

安装 xfce4:

sudo apt-get install xfce4

 

安装并配置 xrdp:                                                                                                                                           

      Xrdp 允许 Windows 或 Linux 系统通过远程桌面的方式来访问另外一台主机,特别适合本地虚拟机使用,详情参考Linux 公社文章:xrdp 完美实现 Windows 远程访问 Ubuntu 16.04。1 、 安 装 xrdp:sudo apt-get install xrdp

2、设置使用 3390 端口

sudo vi /etc/xrdp/xrdp.ini

20200411113004919.png

 

修改为 port=3390

保存

3、向 xsession 中写入 xfce4-session: sudo echo xfce4-session >~/.xsession 4、重启 xrdp 服务:

sudo service xrdp restart

 

启动远程桌面
1、启动Windows的远程桌面:

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2d5d2l3eXE=,size_16,color_FFFFFF,t_70

 

2、点击显示选项,填入:

localhost:3390

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2d5d2l3eXE=,size_16,color_FFFFFF,t_70

 

3、点击连接。

4.输入用户名和密码:

watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2d5d2l3eXE=,size_16,color_FFFFFF,t_70

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值