Re: allowing root to display to a user's X session
David Wright <ichbin@shadlen.org> writes:
> 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?
'xhost +localhost' should fix the problem (this allows connections to
your x session from your local machine).
HTH
Reply to: