This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Remote tasks sleeping after 'su'


Robert,

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
be useful:
http://www.xs4all.nl/~zweije/xauth-7.html

That should explain some related difficulties, even though you are using
ssh...

Harold


> -----Original Message-----
> From: Robert Haines [mailto:hainesr7@hotmail.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
> hope
> > > > this question hasn't been answered before but I did check
> the archives
> and
> > > > 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
> myself
> > > > 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.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]