【#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
推荐阅读
- #yyds干货盘点#--k8s-controller-nginx热更新
- WordPress functions.php-管理html注入和提交表单
- WordPress function.php自动更改
- WordPress function.php为自定义帖子类型添加代码
- WordPress强制Post选择类别
- WordPress的首页不显示模板的内容
- WordPress特色图片请求返回未知
- 主题wpexplorer Today主题的WordPress摘录字符限制
- WordPress按标签过滤帖子