#yyds干货盘点#--linux-VNC安装
Posted 流年_火星程序员
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了#yyds干货盘点#--linux-VNC安装相关的知识,希望对你有一定的参考价值。
一、Oracle Linux 安装VNC
1、安装
yum update grub2-common -y
yum install fwupdate-efi -y
yum groups install "Server with GUI" -y
yum install tigervnc* -y
2、配置及启动
vncserver
二、CentOS 安装VNC
1、安装
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
以上是关于#yyds干货盘点#--linux-VNC安装的主要内容,如果未能解决你的问题,请参考以下文章
#yyds干货盘点#Centos7环境下手把手教你安装Gitlab代码管理工具