Re: allowing root to display to a user's X session

2001-11-20 Thread Karsten M. Self
on Mon, Nov 19, 2001 at 03:11:03PM -0700, Gary Hennigan ([EMAIL PROTECTED]) wrote: DvB [EMAIL PROTECTED] writes: David Wright [EMAIL PROTECTED] 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

Re: allowing root to display to a user's X session

2001-11-20 Thread Frank Copeland
On 19 Nov 01 21:25:47 GMT, David Wright [EMAIL PROTECTED] 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

Re: allowing root to display to a user's X session

2001-11-20 Thread Gary Hennigan
Karsten M. Self kmself@ix.netcom.com writes: on Mon, Nov 19, 2001 at 03:11:03PM -0700, Gary Hennigan ([EMAIL PROTECTED]) wrote: My preferred solution is to su to root and do: export XAUTHORITY=~myusername/.Xauthority ;export DISPLAY=:0.0 I think there are still some security concerns

allowing root to display to a user's X session

2001-11-19 Thread David Wright
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

Re: allowing root to display to a user's X session

2001-11-19 Thread DvB
David Wright [EMAIL PROTECTED] 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,

Re: allowing root to display to a user's X session

2001-11-19 Thread Thomas R. Shemanske
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

Re: allowing root to display to a user's X session

2001-11-19 Thread Gary Hennigan
DvB [EMAIL PROTECTED] writes: David Wright [EMAIL PROTECTED] 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.

Re: allowing root to display to a user's X session

2001-11-19 Thread Simon Wong
On Tue, 2001-11-20 at 09:11, Gary Hennigan wrote: 'xhost +localhost' should fix the problem (this allows connections to your x session from your local machine). This actually gives me GTK+ errors and doesn't work. My preferred solution is to su to root and do: export