a guest Sep 17th, 2019 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. =======================================================================
  2.                             README-vnc
  3.                           Linux for Tegra
  4.                Configuring VNC from the command-line
  5. =======================================================================
  7. A VNC server allows access to the graphical display of a Linux for Tegra system
  8. over the network. This allows you to work physically remote from the Linux for
  9. Tegra system, and avoids the need to connect an HDMI display, USB keyboard, or
  10. mouse.
  12. All commands specified below should be executed from a terminal on the Linux
  13. for Tegra system. This could be a serial port, an SSH session, or a graphical
  14. terminal application running on the HDMI display.
  16. ----------------------------------------------------------------------
  17. Installing the VNC Server
  18. ----------------------------------------------------------------------
  20. It is expected that the VNC server software is pre-installed. Execute the
  21. following commands to ensure that it is:
  23. sudo apt update
  24. sudo apt install vino
  26. ----------------------------------------------------------------------
  27. Enabling the VNC Server
  28. ----------------------------------------------------------------------
  30. Execute the following commands to enable the VNC server:
  32. # Enable the VNC server to start each time you log in
  33. sudo ln -s ../vino-server.service \
  34.     /usr/lib/systemd/user/
  36. # Configure the VNC server
  37. gsettings set org.gnome.Vino prompt-enabled false
  38. gsettings set org.gnome.Vino require-encryption false
  40. # Set a password to access the VNC server
  41. # Replace thepassword with your desired password
  42. gsettings set org.gnome.Vino authentication-methods "['vnc']"
  43. gsettings set org.gnome.Vino vnc-password $(echo -n 'thepassword'|base64)
  45. # Reboot the system so that the settings take effect
  46. sudo reboot
  48. The VNC server is only available after you have logged in to Jetson locally. If
  49. you wish VNC to be available automatically, use the system settings application
  50. to enable automatic login.
  52. ----------------------------------------------------------------------
  53. Connecting to the VNC server
  54. ----------------------------------------------------------------------
  56. Use any standard VNC client application to connect to the VNC server that is
  57. running on Linux for Tegra. Popular examples for Linux are gvncviewer and
  58. remmina. Use your own favorite client for Windows or MacOS.
  60. To connect, you will need to know the IP address of the Linux for Tegra system.
  61. Execute the following command to determine the IP address:
  63. ifconfig
  65. Search the output for the text "inet addr:" followed by a sequence of four
  66. numbers, for the relevant network interface (e.g. eth0 for wired Ethernet,
  67. wlan0 for WiFi, or l4tbr0 for the USB device mode Ethernet connection).
  69. Once you are connected to the VNC server, execute the following command to
  70. display the VNC server's graphical configuration tool, and then configure a
  71. password for the VNC connection:
  73. vino-preferences
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand