簡單記錄Jetson-TX1開發配置過程,以便之後查閱,如有錯誤,請及時指正!
1、NFS服務搭建
1.1 在host主機(Ubuntu14.04)上安裝nfs組件:
$ sudo apt-get install nfs-common nfs-kernel-server
1.2 在host主機上配置etc/exports,指出需要mount出的目錄:
打開etc/exports文件:
$ sudo gedit /etc/exports
修改etc/exports文件如下:
/home/chen/host/nfsroot *(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
其中,/home/chen/host/nfsroot 是博主自己需要共享目錄的絕對路徑,可以相應的改成自己的路徑;
1.3 重啓NFS服務
$ sudo /etc/init.d/nfs-kernel-server restart
1.4 在target(Jetson-TX1)上安裝nfs-common
$ sudo apt-get install nfs-common -y
1.5 從target上mount到host的nfs掛載路徑
$sudo mount -t nfs -o nolock <ipaddr>:<dir-on-host> <dir-on-target>
例子:
sudo mount -t nfs -o nolock 192.168.0.104:/home/chen/host/nfsroot /home/nvidia/target/nfsroot
2、配置遠程桌面
Ubuntu實現遠程桌面的方法較多,本文只選取了較爲簡單的一種方式,即使用VNC來操作;
2.1 設置Desktop Sharing
2.2 修改dconf-editor選項
終端輸入如下命令安裝dconf-editor工具:
$ sudo apt-get install dconf-editor -y
然後打開dconf-editor
$ dconf-editor
依次展開org->gnome->desktop->remote-access,取消選擇requre-encryption(下圖第三個勾)
2.3 下載VNC Viewer
下載官網:https://www.realvnc.com/en/connect/download/viewer/windows/
想要使用VNC進行遠程連接,必須保證這些設備在同一個局域網之下,客戶端的配置過程比較簡單,輸入TX1的IP地址(終端命令爲ifconfig)。