[ale] remote X problems.

Chris Ricker kaboom at gatech.edu
Thu Aug 7 22:36:48 EDT 2003


On Thu, 7 Aug 2003, Transam wrote:

> On Thu, Aug 07, 2003 at 08:02:22PM -0400, David Corbin wrote:
> > On Thursday 07 August 2003 19:28, Transam wrote:
> > > On Thu, Aug 07, 2003 at 07:25:17AM -0400, David Corbin wrote:
> > > ...
> > > > > > I then use ssh to access machine O,
> > > > > > where I cannot launchan X application.
> 
> > > You then su?  That's a no-no.  Use ssh to the local system instead.
> > > This should solve your problem.
> 
> > Other than the fact that what I want to do doesn't actually work, why
> > is su a no-no?
> It is because only the owner of the connection normally may send data over
> the X channel.  Thus su does not work.  However, when you use ssh instead
> it creates a bridge.

Actually, on most Linux distros, su is PAM'ified such that:

kaboom$ su - root
# random_X_app

all magically works. That's what pam_xauth.so is for....

later,
chris
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list