[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Can't open GNURadio Companion as root?

From: Philip Balister
Subject: Re: [Discuss-gnuradio] Can't open GNURadio Companion as root?
Date: Sat, 8 Jun 2019 15:10:49 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 06/08/2019 02:00 PM, Eamon Heaney wrote:
> 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?

That sounds like a terrible idea (running gnuradio-companion as root).
Where is this github repo?

That said, I've seen it run as root on embedded boards so there nothing
in the code to stop it.

The could not open display message suggest you are trying to run over
ssh without using X forwarding.


> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]