2019/09/28

Fix desktop sharing setting on L4T - Ubuntu 18.04


1. Fix crash when entering Desktop Sharing in Settings
  • $ sudo nano /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml
  • Add lines below at proper position
    <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>
  • $ sudo glib-compile-schemas /usr/share/glib-2.0/schemas

2. Launch Desktop Sharing at startup 
  • Select a button at top left on Desktop after logged in
  • Search "Startup Applications" and select it
  • Select "Add" and fill some information on dialog
    • Name: Desktop Sharing
    • Command: /usr/lib/vino/vino-server
    • Comment: Launch Desktop Sharing

3. Reboot and connect by using your VNC viewer
  • $ sudo reboot

References:
https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1741027/comments/11
https://askubuntu.com/questions/1062727/how-to-get-vino-vnc-server-to-start-on-startup-in-ubuntu-18-04-1

댓글 없음: