Foreword
Centos8.2安装Xfce,配置VNC远程桌面
准备
更新一下包
sudo yum grouplist
sudo dnf upgrade --refresh -y
安装epel-release
yum install epel-release -y
sudo dnf --enablerepo=epel group
启动PowerTools,这个东西不同版本名字好像还不同,有的是powertools
sudo dnf config-manager --set-enabled PowerTools
确认PowerTools已经启动了
sudo dnf repolist
安装Xfce
安装xfce组件
yum groupinstall xfce -y
确认xfce已经安装了
sudo dnf group list
安装桌面
sudo dnf groupinstall "Xfce" "base-x"
启动xfce
systemctl isolate graphical.target
安装VNC
安装vnc server
yum install tigervnc tigervnc-server
复制配置模板文件,编辑配置文件
sudo cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service
sudo vim /etc/systemd/system/vncserver@:1.service
将内容替换成root用户的信息
ExecStart=/usr/sbin/runuser -l root -c "/usr/bin/vncserver %i"
PIDFile=/root/.vnc/%H%i.pid
重新加载配置文件
sudo systemctl daemon-reload
设置vnc账户密码
vncpasswd root
启动vnc server
vncserver
查看启动后的端口是否正常 5901
netstat -ntlp
安全组开启5901的端口
windows 安装VNC
直接安装64位版本,一路默认即可
https://www.tightvnc.com/download.php
测试
已经可以成功连上了
安装arm-none-eabi-gcc
顺便再记录一下CentOS安装gcc-arm-none-eabi
yum没有 gcc-arm-none-eabi , 所以只能通过wget安装了
wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/10.3-2021.10/gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
解压
tar -xjf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2
添加环境变量
export PATH=$PATH:/usr/local/gcc-arm-none-eabi-10.3-2021.10/bin
Summary
还有很多其他的相关配置,可以看引用,写的比较详细,我只是用来确保桌面环境库存在,能安装SES而已,其他的倒是无所谓了
Quote
https://blog.csdn.net/weixin_45621014/article/details/124773109
https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8
https://blog.csdn.net/qq_33899456/article/details/119704171
FEATURED TAGS
RaspberryPi
嵌入式
Git
脚本
python
LeetCode
C++
APM
FreeRTOS
Markdown
Embedded
Linux
Vim
Ubuntu
Tools
STM32
Maya
LPWAN
Graph Theory
Algorithm
PathFind
OMPL
VPS
QT
Router
JS
Chrome
Tampermonkey
API
Java
Spring
MySql
Springboot
Docker
V2ray
TTRSS
Nintendo Switch
Trace
Crack
BLHeli
DSHOT
ESC
Music
C#
EasyCon
Blog
杂谈
Proxy
UAV
GuinnessWorldRecords
NAS
群晖
ZeroTier
Typora
Map
旅游
Log
JSON
Cython
Equip
Goods
Share
DMX512
Blender
Game
AP
Network
CloudFlare
DIY
WIFI
Camera
Diablo
Sensor
SES
QQ
Bot
Python
Vmq
Jenkins
米家
ESP32
Software
C
MT793x
NXP
CH32
OpenWrt
Onion
Copilot
Investment
ChatGPT
Debug
RouterOS
Mikrotik
GitLab
Drone
OpenAI
VS Code
管理