如何在 CentOS 8 上安装和配置 VNC

https://www.itcoder.tech/posts/how-to-install-and-configure-vnc-on-centos-8/

https://yq.aliyun.com/articles/753673

Mac 远程连接 远程桌面管理Centos(linux)

方式一 使用 spotlight(聚焦搜索)

spotlight(聚焦搜索) 或 alfred 的搜索 屏幕共享

方式二

使用Mac自带 软件,隐藏太深了。

open  /System/Library/CoreServices/Applications/

最后打开 屏幕共享Screen Sharing.app 这个软件

方式三 安装 第三方软件

Vnc Viewer

https://blog.csdn.net/youshaoduo/article/details/82698355

centos8 非root 用户启用VNC 远程桌面管理

假设 ,当前登录用户是 fox,你之前已经在当前用户下配置过 vnc 了,那么先关闭当前用户下的vnc,
然后删除 vnc 配置

# 删除 vnc 配置命令
rm -rf ~/.vnc

接着执行,

vncserver

输出

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? n

Starting applications specified in /home/fox/.vnc/xstartup
Log file is /home/fox/.vnc/foxwho:2.log

输入你要设置的密码,再输入一次密码,最后 输入 n
最后看 到Log file is /home/fox/.vnc/foxwho:2.log
那么你的端口就是 5902( 5900 +2)

centos8 安装图形界面

dnf groupinstall "Server with GUI" -y

systemctl set-default graphical

reboot
Logo

更多推荐