GNU Radio could not open display

Having issues with the site, hardware, source code, or any other issues?

Moderators: robert.ghilduta, robert.ghilduta

Post Reply
txjacob
Posts: 12
Joined: Fri Apr 14, 2017 10:12 am

GNU Radio could not open display

Post by txjacob » Thu May 04, 2017 11:40 am

Hello all,
I'm trying to install GNU Radio on MacOS per the instructions on the wiki. However, after installing xquartz, and gnuradio through macports I get the following error when starting gnuradio-companion:

Code: Select all

** (process:14838): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:14838): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:14838): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/opt/local/bin/gnuradio-companion", line 97, in <module>
    check_gtk()
  File "/opt/local/bin/gnuradio-companion", line 64, in check_gtk
    die(err, "Failed to initialize GTK. If you are running over ssh, "
  File "/opt/local/bin/gnuradio-companion", line 42, in die
    import gtk
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 69, in <module>
    _init()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/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
Any help is appreciate.

txjacob
Posts: 12
Joined: Fri Apr 14, 2017 10:12 am

Re: GNU Radio could not open display

Post by txjacob » Thu May 04, 2017 11:58 am

Well, I fixed it. Turns out xQuartz is not starting automatically for some reason...

Post Reply