kusti8 / hue-plus

A Windows and Linux driver in Python for the NZXT Hue+
GNU General Public License v3.0
229 stars 18 forks source link

can't run hue_ui or hue with sudo #61

Closed SamBkamp closed 4 years ago

SamBkamp commented 4 years ago

I was trying to get hue-plus setup and I discovered that the issue probably the fact that the user running the application (me) doesn't have sufficient privileges to write to the port, despite adding my user to the dialout group (as mentioned in another issue thread on this repo). The most logical solution would be to run it as sudo but when I do I get:

sudo: hue: command not found
sudo: hue_ui: command not found

any way to fix this?

SamBkamp commented 4 years ago

okay so ive come up with a less than satisfactory work around. I just performed sudo chmod 666 /dev/ttyXX on the port where my NZXT hub was connected. This works but is a little unsafe so use at your own risk.