ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Harsh criticism from the OpenBSD folks

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 25 Aug 2004 01:37:08 +0200
On Tue, Aug 24, 2004 at 03:31:14PM -0400, Jeff Morriss wrote:
> % su
> # ethereal
> >X11 connection rejected because of wrong authentication.
> >Gdk-ERROR **: X connection to aspen:10.0 broken (explicit kill or server 
> >shutdown).
> # # Argh: 'ssh' doesn't think 'root' should be able to run X apps 
> through my connection...
> # exit
> % su -
> # export DISPLAY=mylaptop:0.0
> # ethereal
> 
> but of course GTK won't premit that:
> 
> >Gtk-WARNING **: This process is currently running setuid or setgid.
> >This is not a supported use of GTK+. You must create a helper
> >program instead. For further details, see:
> >
> >    http://www.gtk.org/setuid.html
> >
> >Refusing to initialize GTK+.

Why don't you install and configure sudo? It should solve all that.

Just do "sudo ethereal", type your user password or the root password
(depending on your sudo config) and all is up and running.

 Ciao
   Joerg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.