![](https://seccdn.libravatar.org/avatar/1933063e7c242394a97527935d62e619.jpg?s=120&d=mm&r=g)
On Fri, 2004-09-17 at 13:28, Michael Williams wrote:
I am trying to set up the Ethereal packet sniffer on some computers in a lab for networking students. Ethereal works fine if started by root. Regular users can bring up the program but if they try to capture packets they get the message - socket: operation not permitted - check permissions. (Permissions are 755.)
I tried adding ethereal to the sudoers file to run it as root, however, the program will not run at all and we get the following errors:
Xlib: connection to :0.0 refused by server Xlib: no protocol specified
I have seen this before if I try to run a gui program by using su to go to root. How can I fix this?
Mike
Use sux instead of su. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2) * PLEASE only reply to the list *