RetroPie-Manager web app (Recalbox-Manager fork/mod)
-
@meleu said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
@simbz23
Some questions to let me try to understand what can be the problem:If you use the same command direct in the command line, does it work?
Where exactly is your
autostart.sh
(what directory)?Is there some other command on your
autostart.sh
? Do they work?- By direct in the command line, I'm assuming you mean put my original command in a terminal prompt? Here is what I did at a terminal prompt:
/home/pi/RetroPie-Manager/rpmanager.sh --start --user pi 2>&1 &
And I got this response:
Error: only privileged users (ex.: root) can use --user option.
- My autostart.sh is in /opt/retropie/configs/all, as per the instructions
- No other commands are in there. As my original post shows, and per the instructions, the RetroPie Manager command should come before the emulationstation #auto command. They both don't have be on the same lines I'm assuming?
-
@simbz23 said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
(...) And I got this response:
Error: only privileged users (ex.: root) can use --user option.Well, if you are logged as the user
pi
, there is no need to use the--user
option. At least it lets you launch retropie-manager from the command line. ;-)- My autostart.sh is in /opt/retropie/configs/all/emulationstation, as per the instructions
I think it sould be at
/opt/retropie/configs/all/
, and NOT inside theemulationstation
subdirectory.Also, try to put a
sudo
before thatrpmanager
command in theautostart.sh
to see what happens... -
@meleu said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
@simbz23 said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
(...) And I got this response:
Error: only privileged users (ex.: root) can use --user option.Well, if you are logged as the user
pi
, there is no need to use the--user
option. At least it lets you launch retropie-manager from the command line. ;-)- My autostart.sh is in /opt/retropie/configs/all/emulationstation, as per the instructions
I think it sould be at
/opt/retropie/configs/all/
, and NOT inside theemulationstation
subdirectory.Also, try to put a
sudo
before thatrpmanager
command in theautostart.sh
to see what happens...My bad, @meleu I accidentally added emulationstation in my previous post. The file was already in the right location though.
Good news is, your suggestion of adding sudo before the command worked! Thank you for your help, I really appreciate it!
Perhaps whoever is in charge of the install instructions on the RetroPie-Manager github should add "sudo" to the command?
-
@simbz23 adding sudo to the script is bad practise. The sudo issue should be addressed in the code or file permissions
-
@herb_fargus said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
@simbz23 adding sudo to the script is bad practise. The sudo issue should be addressed in the code or file permissions
Agreed. My skills with unix is spotty, do you suggest to "chown" the file, or the folder it's in?
-
@simbz23 yeah you can chown the folder it's installed in. I automated it through my module script (https://github.com/HerbFargus/RetroPie-Setup/blob/742d55a313ff6184dba23c207a3db5827a873fef/scriptmodules/supplementary/retropie-manager.sh#L50), I used the same method xboxdrv uses for starting on boot with rc.local rather than through the autostart function. Multiple ways to do it.
-
I'll try to adapt rpmanager to deal with it and adapt the module that herb made to use rpmanager.
-
I'm not sure what user id runs the
autostart.sh
.
@simbz23 can you please put the following line in yourautostart.sh
?id > /tmp/autostart-id.log
And then paste here the content of the
/tmp/autostart-id.log
? -
@meleu said in RetroPie-Manager web app (Recalbox-Manager fork/mod):
id > /tmp/autostart-id.log
@meleu you got it, more than happy to help. Here is the output of autostart-id.log:
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),101(input),108(netdev),997(gpio),998(i2c),999(spi)
-
@simbz23
Oh! It's the pi user! :D
No need to usesudo
nor--user
. Change your line to this:/home/pi/RetroPie-Manager/rpmanager.sh --start 2>&1 &
And you can delete the
id
line.Updating the README. Thanks for the feedback!
-
@meleu That worked as well! Thanks to you and @herb_fargus for the help, much appreciated! I'm glad I could help out in anyway I can. Its the least I can do for this awesome community!
-
What is the current status of this project? Would love to see it added to the experimental packages. Amazing how many talented people get drawn to Retropie.
-
This is awesome. Cant wait to get home and try it out! Thanks for sharing...I had no idea.
-
I was thinking about this other day. "Is someone using it?"
I was working on the experimental scriptmodule that @herb_fargus started, but lost the enthusiasm... Maybe the @Botolo is busy, and he was tweaking on the main features of the retropie-manager. I just wrote the
rpmanager.sh
script, and helped with testing and docs.OK, you guys hit me! I'll try to finish the experimental scriptmodule.
-
@meleu I think once this thread got pushed down the page a lot of people forgot about it. I would love to be able to check the status of my pi from my laptop or phone. Maybe even do some basic things like restart the pi or rename roms. Maybe see memory, drive usage, and temp.
-
@meleu I use this a lot! Like someone said earlier, I'd love for it be more refined, and new features to be added as well, most importantly, make sure its something that is standard with RetroPie moving forward! Just my 2 cents :-)
-
Done! It's now in experimental packages! ;-)
-
@meleu Feeling a bit silly, but I have installed from the experimental packages and started it from the menu and set it to start on boot. I am trying to access it via web browser at my PI's IP address but get page not found. Is there more that I need to do?
-
@wmcclelion Hah, needed to add :8000 to direct to the port. /blush
-
WOW, I just came across this today, looking forward to giving it a try.
Myself, I can't see it getting used a lot, be people I've built PIs for sure will. What do you think about adding a virtual shell\console to it? I realise there is remote tools, but while you're in there....Not sure how this would work, it's just an idea. I managed a lot of devices that do this, web based UI, then you can throw to a shell for more advanced work. Prob is, it's often java based and no one wants that
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.