Joseph Dane, 2002-Jun-06 09:35 -1000:
> >>>>> "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.

The way I do this is using sudo.  I gave myself the NOPASSWORD option
for ethereal too so make it quicker.

jcx

--
Jeff Coppock            Systems Engineer
Diggin' Debian          Admin and User


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

Reply via email to