更多分享内容可访问我的个人博客
本文主要介绍如何在树莓派4上的manjaro或arch系统上使用realvnc。如果设置不成功,也可以参考我的另一篇文章使用tigervnc代替。
安装
yay -S aur/realvnc-vnc-server-aarch64
配置
注意,以下步骤是我在折腾时用到的,不一定全部有用,但设置完成后应该可以达到效果。
- 设置
~/.vnc/config.d/vncserver-x11
文件,将Authentication=SystemAuth
改为Authentication=VncAuth
。如果原本没有,直接写上就行。 - 使用
sudo vncpasswd -service
设置密码。 - 设置开机启动vnc。
sudo systemctl enable vncserver-x11-serviced.service sudo systemctl enable vncserver-virtuald.service
- 安装一个驱动。
yay -S xf86-video-dummy
- 修改
/etc/X11/xorg.con