Hey all, I'm getting a gtk error when I try to run gnuradio-companion as root. Error message below.
File "/usr/bin/gnuradio-companion", line 97, in <module>
check_gtk()
File "/usr/bin/gnuradio-companion", line 64, in check_gtk
die(err, "Failed to initialize GTK. If you are running over ssh, "
File "/usr/bin/gnuradio-companion", line 42, in die
import gtk
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 69, in <module>
_init()
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 57, in _init
warnings.warn(str(e), _gtk.Warning)
gtk.GtkWarning: could not open display
The instructions on the github repo I'm working from indicate that I should be running this as root, so I do think it's necessary. Any ideas on how to fix this?
--
Eamon Heaney
Fleet Commander
President, Model UN at Virginia Tech