레이블이 nano인 게시물을 표시합니다. 모든 게시물 표시
레이블이 nano인 게시물을 표시합니다. 모든 게시물 표시

2019/09/28

How to Install Mame on Jetson Nano

I confirmed launching mame for ubuntu 18.04 on Jetson Nano.
Option 1 is confirmed at this time, but option 2 is examining now.

You can install mame by APT for ubuntu 18.04 - L4T - (Option 1)
$ sudo apt install mame
$ DBUS_FATAL_WARNINGS=0 mame

But you can build latest version of mame - (Option 2)
$ git clone https://github.com/mamedev/mame.git -b mame0214
$ cd mame
$ make

Building mame takes long time to compile, so you need more patient than using apt

You can check it out and create branch after clone
$ git clone https://github.com/mamedev/mame.git
$ git checkout tags/mame0214 -b mame0214

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