-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux System shutdown and restart command doesn`t work #42
Comments
From what I’ve seen in emulationstation output it uses sudo on shutdown command. |
Okay, I tried it again. I wrote in the sudoers file that users can use the shutdown command with root access. But Emulationstation still doesn`t shutdown only closes Emulationstation. When I try it in the terminal with user rights its working. I also tried to change the command in the plattform.cpp from 'sudo shutdown -h now' in 'shutdown -P now' and its not working. |
I am having the same issue compiled on Lubuntu 16.04. If I try to restart ES or restart/shutdown the system, I am taken back to the desktop. My local acct has been added to sudoers and it did not help: sudo sed -i '$ a\retro ALL=(ALL) NOPASSWD:ALL' /etc/sudoers Stock ES from the PPA works fine (although missing 'Restart ES' option obviously). |
Fixed it, was working on #37 and found that the functions runShutdownCommand and runRestartCommand where never called. Going to do a pull request with the fix. However, for the fix to work emulationstation has to be run as root or under permission to reboot or shutdown the system ! See pull-request: #45 |
When I click the shutdown or also the restart command in the menu Emulationstation just closes.
It doesn`t shutdown or restart the hole System.
The text was updated successfully, but these errors were encountered: