安装完官方镜像之后,初始化一些配置,以此记录。
修改 profile
vi /etc/profile
export CUDA_HOME=/usr/local/cuda-10.0
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-10.0/bin:$PATH
export DISPLAY=:0
修改 sources源
vi /etc/apt/sources.list
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-proposed main multiverse restricted universe
开启 vino-server
配置
export DISPLAY=:0
gsettings set org.gnome.Vino prompt-enabled false
gsettings set org.gnome.Vino require-encryption false
添加快捷方式
ln -s /usr/lib/vino/vino-server /usr/bin/vino-server
启动
nohup vino-server &
下载VNC Viewer客户端
正常连接即可
附录
系统版本号 jetson-nano-sd-r32.1.1-2019-05-31.img