配置VNC服务器
Jetson Nano使用vino来作为默认的VNC服务器,但是默认的设置需要进行一些修改。
配置VNC Server
gsettings set org.gnome.Vino require-encryption false
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino authentication-methods "['vnc']"
gsettings set org.gnome.Vino lock-screen-on-disconnect false
gsettings set org.gnome.Vino vnc-password $(echo -n "mypassword"|base64)
需要注意的是,不要用sudo来运行上面的命令,mypassword就是连接VNC的密码。
设置桌面开机自启,在.config路径下新建一个自启文件
mkdir -p .config/autostart
sudo vim ~/.config/autostart/vino-server.desktop
添加以下内容:
[Desktop Entry]
Type=Application
Name=Vino VNC server
Exec=/usr/lib/vino/vino-server
NoDisplay=true
查看当前用的是什么管理器
cat /etc/X11/default-display-manager
编辑文件
sudo vim /etc/gdm3/custom.conf
把下面三行的注释去掉,其中AutomaticLogin行修改成自己的用户名。
WaylandEnable=false
AutomaticLoginEnable = true
AutomaticLogin = waveshare
重启Orin Nano
sudo reboot
转自微雪Wiki
参考链接