From: Aaron (aamehl_at_nonexisting.hamakor.org.il)
Date: Mon 26 Jan 2004 - 14:41:01 IST
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 linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Mon 26 Jan 2004 - 14:55:22 IST