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

推荐订阅源

A
Arctic Wolf
有赞技术团队
有赞技术团队
H
Help Net Security
N
Netflix TechBlog - Medium
G
Google Developers Blog
GbyAI
GbyAI
Jina AI
Jina AI
D
DataBreaches.Net
博客园 - Franky
Recent Announcements
Recent Announcements
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
N
News | PayPal Newsroom
S
SegmentFault 最新的问题
B
Blog RSS Feed
Google DeepMind News
Google DeepMind News
S
Schneier on Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
AWS News Blog
AWS News Blog
V
V2EX
月光博客
月光博客
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 【当耐特】
P
Privacy International News Feed
T
The Exploit Database - CXSecurity.com
云风的 BLOG
云风的 BLOG
F
Full Disclosure
Microsoft Security Blog
Microsoft Security Blog
MongoDB | Blog
MongoDB | Blog
V
Vulnerabilities – Threatpost
C
CERT Recently Published Vulnerability Notes
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
爱范儿
爱范儿
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
Spread Privacy
Spread Privacy
罗磊的独立博客
P
Proofpoint News Feed
The Last Watchdog
The Last Watchdog
S
Secure Thoughts
O
OpenAI News
P
Palo Alto Networks Blog
The Cloudflare Blog
Microsoft Azure Blog
Microsoft Azure Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
Tenable Blog
雷峰网
雷峰网
C
Cisco Blogs

博客园 - 星河赵

LangChain AI 客服 Agent 项目学习笔记 海外stripe 聚合支付 ffmpeg 介绍 AE中制作带可替换屏幕的视频模版 记录|AI超写实短视频制作流程+提示词 服务端部署Vue 在Pycharm 中使用 Python Module 方式启动 uvicorn Conda 虚拟环境完整指南 Python 项目模块导入问题解决方案 2026 谷歌 Antigravity 最新安装教程! Vscode 常用配置 如何修改 Redis 数据存放路径 Vue 后台项目 Nginx 部署笔记(SPA / Vite 构建) Python -m 用法(极简版) Ubuntu 上安装 MongoDB 并启用事务的完整流程 mac 微信双开新方法 nginx 对静态资源进行压缩 HMAC-SHA256 请求签名与验签实践(Python 可直接复用) python fast api websocket 连接事例 在 Flask 中并发执行任务 Vscode 配置快捷键和JetBrains(pycharm)一样 Linux 服务器的 SSH 登录端口号 从默认的 22 改掉 配置 Docker 镜像加速器 python fast api 部署
CentOS / OpenCloudOS 服务器如何安装远程桌面
星河赵 · 2026-02-05 · via 博客园 - 星河赵

CentOS / OpenCloudOS 如何安装远程桌面,以及如何安装chrome浏览器

📓 第一部分:VNC 远程桌面安装与配置

1. 环境准备 (安装桌面与服务端)

# 1. 安装图形界面 (如果已安装则跳过)
sudo yum groupinstall "Server with GUI" -y

# 2. 安装 VNC 服务端
sudo yum install tigervnc-server -y

# 3. 设置 VNC 连接密码 (输入两次,n 拒绝 view-only)
vncpasswd

:1 代表端口5901
:2 代表端口5902

2. 配置自启动 (以 root 为例)

在现代 CentOS (8/Stream) 或 OpenCloudOS 中,使用 systemd 管理:

  1. 编辑用户映射: vi /etc/tigervnc/vncserver.users

    • 添加内容::1=root

  2. 设置开机自启:    

systemctl daemon-reload
systemctl enable vncserver@:1.service --now

3. 网络开放 (关键)

云后台: 登录腾讯云/阿里云控制台,在“安全组”中放行 TCP 5901、5902 端口。

 第二部分:Google Chrome 安装与 root 启动

1. 安装 Chrome

# 1. 配置 Repo 源
cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
EOF

# 2. 执行安装
yum install google-chrome-stable -y

2. 解决 root 无法启动问题

由于 Chrome 默认禁止 root 运行,必须添加参数:

  • 临时启动命令

google-chrome-stable --no-sandbox --user-data-dir

  永久修改图标: 

编辑 /usr/share/applications/google-chrome.desktop,在所有 Exec= 的末尾添加 --no-sandbox。