[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: No protocol specified error
From:       Lokesh Chakka <lvenkatakumarchakka () gmail ! com>
Date:       2017-11-04 6:20:37
Message-ID: CACh--sjZ6Suf7dzSYeWLCkrth3sTNQ4QWunp_vD4arqpjr8qsQ () mail ! gmail ! com
[Download RAW message or body]

Dear Felipe,

I have refereed the link. As the application I am writing needs root
privileges, I must use sudo ./a.out. No other option.

Dear Bruggemann,

I have gone through zenmap as suggested by you. But it is not going to work
as zenmap itself is failing to launch.

=============================
$ sudo zenmap
No protocol specified
No protocol specified
Traceback (most recent call last):
  File "/usr/bin/zenmap", line 181, in <module>
    import zenmapGUI.App
  File "/usr/lib/python2.7/dist-packages/zenmapGUI/App.py", line 157, in
<module>
    import gtk
  File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 69,
in <module>
    _init()
  File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 57,
in _init
    warnings.warn(str(e), _gtk.Warning)
gtk.GtkWarning: could not open display
=============================


I am absolutely stuck now. Can some one please help me how to tackle this
issue ?




Thanks & Regards
--
Lokesh Chakka,
Mobile: 9731023458

On Sun, Oct 22, 2017 at 10:22 PM, Felipe Borges <felipe10borges@gmail.com>
wrote:

> whatever man
>
> On Sat, Oct 21, 2017 at 2:25 AM, David Margerison
> <deltam@electrosonics.com.au> wrote:
> > On 20 October 2017 at 22:33, Felipe Borges <felipe10borges@gmail.com>
> wrote:
> >>
> >> Running GUI applications as root is hardly discouraged.
> >
> > The English language can be surprising, so I write this short note to
> help
> > avoid confusion.
> >
> > 400 years ago, your sentence above would be correct. But the meaning
> > of the word "hardly" has changed over time.
> >
> > In modern language, your sentence above means: running GUI applications
> > as root is discouraged only a small amount.
> >
> > (I suspect that is the opposite of what you wanted to say).
> >
> > Because these days "hardly" means "not very much".
> >
> > If a glass of water is almost empty, we can say: there is hardly any
> > water there.
> >
> > The word "hardly" has lost its original connection to the word "hard".
> >
> > So I would write that sentence as:
> >   Running GUI applications as root is severely discouraged.
> > or
> >   Running GUI applications as root is strongly discouraged.
> > _______________________________________________
> > gtk-app-devel-list mailing list
> > gtk-app-devel-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic