Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9217275
  • 博文数量: 1728
  • 博客积分: 12961
  • 博客等级: 上将
  • 技术积分: 19870
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-09 11:25
个人简介

偷得浮生半桶水(半日闲), 好记性不如抄下来(烂笔头). 信息爆炸的时代, 学习是一项持续的工作.

文章分类

全部博文(1728)

文章存档

2024年(4)

2023年(26)

2022年(112)

2021年(217)

2020年(157)

2019年(192)

2018年(81)

2017年(78)

2016年(70)

2015年(52)

2014年(40)

2013年(51)

2012年(85)

2011年(45)

2010年(231)

2009年(287)

分类: 其他平台

2021-10-14 10:10:23

TX2-NX 的桌面共享 不能用, 只能用命令行试了.

根据 nv-l4t-usb-device-mode.server 模拟出的 L4T-README 中 README-vnc.txt 描述.  实测有效 (在 TX2 插或者不插HDMI显示器 都可以启用 VNC 远程桌面)

点击(此处)折叠或打开

  1. =======================================================================
  2.                             README-vnc
  3.                           Linux for Tegra
  4.                Configuring VNC from the command-line
  5. =======================================================================

  6. A VNC server allows access to the graphical display of a Linux for Tegra system
  7. over the network. This allows you to work physically remote from the Linux for
  8. Tegra system, and avoids the need to connect an HDMI display, USB keyboard, or
  9. mouse.

  10. All commands specified below should be executed from a terminal on the Linux
  11. for Tegra system. This could be a serial port, an SSH session, or a graphical
  12. terminal application running on the HDMI display.

  13. ----------------------------------------------------------------------
  14. Installing the VNC Server
  15. ----------------------------------------------------------------------

  16. It is expected that the VNC server software is pre-installed. Execute the
  17. following commands to ensure that it is:

  18. sudo apt update
  19. sudo apt install vino

  20. ----------------------------------------------------------------------
  21. Enabling the VNC Server
  22. ----------------------------------------------------------------------

  23. Execute the following commands to enable the VNC server:

  24. # Enable the VNC server to start each time you log in
  25. mkdir -p ~/.config/autostart
  26. cp /usr/share/applications/vino-server.desktop ~/.config/autostart

  27. # Configure the VNC server
  28. gsettings set org.gnome.Vino prompt-enabled false
  29. gsettings set org.gnome.Vino require-encryption false

  30. # Set a password to access the VNC server
  31. # Replace thepassword with your desired password
  32. gsettings set org.gnome.Vino authentication-methods "['vnc']"
  33. gsettings set org.gnome.Vino vnc-password $(echo -n 'thepassword'|base64)

  34. # Reboot the system so that the settings take effect
  35. sudo reboot

  36. The VNC server is only available after you have logged in to Jetson locally. If
  37. you wish VNC to be available automatically, use the system settings application
  38. to enable automatic login.

  39. ----------------------------------------------------------------------
  40. Connecting to the VNC server
  41. ----------------------------------------------------------------------

  42. Use any standard VNC client application to connect to the VNC server that is
  43. running on Linux for Tegra. Popular examples for Linux are gvncviewer and
  44. remmina. Use your own favorite client for Windows or MacOS.

  45. To connect, you will need to know the IP address of the Linux for Tegra system.
  46. Execute the following command to determine the IP address:

  47. ifconfig

  48. Search the output for the text "inet addr:" followed by a sequence of four
  49. numbers, for the relevant network interface (e.g. eth0 for wired Ethernet,
  50. wlan0 for WiFi, or l4tbr0 for the USB device mode Ethernet connection).

  51. ----------------------------------------------------------------------
  52. Setting the Desktop Resolution
  53. ----------------------------------------------------------------------

  54. The desktop resolution is typically determined by the capabilities of the
  55. display that is attached to Jetson. If no display is attached, a default
  56. resolution of 640x480 is selected. To use a different resolution, edit
  57. /etc/X11/xorg.conf and append the following lines:

  58. Section "Screen"
  59.    Identifier "Default Screen"
  60.    Monitor "Configured Monitor"
  61.    Device "Tegra0"
  62.    SubSection "Display"
  63.        Depth 24
  64.        Virtual 1280 800 # Modify the resolution by editing these values
  65.    EndSubSection
  66. EndSection

阅读(1556) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~