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

Re: Ethereal rights



>>>>> "Jeff" == Jeff Johnson <comfrey@attbi.com> writes:

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

one way would be to use the XAUTHORITY enviroment variable, which
names the file in which authorization info is kept.  if the X server
was always run by the same user (typical in a workstation), then you
could have something like this in one of root's shell init scripts:

 export XAUTHORITY=/home/notroot/.Xauthority
 export DISPLAY=:0.0

I think that this should work, but you should be aware that this sort
of thing can also cause weird problems.  say you login to the machine
via an ssh connection with X forwarding enabled, su to root, and run
an X program.  not only will it not display on the initial host, but
it might even end up displaying on the workstation display, assuming
you're logged in there also.

maybe the best thing to do is to make a script that root can use to
run ethereal that has the commands above in it, then runs ethereal.

-- 

joe


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: