|
Re: How do I find my own IP address?: msg#00279lang.erlang.general
Vlad Dumitrescu <vlad_dumitrescu@xxxxxxxxxxx> wrote: > I couldn't connect with ex11 to the X server, and I think I found the cause. > If > $DISPLAY refers to localhost or 127.0.0.1, then ex11 first resolves the local > host name, which is then used to look for a cookie. > > This means that it isn't enough to have a xauth cookie for localhost:0 or > 127.0.0.1:0, but it needs one for "inet:gethostname()":0. Which isn't quite > proper, I think. I think this is my bug Vlad, so don't blame Joe for it. His second release has my smart connection patch, which I apparently made a few wrong assumptions in. I think you are right, if $DISPLAY directly contains 127.0.0.1 or localhost, or has the empty string, inet:gethostname() should only be used as one of the possible names during the xauth cookie search, but the actual connection should be to 127.0.0.1. -- Shawn. Break into jail and claim police brutality. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | anti-spam measures: 00279, Byron Hale |
|---|---|
| Next by Date: | Re: ANNOUNCE ex11 release two: 00279, Shawn Pearce |
| Previous by Thread: | Re: How do I find my own IP address?i: 00279, Vlad Dumitrescu |
| Next by Thread: | Re: How do I find my own IP address?: 00279, Miguel Barreiro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |