RE: Why is remote client being rejected? AUDIT: XWin: client 4 rejected from IP 192.168.3.3

2009-07-20 Thread Phil Betts
Linda Walsh wrote:
> Yeah, know about that one:
>   (xosview&)
> saves it from the HUP's when the window closes...

No need for that (which adds an unnecessary extra fork), just unset
the bash option huponexit (probably in your ~/.bashrc):

shopt -u huponexit

Although I think that's the default setting now.


Phil
-- 

This email has been scanned by Ascribe Ltd using Microsoft Antigen for Exchange.


Re: Why is remote client being rejected? AUDIT: XWin: client 4 rejected from IP 192.168.3.3

2009-07-19 Thread Linda Walsh

j...@asyn.org wrote:


Have you added the client to your X server's acl? See xhost(1)

---
I thought I'd turned off access checking.  I forgot I had to redo
my script when there was a major X-server upgrade, a few months ago -- 
Not something I 'normally use'...


	(Am pretty safe, regardless, as I'm doing this on an isolated, wired, 
subnet in my house, so I feel pretty safe unless my beagle orders a computer.




Also, running your X client in the background does not disconnect it from
the terminal from which you launched it. If you close the terminal, the
client app will die.


Yeah, know about that one:
(xosview&)
saves it from the HUP's when the window closes...

THANKS!
Linda


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Why is remote client being rejected? AUDIT: XWin: client 4 rejected from IP 192.168.3.3

2009-07-19 Thread john

Disregard the bit about the client dieing if you close the terminal. The
problem seems to have been fixed (it's been a LONG time since I tried it).

On Sun, 19 Jul 2009, j...@asyn.org wrote:

> Also, running your X client in the background does not disconnect it from
> the terminal from which you launched it. If you close the terminal, the
> client app will die.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Why is remote client being rejected? AUDIT: XWin: client 4 rejected from IP 192.168.3.3

2009-07-19 Thread john
On Sat, 18 Jul 2009, Linda Walsh wrote:

> Yes I've read the FAQ -- it doesn't help.  Is says:
>
>
> The problem is most likely a wrong DNS (Network name resolution). Make sure
> your windows host has a hostname which is valid from linux too and an IP
> address which linux can resolve to that hostname.
> ---
>   What DNS resolution?
>
> If you add a line
>
> 192.168.26.1 myhost
>
> to /etc/hosts on the XDMCP server with the IP address and the hostname of your
> windows host the name resolution should work.
> XDMCP server?  I'm not trying to connect to an XDMP server.
>
> I'm trying to open
> 'xosview&'
> on a remote host with DISPLAY=mycywin-window-machine:0.0
> (or machine:0), neither work.
> Yes I export the variable on the remote machine or I wouldn't be getting
> the rejected message in my local cygwin XWin /var/log/XWin.0.log file.
>
> It =works= if I let it connect through my 'ssh' connection but that's really
> connecting back to ssh on the cygwin machine and connecting, AFAIK,
> via the local socket or local host.
>
> I wanted to try connecting NOT through my ssh connection  so I could close the
> ssh connection and have the remote xosview continue running.
>
> Thanks for ideas...
> Linda
>

Have you added the client to your X server's acl? See xhost(1)

Also, running your X client in the background does not disconnect it from
the terminal from which you launched it. If you close the terminal, the
client app will die.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Why is remote client being rejected? AUDIT: XWin: client 4 rejected from IP 192.168.3.3

2009-07-18 Thread Linda Walsh

Yes I've read the FAQ -- it doesn't help.  Is says:


The problem is most likely a wrong DNS (Network name resolution). Make sure 
your windows host has a hostname which is valid from linux too and an IP 
address which linux can resolve to that hostname.
---
What DNS resolution?

If you add a line

192.168.26.1 myhost

to /etc/hosts on the XDMCP server with the IP address and the hostname of your windows host the name resolution should work. 


XDMCP server?  I'm not trying to connect to an XDMP server.

I'm trying to open
'xosview&'
on a remote host with DISPLAY=mycywin-window-machine:0.0
(or machine:0), neither work.
Yes I export the variable on the remote machine or I wouldn't be getting
the rejected message in my local cygwin XWin /var/log/XWin.0.log file.

It =works= if I let it connect through my 'ssh' connection but that's 
really connecting back to ssh on the cygwin machine and connecting, AFAIK,

via the local socket or local host.

I wanted to try connecting NOT through my ssh connection  so I could close the
ssh connection and have the remote xosview continue running.

Thanks for ideas...
Linda

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/