Not running on raspberry pi / debian
LegendaryB opened this issue · 3 comments
Hello,
i have downloaded the latest release(Shiny Shibe).
I have extracted the folder and copied it on my raspberry pi. After that i have made the start.sh executable.
When i start the sh with sudo:
sudo ./start.sh
it doesnt start. it does not give me any error message or something like that.
when i run the XG.Application.exe manual i became the exception: 0:XG.Application.Programm.Sorry, you can't run XG with these permissions. Safety first!
Can somebody point me in the right direction? i have mono installed. Also i have tested this with running as root. Same problems
The problem is that you try to run xg with root privileges. Try it without root as a normal user.
I got:
pi@downloadPi /opt/XG $ ./start.sh
./start.sh: line 15: pid: Permission denied
pi@downloadPi /opt/XG $ ./start.sh: line 14: log.txt: Permission denied
That would be under the normal user pi without root. Maybe as a normal user i does not have the rights to listen to the specific address or port?
You need to sudo chown -R pi:pi /opt/XG so that it has the ability to create files in the folder.
You should also never run something like this as root, especially with the file handlers basically allowing code execution.