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 -- Michael Williams Computer Information Systems The University of Akron
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 *
participants (2)
-
Ken Schneider
-
Michael Williams