Nadav Har'El wrote:

On Mon, Jan 26, 2004, Aaron wrote about "Re: no display":


I often need to fix a readonly or system file and out of habit use gvim. Or I want to run Synaptic which I think needs me to be su.
In Fedora, Redhat or Mandrake I never had this problem.


This only happens in Debian/Xandros



As a general advice, instead of using "su", you might want to try using
"su -p". This will keep all your variables, including the HOME (and the
DISPLAY, if you have it).


ok sound good



I did think that I needed to run xev as root to see if the events were systemwide, maybe not.



Indeed, you don't need to run it as root. As I explained, root has no special previleges when it comes to the X servers. The original user who logged in (assuing xdm is used, like is normal on all modern Linux distributions) has full priveleges over the X server, including watching the stream of X events (which is what xev shows you).



Wow thanks I just learned a bunch of new tricks.

:)>
Aaron








================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to