Forum
GAME EMULATORS - Advanced Launcher - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: GAME EMULATORS - Advanced Launcher (/thread-3722.html)



GAME EMULATORS - Advanced Launcher - mocarela - 7th Aug, 2016 06:09 PM

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.


RE: GAME EMULATORS - Advanced Launcher - Nachteule - 7th Aug, 2016 10:03 PM

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.


RE: GAME EMULATORS - Advanced Launcher - mocarela - 8th Aug, 2016 06:49 AM

Yes, that is what I'm trying to achieve. And in order to stop XBMC I need to be root.


RE: GAME EMULATORS - Advanced Launcher - Nachteule - 8th Aug, 2016 08:40 PM

Terminal
sudo stop xbmc

doesn't work?


RE: GAME EMULATORS - Advanced Launcher - mocarela - 9th Aug, 2016 03:05 AM

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.


RE: GAME EMULATORS - Advanced Launcher - Nachteule - 9th Aug, 2016 03:39 AM

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


RE: GAME EMULATORS - Advanced Launcher - Nachteule - 9th Aug, 2016 03:43 AM

Before I forget it, this file is owned by package xbian-update and will be overwritten with any update of package xbian-update


RE: GAME EMULATORS - Advanced Launcher - henrySmith - 8th Feb, 2023 02:09 AM

Hello, Im really sorry for bumping old thread, just searching similar information. Can someone help me please? 9winz particular betting club game has become so popular that a continuation has been made and is known as blackjack switch online.The blackjack switch online is one of the most notable online casino game of all time. This is a speedy moving and splendid game where clients need to fill the scoreboard with interesting Bison pictures to win. This game has a spot with the Xtra Reel Power remember part for explicit Blue-blood things, and the gamer has 1,024 decisions to rule the slot coordinate with no set payout scheme.