Thanks Joseph,

This works.

are there any more permanent solutions so this doesn't have to be done
every time i wish to run ethereal?

-jeff

On Thu, 2002-06-06 at 12:35, Joseph Dane wrote:
> >>>>> "Jeff" == Jeff Johnson <[EMAIL PROTECTED]> writes:
> 
>  Jeff> I try to capture traffic with ethereal and I dont have the
>  Jeff> permissions for the device.  sou i try to run it from a root
>  Jeff> console and X cannot open display.
> 
> one way of doing this is
> 
>  * as non-root owner of the X session, do
> 
>  xauth extract /tmp/auth :0.0
> 
>  * as root, do
> 
>  xauth merge /tmp/auth
>  export DISPLAY=:0.0
>  ethereal
> 
> note that if the /tmp/auth file is publicly readable, then anyone on
> the local system can hijack your X server.
> 
> -- 
> 
> joe
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to