On Mon, 31 Jan 2005 11:35:36 +1300 yuri <[EMAIL PROTECTED]> wrote: > On Mon, 31 Jan 2005 11:28:48 +1300, Jim Cheetham wrote: > > Some people prefer to work from the command > > line, even if they're in an X session, so a method of elevating privs > > that also preserves $DISPLAY and X auth is useful. > > > > Having said that, on my workstation sudo preserves $DISPLAY, and X auth > > works for me. I don't know why :-) Seems OK over ssh too, so I haven't > > worried about it too much! > > su works for me in xterms, over ssh, etc. never needed sux myself.
so you can run an X app after su'ing in an xterm? thats unusual because unless you take some explicit step other users (incl root) are not allowed to access your X server. Maybe because of the enigmatic way this thread was started, some people have missed the point. sux works the same as su, but also does some little tricks with X authorisation so the the user you sux'd to can run X apps. its safer than using xhost + or xhost +localhost. Actually sux was discussed on this list some months ago, yuri mentioned it - i thought at first that it was a SuSE'ism, but on investigation that is not so. > > Yuri > > -- > ** WARNING to mailing list repliers ** > Gmail over-rides "Reply-To:" field. Check your "To:" address before > sending reply to this post. -- Nick Rout <[EMAIL PROTECTED]>
