Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. =======================================================================
  2. README-vnc
  3. Linux for Tegra
  4. Configuring VNC from the command-line
  5. =======================================================================
  6.  
  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.
  11.  
  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.
  15.  
  16. ----------------------------------------------------------------------
  17. Installing the VNC Server
  18. ----------------------------------------------------------------------
  19.  
  20. It is expected that the VNC server software is pre-installed. Execute the
  21. following commands to ensure that it is:
  22.  
  23. sudo apt update
  24. sudo apt install vino
  25.  
  26. ----------------------------------------------------------------------
  27. Enabling the VNC Server
  28. ----------------------------------------------------------------------
  29.  
  30. Execute the following commands to enable the VNC server:
  31.  
  32. # Enable the VNC server to start each time you log in
  33. sudo ln -s ../vino-server.service \
  34. /usr/lib/systemd/user/graphical-session.target.wants
  35.  
  36. # Configure the VNC server
  37. gsettings set org.gnome.Vino prompt-enabled false
  38. gsettings set org.gnome.Vino require-encryption false
  39.  
  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)
  44.  
  45. # Reboot the system so that the settings take effect
  46. sudo reboot
  47.  
  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.
  51.  
  52. ----------------------------------------------------------------------
  53. Connecting to the VNC server
  54. ----------------------------------------------------------------------
  55.  
  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.
  59.  
  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:
  62.  
  63. ifconfig
  64.  
  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).
  68.  
  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:
  72.  
  73. vino-preferences
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement