Windows 10 通过 rdp 远程连接 Ubuntu 18.04

本文详细介绍如何在Ubuntu系统中安装和配置xrdp服务,实现从Windows系统通过远程桌面协议(RDP)连接到Ubuntu。步骤包括安装xrdp、重启Ubuntu、避免登录Ubuntu系统直接开启RDP连接、在Windows上使用RDP客户端连接Ubuntu,并解决可能出现的Ubuntu授权窗口问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. 在Ubuntu上安装 xrdp sudo apt install xrdp
  2. 重启 Ubuntu
  3. 注意:不要登陆 Ubuntu 系统
  4. 在 Windows 系统上打开 rdp
  5. 输入 Ubuntu 系统的IP地址,不要保存凭据
  6. 连接到 Ubuntu 系统, 输入密码
  7. 如果出现Ubuntu的授权窗口,点击 cancel

PS: 取消授权窗口的方法:
@cswu

sudo bash -c "cat >/etc/polkit-1/localauthority/50-local.d/45-allow.colord.pkla" <<EOF
[Allow Colord all Users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=no
ResultInactive=no
ResultActive=yes
EOF
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值