Kodi Community Forum

Full Version: [LIVE] MAME runs only on root user
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
im trying to run mame on the xbmc-live but it only runs on the root user or under sudo. im using latest xbmc-live and the sdlmame from http://sdlmame.wallyweek.org/repository/#urls
loktar Wrote:im trying to run mame on the xbmc-live but it only runs on the root user or under sudo. im using latest xbmc-live and the sdlmame from http://sdlmame.wallyweek.org/repository/#urls

http://sdlmame.wallyweek.org/repository

This installed fine for me.

Code:
xbmc@XBMCLive:~$ sudo add-apt-repository ppa:c.falco/mame
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 0B08D11DD363EE1C2B2BBA3BC255CD2521B9A13C
gpg: requesting key 21B9A13C from hkp server keyserver.ubuntu.com
gpg: key 21B9A13C: public key "Launchpad PPA for Cesare Falco" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
xbmc@XBMCLive:~$ sudo apt-get update
Get:1 http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Get:2 http://ppa.launchpad.net lucid Release.gpg [316B]
Ign http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu/ lucid/main Translation-en_US
Get:3 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:4 http://archive.ubuntu.com lucid Release.gpg [189B]
Ign http://archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Get:5 http://security.ubuntu.com lucid-security Release [44.7kB]
Ign http://ppa.launchpad.net/c.falco/mame/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu/ lucid/main Translation-en_US
Get:6 http://ppa.launchpad.net lucid Release [14.0kB]
Ign http://archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Hit http://archive.ubuntu.com lucid-backports Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ lucid-backports/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid-backports/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid-backports/multiverse Translation-en_US
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Get:7 http://archive.ubuntu.com lucid Release [57.2kB]
Get:8 http://ppa.launchpad.net lucid Release [14.0kB]
Hit http://www.lonelycoder.com hts Release.gpg
Ign http://www.lonelycoder.com/debian/ hts/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Get:9 http://ppa.launchpad.net lucid/main Packages [4,398B]
Get:10 http://ppa.launchpad.net lucid/main Sources [1,247B]
Hit http://www.lonelycoder.com hts Release
Get:11 http://security.ubuntu.com lucid-security/main Packages [160kB]
Hit http://archive.ubuntu.com lucid-backports Release
Hit http://archive.ubuntu.com lucid-updates Release
Get:12 http://archive.ubuntu.com lucid/main Packages [1,386kB]
Ign http://www.lonelycoder.com hts/main Packages
Get:13 http://ppa.launchpad.net lucid/main Packages [1,820B]
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Sources
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Sources
Hit http://ppa.launchpad.net lucid/main Packages
Ign http://www.lonelycoder.com hts/main Packages
Hit http://www.lonelycoder.com hts/main Packages
Get:14 http://security.ubuntu.com lucid-security/restricted Packages [14B]
Get:15 http://security.ubuntu.com lucid-security/universe Packages [62.9kB]
Get:16 http://security.ubuntu.com lucid-security/multiverse Packages [1,995B]
Get:17 http://archive.ubuntu.com lucid/restricted Packages [6,208B]
Get:18 http://archive.ubuntu.com lucid/universe Packages [5,448kB]
Get:19 http://archive.ubuntu.com lucid/multiverse Packages [180kB]
Hit http://archive.ubuntu.com lucid-backports/main Packages
Hit http://archive.ubuntu.com lucid-backports/restricted Packages
Hit http://archive.ubuntu.com lucid-backports/universe Packages
Hit http://archive.ubuntu.com lucid-backports/multiverse Packages
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Packages
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages
Fetched 7,383kB in 18s (394kB/s)
Reading package lists... Done
xbmc@XBMCLive:~$ sudo apt-get install mame
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gconf2-common libgconf2-4 libidl0 liborbit2 libsdl-ttf2.0-0 mame-common
Suggested packages:
  joystick mame-tools
The following NEW packages will be installed:
  gconf2-common libgconf2-4 libidl0 liborbit2 libsdl-ttf2.0-0 mame mame-common
0 upgraded, 7 newly installed, 0 to remove and 18 not upgraded.
Need to get 16.5MB of archives.
After this operation, 58.5MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main gconf2-common 2.28.1-0ubuntu1 [28.7kB]
Get:2 http://ppa.launchpad.net/c.falco/mame/ubuntu/ lucid/main mame-common 0.141-0ubuntu1~ppa1~lucid [28.2kB]
Get:3 http://archive.ubuntu.com/ubuntu/ lucid/main libidl0 0.8.13-1 [88.6kB]
Get:4 http://ppa.launchpad.net/c.falco/mame/ubuntu/ lucid/main mame 0.141-0ubuntu1~ppa1~lucid [15.9MB]
Get:5 http://archive.ubuntu.com/ubuntu/ lucid/main liborbit2 1:2.14.18-0.1 [251kB]
Get:6 http://archive.ubuntu.com/ubuntu/ lucid/main libgconf2-4 2.28.1-0ubuntu1 [157kB]
Get:7 http://archive.ubuntu.com/ubuntu/ lucid/universe libsdl-ttf2.0-0 2.0.9-1build1 [16.4kB]
Fetched 16.5MB in 39s (417kB/s)
Selecting previously deselected package gconf2-common.
(Reading database ... 57997 files and directories currently installed.)
Unpacking gconf2-common (from .../gconf2-common_2.28.1-0ubuntu1_all.deb) ...
Selecting previously deselected package libidl0.
Unpacking libidl0 (from .../libidl0_0.8.13-1_i386.deb) ...
Selecting previously deselected package liborbit2.
Unpacking liborbit2 (from .../liborbit2_1%3a2.14.18-0.1_i386.deb) ...
Selecting previously deselected package libgconf2-4.
Unpacking libgconf2-4 (from .../libgconf2-4_2.28.1-0ubuntu1_i386.deb) ...
Selecting previously deselected package libsdl-ttf2.0-0.
Unpacking libsdl-ttf2.0-0 (from .../libsdl-ttf2.0-0_2.0.9-1build1_i386.deb) ...
Selecting previously deselected package mame-common.
Unpacking mame-common (from .../mame-common_0.141-0ubuntu1~ppa1~lucid_all.deb) ...
Selecting previously deselected package mame.
Unpacking mame (from .../mame_0.141-0ubuntu1~ppa1~lucid_i386.deb) ...
Setting up gconf2-common (2.28.1-0ubuntu1) ...

Creating config file /etc/gconf/2/path with new version

Setting up libidl0 (0.8.13-1) ...

Setting up liborbit2 (1:2.14.18-0.1) ...

Setting up libgconf2-4 (2.28.1-0ubuntu1) ...

Setting up libsdl-ttf2.0-0 (2.0.9-1build1) ...

Setting up mame-common (0.141-0ubuntu1~ppa1~lucid) ...

Setting up mame (0.141-0ubuntu1~ppa1~lucid) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

But the MAME launcher won't launch it.
I set it up properly as far as the [Configure]
Sad
Did you ever find a way to get this working?
neal73 Wrote:Did you ever find a way to get this working?
Had the same issue, this is how I resolved:

1) Change the permissions on the mame\roms directory to writable.
2) Upon setting up the launcher for mame, add "-rompath <rom folder here>" to application parameters.