惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Vulnerabilities – Threatpost
U
Unit 42
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
F
Full Disclosure
月光博客
月光博客
Engineering at Meta
Engineering at Meta
博客园_首页
The Register - Security
The Register - Security
G
Google Developers Blog
The Cloudflare Blog
博客园 - Franky
K
Kaspersky official blog
A
Arctic Wolf
Scott Helme
Scott Helme
C
Cisco Blogs
Hugging Face - Blog
Hugging Face - Blog
C
Check Point Blog
NISL@THU
NISL@THU
AI
AI
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Vercel News
Vercel News
T
Tor Project blog
P
Privacy International News Feed
D
Docker
I
Intezer
L
LangChain Blog
P
Proofpoint News Feed
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
博客园 - 聂微东
AWS News Blog
AWS News Blog
Martin Fowler
Martin Fowler
P
Privacy & Cybersecurity Law Blog
V
V2EX
Last Week in AI
Last Week in AI
C
Cybersecurity and Infrastructure Security Agency CISA
The Hacker News
The Hacker News
T
Tenable Blog
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog

博客园 - 番茄的梦想

Debian防火墙的ufw的使用 Linux—nvm教程 LNMP一键安装包安装的mysql远程连接不上的问题 linux service文件格式 linux if命令 微软sdk及运行时下载地址 解决python错误 UnicodeDecodeError: 'gb2312' codec can't decode byte 0x8b in position 1: illegal multibyt pip相关介绍 结构(位置)伪类选择器 如何清除mstsc记录 使用Windows远程桌面工具来远程连接控制Ubuntu系统 缓存头Cache-Control的含义和使用 正则表达式 以A开头B结尾 取中间的内容 nginx 不带www的域名跳转www域名 IIS配置导入导出 CSS中hover选择器的使用详解 html 锚点三种实现方法 重置自增长id 如何解决Visual Studio2012 与此版本的Windows不兼容
ubuntu开启远程桌面功能
番茄的梦想 · 2022-10-08 · via 博客园 - 番茄的梦想

本文介绍ubuntu自带的xrdp工具进行远程桌面登陆。
第一步:安装vnc服务

sudo apt-get install tightvncserver
1
第二步:安装xrdp服务

sudo apt-get install xrdp
1
PS:VNC与xrdp服务安装顺序不可以颠倒,否则可能在登陆的时候报错Error Problem connecting

第三步:配置xrdp服务
通过xrdp连接到桌面,需要正确配置相关信息并填充到.xsession文件(针对每个用户)或/etc/startwm.sh(针对所有用户),输入如下命令

echo unity>~/.xsession
1
PS:~为当前用户home目录

第四步:重启xrdp服务

sudo service xrdp start
1
PS:重启的时候restart可能无法使用,先使用stop再使用start实现

第五步:配置ubuntu桌面共享选项
1.在搜索栏搜索“桌面共享”(DeskTop Sharing)
2.配置项如下,设置密码为远程时登陆密码

3. 在终端输入dconf-editor命令,在编辑窗口 依次选择org–gnome–desktop–remote-access把里面的require-encryption取消勾选。

PS:如果提示 程序“dconf-editor”尚未安装。使用如下命令安装即可:

sudo apt install dconf-editor
1
PS:如果提示 dconf-eidtor无法启动,可尝试如下方法,然后再执行dconf-editor:

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
1
4.打开windows远程桌面连接工具,输入Linux机器IP进行连接


————————————————
版权声明:本文为CSDN博主「您好,哪位?」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_34446736/article/details/122186484