Jetson nano VNC遠程桌面配置


一.環境介紹

Jetson nano官方鏡像(JetPack 4.2),已更新軟件下載源,已更新系統。

Jestson nano官方鏡像下載地址。

  • 更新軟件源命令:sudo apt update
  • 更新系統命令:sudo apt upgrade

二. 開啟桌面共享設置

1. 打開Desktop-sharing設置

  • 打開設置

點擊桌面右上角的設置按鈕,進入設置頁面。

 

  • 打開遠程桌面設置

進一步點擊設置中的Desktop-Sharing來進入到遠程桌面設置。

打開圖示:

此時很有可能會打開失敗!!

2. 修復Desktop-sharing

如果打開失敗,參照以下內容來進行修復。如果打開Desktop-sharing成功,請直接跳到下一節。

  • 安裝 Vino :

sudo apt install vino

  • 編輯 org.gnome.Vino:

sudo vi /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml

  • 在最后添加以下內容:
<key name="enabled" type="b">
<summary>Enable remote access to the desktop</summary>
<description>
If true, allows remote access to the desktop via the RFB
protocol. Users on remote machines may then connect to the
desktop using a VNC viewer.
</description>
<default>false</default>
</key>

 

  • compile the schemas for Gnome:
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
  • 啟動 Vino-server
/usr/lib/vino/vino-server 

 

三.安裝配置dconf-editor

  • dconf-editor安裝命令:

sudo apt-get install dconf-editor

  • dconf-editor配置

注意一定要用當前用戶來運行,不能加sudo 。

打開 dconf-editor 命令:dconf-editor

選擇:org > gnome > desktop > remote-access

去掉prompt-enabled 和 require-encryption 的勾。

圖示:

 

五. VNC Viewer

请è¾å¥å¾çæè¿°

  • 如果是ssh下進入系統開啟遠程控制
/usr/lib/vino/vino-server --display=:0

六.Windows遠程桌面連接

終端xrdp安裝命令:

sudo apt-get install xrdp vnc4server xbase-clients

打開Windows遠程桌面,輸入Jetson的IP地址,進行遠程連接。

 

七.用vnc遠程控制tx2,因為重啟以后檢測不到顯示器,默認的分辨率很低,無法正常使用,在終端中修改分辨率:

xrandr --fb 1280x720

分辨率越高延遲越高 不建議設置太高。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM