Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GAME EMULATORS - Advanced Launcher
7th Aug, 2016, 06:09 PM
Post: #1
GAME EMULATORS - Advanced Launcher
Software
XBian version: 1.0 (knockout)
XBMC/Kodi version: 16.1 Git:2016-05-28-6f8e95d
Overclock settings: none

Hardware
Device type and model: Raspberry Pi 2 Model B
SD card size and make/type: 8GB Class 10
Network: Ethernet
Connected devices: TV

Problem description:
I'm trying to add game emulators in Xbian and somehow managed to basically make it work from the console by running commands as root (sudo).

How can I run commands as root in Advanced Launcher? ... either the main script or at least some specific commands within it.
Find all posts by this user
Quote this message in a reply
7th Aug, 2016, 10:03 PM
Post: #2
RE: GAME EMULATORS - Advanced Launcher
I do not know how AL works, but I don't believe that this is working ever. You can not share screen between applications.

If you want go play a game you have to stop Kodi first - start and play your game - and after finishing game restart Kodi.
Find all posts by this user
Quote this message in a reply
8th Aug, 2016, 06:49 AM
Post: #3
RE: GAME EMULATORS - Advanced Launcher
Yes, that is what I'm trying to achieve. And in order to stop XBMC I need to be root.
Find all posts by this user
Quote this message in a reply
8th Aug, 2016, 08:40 PM (This post was last modified: 8th Aug, 2016 09:14 PM by Nachteule.)
Post: #4
RE: GAME EMULATORS - Advanced Launcher
Terminal
sudo stop xbmc

doesn't work?
Find all posts by this user
Quote this message in a reply
9th Aug, 2016, 03:05 AM
Post: #5
RE: GAME EMULATORS - Advanced Launcher
I know how to stop it (sudo service xbmc stop), but it asks for the password. And I want to avoid it (i.e. overcome any user interaction).

Actually, I managed it by adding openvt in /etc/sudoers.d/xbian file.
Find all posts by this user
Quote this message in a reply
9th Aug, 2016, 03:39 AM
Post: #6
RE: GAME EMULATORS - Advanced Launcher
You are using wrong command to stop kodi

If you are using

Terminal
sudo stop xbmc

you do not have to enter password for user xbian

Btw, you already managed /etc/sudoers.d/xbian and if you're looking into, you'll find /sbin/start and /sbin/stop there
Find all posts by this user
Quote this message in a reply
9th Aug, 2016, 03:43 AM
Post: #7
RE: GAME EMULATORS - Advanced Launcher
Before I forget it, this file is owned by package xbian-update and will be overwritten with any update of package xbian-update
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Advanced launcher IriDium 1 5,315 25th Jan, 2013 11:55 PM
Last Post: Koenkk

Forum Jump: