Are you exporting your .Xauthority file? In .bashrc should be a line like:
export XAUTHORITY='/home/login_name/.Xauthority' This should allow you X access as root without xhost TRS David Wright wrote:
When troubleshooting on RedHat, I often log in to a X session as a user, then su to root in an xterm and run ethereal (a packet-sniffer with GUI) to watch the network traffic that results from my actions as a user. I would like to do this on Debian, but when I try to start ethereal, I get the error message: Xlib: Client is not authorized to connect to Server Apparently root is not allowed to display to a user's X session. How can I allow this? Running testing with kernel 2.4.12 and XFree86 4.1.0-9.