The NEW Build Your Own Arcade Controls

Main => Software Forum => Linux => Topic started by: steshell on December 12, 2020, 08:12:38 am

Title: RGB Commander
Post by: steshell on December 12, 2020, 08:12:38 am
I'm building my first arcade machine using RetroPie and a Raspberry Pi 4.
Everything was going well until I came to install RGB Commander. It seemed to install ok and the arcade led and joystick Daemon start ok but then I get the following message

playbox 4 rgbcmdd[3476] : sh: 1: /usr/sbin/rgbcommander/scripts/OnDaemonStart.sh: Permission denied

I haven't got much of a clue when it comes to anything other than Windows (I almost wish I had used Windows) so could someone give me an idea how to deal with this please.
Title: Re: RGB Commander
Post by: cgrisamore on December 12, 2020, 09:29:50 am
Permissions issue.   It means that the owner of the file is different than the user trying to access it.  There are a couple of ways to resolve.

1. From the RGB commander docs (which I don't have) see if it specifies a user account that it runs under.  Some applications (like PLEX) setup their own user id as part of their installation process.  Once you know which userID it uses, you can change the file owner using the chown command  (sudo chown -R <owner> /usr/sbin/rgbcommander).

2. You can also change file attributes so that any user can access it  (sudo chmod -R 777 /usr/sbin/rgbcommander).  This is generally not recommended on systems with more than a single user as it grants access to all but as I expect this is a dedicated arcade device this would not be a concern.

Title: Re: RGB Commander
Post by: steshell on December 12, 2020, 11:58:32 am
Thanks cgrisamore , I'll try that later tonight.
Title: Re: RGB Commander
Post by: mahuti on December 12, 2020, 03:28:46 pm
User/group is pi/pi

Title: Re: RGB Commander
Post by: cgrisamore on December 12, 2020, 03:55:25 pm
Thanks mahuti

steshell with the new user/group info provided by mahuti in order to do option 1, open a terminal and type sudo chown -R pi:pi /usr/sbin/rgbcommander

Title: Re: RGB Commander
Post by: StefanV on January 03, 2021, 11:05:43 am
Is anyone using RGB Commamder on Raspberry Pi 4 with success?
I changed from RPI 3 to RPI 4 but I am not able to get RGB Commander up and running.
See details here: http://forum.arcadecontrols.com/index.php/topic,164165.0.html (http://forum.arcadecontrols.com/index.php/topic,164165.0.html)
Thanks, Stefan.