z3ntu / RazerGenie

Qt application for configuring your Razer devices under GNU/Linux.
GNU General Public License v3.0
376 stars 35 forks source link

The OpenRazer daemon is not installed #84

Closed ggascon closed 4 years ago

ggascon commented 4 years ago

I'm trying to run RazerGenie in macOS Catalina and I getting the follow message:

RazerGenie daemon is not installed

I have successfully installed razer_test from brew and also started the service. _brew services list | grep razertest output:

razer_test started root /Library/LaunchDaemons/homebrew.mxcl.razer_test.plist

I selected razer_test as a Daemon backend in RazerGenie settings.

RazerGenie settings

I'm sure I'm doing something wrong, but I can't figure out what it is. Any help would be appreciated. Thanks.

z3ntu commented 4 years ago

I think the problem is that you've started the service (razer_test) as root instead of as your user, see https://github.com/z3ntu/razer_test/wiki/macOS

ggascon commented 4 years ago

I've started the service as a standard user and I get the same result.

razer_test started ggascon /Users/ggascon/Library/LaunchAgents/homebrew.mxcl.razer_test.plist

Daemon is not installed
z3ntu commented 4 years ago

Can you check in system monitor (or whatever it's called) which user the process razer_test runs as? ps aux | grep razer_test could also reveal this.

Next check the output of the command qdbus , I think that should be installed by default with Qt5.

ggascon commented 4 years ago

razer_testprocess does not appear in the activity monitor and neither when I run ps aux | grep razer_test, but in brew services list.

razer_test started ggascon /Users/ggascon/Library/LaunchAgents/homebrew.mxcl.razer_test.plist

qdbusoutput:

dbus[71650]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoMemory: Not enough memory

Sorry, I'm lost.

z3ntu commented 4 years ago

Does the dbus service run? I'm guessing it doesn't and razer_test doesn't launch because of that but brew services still thinks it's running - referring to https://github.com/z3ntu/razer_test/wiki/macOS again

ggascon commented 4 years ago

Ok, for some reason brew services start dbus doesn't work. I started from launchctl and it worked.

Thanks.

z3ntu commented 4 years ago

Weird. Nice that it's working now :)