Closed metaphys closed 13 years ago
Ok I've got it: it works if lauch as root. This is because : if ! service debumblebee status > /dev/null; then .........
service is a root command. I've tried to add sudo to the line: if ! sudo service debumblebee status > /dev/null; then
but then it ask for my password for sudo, which is bad because I don't use it and have an empty sudoers files the from a line above I tried: if ! sudo /etc/init.d/debumblebee status > /dev/null; then
And it's fixed!!!
By the way: I would be very interested to know why it doesn't bother to ask my password this way...
And I answer to my question: because I can start/stop service that way if it doesn't need to make forbidden operation. If you change line 79 of optirun file to: if ! /etc/init.d/debumblebee status > /dev/null; then you can close this issue ;)
Aha, I used to have sbin folders in my PATH while they aren't there by default.
uninstall/reinstall with the new sources to test the correction of #31
after reboot I get: jean-louis@debian:~$ optirun glxgears /usr/local/bin/optirun: 79: /usr/local/bin/optirun: service: not found Error: debumblebee service was not able to start. Actually this means that launch of X server for nVidia card failed for some reason. You may check the log at /var/log/Xorg.8.log jean-louis@debian:~$
Oh! no!! now it's broken and doesn't work at all! ;)
It's strange: the xorg.log doesn't seems to report anything wrong... https://gist.github.com/1257793
I'm on testing in the case it matters