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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
T
Troy Hunt's Blog
Help Net Security
Help Net Security
L
LINUX DO - 最新话题
aimingoo的专栏
aimingoo的专栏
Microsoft Azure Blog
Microsoft Azure Blog
Y
Y Combinator Blog
Attack and Defense Labs
Attack and Defense Labs
M
MIT News - Artificial intelligence
Security Archives - TechRepublic
Security Archives - TechRepublic
SecWiki News
SecWiki News
博客园 - 三生石上(FineUI控件)
P
Privacy International News Feed
AI
AI
PCI Perspectives
PCI Perspectives
L
Lohrmann on Cybersecurity
G
Google Developers Blog
N
News | PayPal Newsroom
Hugging Face - Blog
Hugging Face - Blog
B
Blog RSS Feed
The Hacker News
The Hacker News
Apple Machine Learning Research
Apple Machine Learning Research
B
Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
I
InfoQ
Webroot Blog
Webroot Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
U
Unit 42
A
About on SuperTechFans
Cyberwarzone
Cyberwarzone
Schneier on Security
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
D
Docker
博客园_首页
The Cloudflare Blog
S
Secure Thoughts
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The Last Watchdog
The Last Watchdog
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
Last Week in AI
Last Week in AI
F
Fortinet All Blogs
I
Intezer
Google DeepMind News
Google DeepMind News
Know Your Adversary
Know Your Adversary
Simon Willison's Weblog
Simon Willison's Weblog

博客园 - 星河赵

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。