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).

> 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).


-- 
Nadav Har'El                        |       Monday, Jan 26 2004, 3 Shevat 5764
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-790466, ICQ 13349191 |A computer program does what you tell it
http://nadav.harel.org.il           |to do, not what you want it to do.

=================================================================
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