补充 sudo.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
fef790247b
commit
9fe938d9e8
|
@ -14,16 +14,16 @@ published: true
|
|||
## 安装 Xorg 和 lightDM
|
||||
|
||||
```bash
|
||||
pacman -S xorg xorg-xinit xorg-server lightdm lightdm-gtk-greeter
|
||||
sudo pacman -S xorg xorg-xinit xorg-server lightdm lightdm-gtk-greeter
|
||||
ln -s /etc/lightdm/Xsession /etc/X11/Xsession
|
||||
```
|
||||
|
||||
## 安装 xfce4 或 cinnamon
|
||||
|
||||
```bash
|
||||
pacman -S xfce4 xfce4-goodies
|
||||
sudo pacman -S xfce4 xfce4-goodies
|
||||
# 或
|
||||
pacman -S cinnamon
|
||||
sudo pacman -S cinnamon
|
||||
```
|
||||
|
||||
## 支持中文显示
|
||||
|
@ -31,7 +31,7 @@ pacman -S cinnamon
|
|||
首先安装中文字体:
|
||||
|
||||
```bash
|
||||
pacman -S opendesktop-fonts wqy-microhei wqy-microhei-lite wqy-zenhei wqy-bitmapfont ttf-dejavu
|
||||
sudo pacman -S opendesktop-fonts wqy-microhei wqy-microhei-lite wqy-zenhei wqy-bitmapfont ttf-dejavu
|
||||
```
|
||||
|
||||
不推荐全局汉化,这样可能会导致tty中无法汉化而出现乱码。最好是在用户各自的家目录下的~/.bashrc、~/.profile、~/.xinitrc或~/.xprofile中设置自己的用户环境,若文件不存在可以新建。
|
||||
|
@ -59,7 +59,7 @@ systemctl start lightdm.service
|
|||
|
||||
```bash
|
||||
# 安装
|
||||
pacman -S tigervnc
|
||||
sudo pacman -S tigervnc
|
||||
```
|
||||
|
||||
编辑 /etc/tigervnc/vncserver.users 文件配置用户和 Display Number.
|
||||
|
|
Loading…
Reference in New Issue