Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Brandon Allbery
On Thu, Sep 22, 2016 at 8:19 PM, Haroon  wrote:

> I looked at my /etc/ssh directory and no modifications were made there
> since 2015, so it doesn't seem that Sierra overwrote anything.  What I
> think happened is that the defaults in the binary for ssh have changed in
> Sierra.  One way to verify that for sure would be to try logging in from a
> Yosemite VM; or is there perhaps a way to make ssh show it's build defaults?


This default changed sometime around Lion. It is more likely that you or
someone had edited /etc/ssh/ssh_config to change ForwardX11Trusted or
ForwardX11Timeout, and the Sierra upgrade overwrote it with a new default.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Haroon
It's definitely client side.  I logged into the same server on a Snow 
Leopard machine and did not have the same problem.


I looked at my /etc/ssh directory and no modifications were made there 
since 2015, so it doesn't seem that Sierra overwrote anything.  What I 
think happened is that the defaults in the binary for ssh have changed in 
Sierra.  One way to verify that for sure would be to try logging in from a 
Yosemite VM; or is there perhaps a way to make ssh show it's build 
defaults?


For now I've set ForwardX11Trusted to Yes and will see how it goes.

On Thu, 22 Sep 2016, Tom Lane wrote:


Brandon Allbery  writes:

That would be the exact symptoms of the X11ForwardTimeout issue; the older
app will keep its display but new ones will be rejected.


Yeah.  Maybe the connection to the Sierra upgrade is that the updater
failed to carry over some config file in which the OP had fixed this
problem.

regards, tom lane


___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Brandon Allbery
On Thu, Sep 22, 2016 at 5:03 PM, Haroon  wrote:

> Are there any log files that I could look at (on either end) to help me
> verify whether this is indeed the problem?


It's actually the client end doing this (since the client has the X server
being forwarded) so I can't see it being based on a change to the server
config. You would need to run ssh (not sshd) with -vvv and watch for a
message in response to trying to run a new client:

Rejected X11 connection after ForwardX11Timeout expired

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Haroon

Are there any log files that I could look at (on either end) to help me
verify whether this is indeed the problem?

On Thu, 22 Sep 2016, Tom Lane wrote:


Brandon Allbery  writes:

That would be the exact symptoms of the X11ForwardTimeout issue; the older
app will keep its display but new ones will be rejected.


Yeah.  Maybe the connection to the Sierra upgrade is that the updater
failed to carry over some config file in which the OP had fixed this
problem.

regards, tom lane


___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Tom Lane
Brandon Allbery  writes:
> That would be the exact symptoms of the X11ForwardTimeout issue; the older
> app will keep its display but new ones will be rejected.

Yeah.  Maybe the connection to the Sierra upgrade is that the updater
failed to carry over some config file in which the OP had fixed this
problem.

regards, tom lane
 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Brandon Allbery
On Thu, Sep 22, 2016 at 3:24 PM, Haroon  wrote:

> I don't think that is it.
>
> Today I had one app open and then tried to launch another.  The former app
> kept running, but the console spit back a display cannot be found error
> when I attempted to launch the second.  I closed the first app and
> attempted to relaunch it -- but it wouldn't.
>
> I killed the ssh session and opened another one, and then launched both
> apps with no problem.


That would be the exact symptoms of the X11ForwardTimeout issue; the older
app will keep its display but new ones will be rejected.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Haroon

This just happened.

I have two apps open.  Both are running and functioning normally.

I go to open a third.  I get the display not found error.

I open a new SSH session *without* closing the old one.  The apps keep 
running, and I am able to open the third app in the new SSH session.


I close the new SSH session and go back to the old one.  When I attempt to 
launch an app I still get the display not found error.


On Thu, 22 Sep 2016, Brandon Allbery wrote:


On Thu, Sep 22, 2016 at 2:48 PM, Haroon  wrote:
  Since upgrading to Sierra the other day I randomly get errors about the
  display not being found when launching apps from a Linux machine. When I
  logout and log back in to the remote machine things work again, but then
  after some time the problem reappears.


Are you sure this is
not 
http://superuser.com/questions/462535/x11-forwarding-stops-working-after-a-while
 ? (would be
weird for it to show up only on upgrade to Sierra, though)
Alternately it could be a Power Nap thing, conceivably --- but I'd expect a 
different error in
that case.

--
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Haroon

I don't think that is it.

Today I had one app open and then tried to launch another.  The former app 
kept running, but the console spit back a display cannot be found error 
when I attempted to launch the second.  I closed the first app and 
attempted to relaunch it -- but it wouldn't.


I killed the ssh session and opened another one, and then launched both 
apps with no problem.


On Thu, 22 Sep 2016, Brandon Allbery wrote:


On Thu, Sep 22, 2016 at 2:48 PM, Haroon  wrote:
  Since upgrading to Sierra the other day I randomly get errors about the
  display not being found when launching apps from a Linux machine. When I
  logout and log back in to the remote machine things work again, but then
  after some time the problem reappears.


Are you sure this is
not 
http://superuser.com/questions/462535/x11-forwarding-stops-working-after-a-while
 ? (would be
weird for it to show up only on upgrade to Sierra, though)
Alternately it could be a Power Nap thing, conceivably --- but I'd expect a 
different error in
that case.

--
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net



___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Brandon Allbery
On Thu, Sep 22, 2016 at 2:48 PM, Haroon  wrote:

> Since upgrading to Sierra the other day I randomly get errors about the
> display not being found when launching apps from a Linux machine. When I
> logout and log back in to the remote machine things work again, but then
> after some time the problem reappears.
>

Are you sure this is not
http://superuser.com/questions/462535/x11-forwarding-stops-working-after-a-while
? (would be weird for it to show up only on upgrade to Sierra, though)
Alternately it could be a Power Nap thing, conceivably --- but I'd expect a
different error in that case.

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Intermittent Display Not Found Error After Sierra Upgrade

2016-09-22 Thread Haroon

Hi,

Since upgrading to Sierra the other day I randomly get errors about the
display not being found when launching apps from a Linux machine. When I
logout and log back in to the remote machine things work again, but then
after some time the problem reappears.

Is this a known issue?

Haroon
___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com