no comments yet
18
Mar
2019
Ubuntu安装LXDE桌面环境
#升级
apt-get update -y
apt-get upgrade -y
#安装桌面及VNC
apt-get install xorg lxde-core tightvncserver -y
#启动VNC
tightvncserver :1
#修改VNC配置
tightvncserver -kill :1
cat>>/root/.vnc/xstartup<<EOF
lxterminal &
/usr/bin/lxsession -s LXDE &
EOF
#启动VNC并设置分辨率等
vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
#安装浏览器
apt-get install iceweasel -y
#安装中文支持
apt-get install fonts-arphic-ukai fonts-arphic-uming fonts-arphic-gbsn00lp fonts-arphic-bkai00mp fonts-arphic-bsmi00lp