Remote tasks sleeping after 'su'
Mon Jan 28 11:02:00 GMT 2002
I found a document that may be of help:
Remote X Apps mini-HOWTO (http://www.xs4all.nl/~zweije/xauth.html)
In particular, the section called "X Applications from Another User-id" may
That should explain some related difficulties, even though you are using
> -----Original Message-----
> From: Robert Haines [mailto:email@example.com]
> Sent: Monday, January 28, 2002 8:09 AM
> To: Tzafrir Cohen; Harold Hunt
> Cc: cygx
> Subject: Re: Remote tasks sleeping after 'su'
> > > > I've been using Cygwin for a while now but am new to cygwin-xfree. I
> > > > this question hasn't been answered before but I did check
> the archives
> > > > didn't find anything pertinent.
> > > >
> > > > I use this system to log into other systems (via ssh -X)
> and have the
> > > > windows displayed on my cygwin-xfree desktop. If I run something as
> > > > then everything is fine. If I log in, then 'su' to root, then run
> > > > something
> > > > the window never appears. If I look at 'top' then the task I just
> > > > started is
> > > > flagged as sleeping. This problem does not occur when using the
> > > > putty/exceed
> Thanks for your responses guys. I have now had chance to do a little
> research using a Linux box in place of my Cygwin/XFree box and the end
> result is the same. Once I have su'd I can't expect X forwarding to work.
> Now I think about it, this is hardly strange. The only difference in the
> whole process was that I did actually get an error when using two Linux
> boxes and the task was terminated, unlike on the Cygwin/XFree
> setup where no
> error was received and the task simply went to sleep.
> Now I know that this is normal behaviour, I'll not try it again :-)
> Thanks again,
> Robert Haines.
More information about the Cygwin-xfree