博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
centos7 xfce+vnc黑屏解决
阅读量:4101 次
发布时间:2019-05-25

本文共 463 字,大约阅读时间需要 1 分钟。

KDE,GNOME占内存高,xfce轻便占资源少

主要是修改配置文件要准确   /root/.vnc/xstartup      (xfce版)   网上大多是gnome版的

vi /root/.vnc/xstartup

# Uncomment the following two lines for normal desktop:

unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop"&
#twm &
startxfce4 &

刷新服务 
systemctl daemon-reload

转载地址:http://orzsi.baihongyu.com/

你可能感兴趣的文章
面试必问的设计模式 | 观察者模式
查看>>
Redis | Redis 哨兵模式
查看>>
精通Spring源码 | BeanFactoryPostProcessor
查看>>
精通 Spring 源码 | InstantiationAwareBeanPostProcessor(2)
查看>>
精通 Spring 源码 | InstantiationAwareBeanPostProcessor(1)
查看>>
面试必问的设计模式 | 装饰者模式
查看>>
精通 Spring 源码 | ImportSelector
查看>>
精通 Spring 源码 | BeanFactory & FactoryBean
查看>>
SpringBoot 2.x | Spring Boot Admin 微服务监控
查看>>
创建定时任务的 5 种方式
查看>>
全站导航 | 文章汇总
查看>>
创建多线程的 5 种方式
查看>>
精通 Spring 源码 | Spring 中的各种 Aware
查看>>
消息队列 RocketMQ | Docker 快速安装 RocketMQ
查看>>
SpringBoot 2.x | SpringBoot 整合 RocketMQ
查看>>
Docker $ 界面管理 :Docker Web
查看>>
MongoDB的安装及使用
查看>>
IDEA运行JavaWeb服务器图片无法加载
查看>>
Redis | Redis 单机版安装与使用(Window)
查看>>
IDEA 搭建 maven 环境
查看>>