#yyds干货盘点#--linux-VNC安装

【#yyds干货盘点#--linux-VNC安装】不操千曲而后晓声,观千剑而后识器。这篇文章主要讲述#yyds干货盘点#--linux-VNC安装相关的知识,希望能为你提供帮助。
一、Oracle Linux 安装VNC1、安装

yum update grub2-common -y
yum install fwupdate-efi -y
yum groups install "Server with GUI" -y
yum install tigervnc* -y

2、配置及启动
vncserver

二、CentOS 安装VNC1、安装
yum update grub2-common -y
yum install fwupdate-efi -y
yum groupinstall gnome-desktop -y
yum install gnome-session -y
yum install tigervnc* -y

2、配置及启动
[root@i-5im202t8 ~]#vncserver
You will require a password to access your desktops.
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
A view-only password is not used
xauth:file /root/.Xauthority does not exist
New i-5im202t8:1 (root) desktop is i-5im202t8:1
Creating default startup script /root/.vnc/xstartup
Creating default config /root/.vnc/config
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/i-5im202t8:1.log

3、启动及停止
vncserver :1
vncserver -kill :1

4、解决黑屏
chmod +777 /root/.vnc/xstartup
# 重启服务
vncserver -kill :1
vncserver :1


    推荐阅读