all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Weird emacs behavior
@ 2006-01-31  6:38 Leo Chang
  2006-02-01 12:20 ` Ehud Karni
  2006-02-01 15:46 ` Ehud Karni
  0 siblings, 2 replies; 7+ messages in thread
From: Leo Chang @ 2006-01-31  6:38 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 944 bytes --]

There is an unexplained behavior that we've seen on a few machines we have
with emacs.  These are Redhat Enterprise Linux boxes that we usually ssh to.
Xforwarding works fine.  All X apps including emacs work fine.  Then, after
a long time (weeks or months), emacs stops appearing in its own window when
you ssh into the box.  Instead, after a long wait, it croaks with something
like "Connection Lost to Xserver. localhost 10:0."  

 

At this point, you can open ALL X applications except for emacs.  Xeyes,
xclock, xterm, firefox all work!  But not emacs.  "emacs -nw" does work, and
emacs in its own Xwindow works if you're directly on the machine.  However,
emacs will not open without the -nw option thru ssh.  (Even though it did
while the machine was running for quite some time.)  Restarting the machine
fixes the problem.


Has anyone ever seen this behavior?  The emacs version is 21.3.1.

 

Any help would be greatly appreciated.


[-- Attachment #1.2: Type: text/html, Size: 2796 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Weird emacs behavior
@ 2006-01-31  6:40 Leo Chang
  0 siblings, 0 replies; 7+ messages in thread
From: Leo Chang @ 2006-01-31  6:40 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1137 bytes --]

 

 

  _____  

From: Leo Chang [mailto:lchang@clickshift.com] 
Sent: Monday, January 30, 2006 10:38 PM
To: 'help-gnu-emacs@gnu.org'; 'bug-gnu-emacs@gun.org'
Subject: Weird emacs behavior

 

There is an unexplained behavior that we've seen on a few machines we have
with emacs.  These are Redhat Enterprise Linux boxes that we usually ssh to.
Xforwarding works fine.  All X apps including emacs work fine.  Then, after
a long time (weeks or months), emacs stops appearing in its own window when
you ssh into the box.  Instead, after a long wait, it croaks with something
like "Connection Lost to Xserver. localhost 10:0."  

 

At this point, you can open ALL X applications except for emacs.  Xeyes,
xclock, xterm, firefox all work!  But not emacs.  "emacs -nw" does work, and
emacs in its own Xwindow works if you're directly on the machine.  However,
emacs will not open without the -nw option thru ssh.  (Even though it did
while the machine was running for quite some time.)  Restarting the machine
fixes the problem.


Has anyone ever seen this behavior?  The emacs version is 21.3.1.

 

Any help would be greatly appreciated.


[-- Attachment #1.2: Type: text/html, Size: 4649 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Weird emacs behavior
  2006-01-31  6:38 Weird emacs behavior Leo Chang
@ 2006-02-01 12:20 ` Ehud Karni
  2006-02-01 15:46 ` Ehud Karni
  1 sibling, 0 replies; 7+ messages in thread
From: Ehud Karni @ 2006-02-01 12:20 UTC (permalink / raw)
  Cc: help-gnu-emacs, bug-gnu-emacs

On Mon, 30 Jan 2006 22:38:16 -0800, Leo Chang <lchang@clickshift.com> wrote:
>
> There is an unexplained behavior that we've seen on a few machines we have
> with emacs.  These are Redhat Enterprise Linux boxes that we usually ssh to.
> Xforwarding works fine.  All X apps including emacs work fine.  Then, after
> a long time (weeks or months), emacs stops appearing in its own window when
> you ssh into the box.  Instead, after a long wait, it croaks with something
> like "Connection Lost to Xserver. localhost 10:0."
>
> At this point, you can open ALL X applications except for emacs.  Xeyes,
> xclock, xterm, firefox all work!  But not emacs.  "emacs -nw" does work, and
> emacs in its own Xwindow works if you're directly on the machine.  However,
> emacs will not open without the -nw option thru ssh.  (Even though it did
> while the machine was running for quite some time.)  Restarting the machine
> fixes the problem.
>
> Has anyone ever seen this behavior?  The emacs version is 21.3.1.

Can you do "netstat -a" (look for listening ports in the 6000-6100 range)
when the problem occurs ?
Also, do "echo $DISPLAY".

Try to run "naked" emacs - emacs -q , what happens ?

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Weird emacs behavior
  2006-01-31  6:38 Weird emacs behavior Leo Chang
  2006-02-01 12:20 ` Ehud Karni
@ 2006-02-01 15:46 ` Ehud Karni
  2006-02-01 19:57   ` Leo Chang
  2006-02-01 19:57   ` Leo Chang
  1 sibling, 2 replies; 7+ messages in thread
From: Ehud Karni @ 2006-02-01 15:46 UTC (permalink / raw)
  Cc: help-gnu-emacs, bug-gnu-emacs

 [ resent, there was a mistake in the mailing list name ]

On Mon, 30 Jan 2006 22:38:16 -0800, Leo Chang wrote:
>
> There is an unexplained behavior that we've seen on a few machines we have
> with emacs.  These are Redhat Enterprise Linux boxes that we usually ssh to.
> Xforwarding works fine.  All X apps including emacs work fine.  Then, after
> a long time (weeks or months), emacs stops appearing in its own window when
> you ssh into the box.  Instead, after a long wait, it croaks with something
> like "Connection Lost to Xserver. localhost 10:0."
>
> At this point, you can open ALL X applications except for emacs.  Xeyes,
> xclock, xterm, firefox all work!  But not emacs.  "emacs -nw" does work, and
> emacs in its own Xwindow works if you're directly on the machine.  However,
> emacs will not open without the -nw option thru ssh.  (Even though it did
> while the machine was running for quite some time.)  Restarting the machine
> fixes the problem.

Can you do "netstat -a" (look for listening ports in the 6000-6100 range)
when the problem occurs ?
Also, do "echo $DISPLAY".

Try to run "naked" emacs - emacs -q , what happens ?

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Weird emacs behavior
  2006-02-01 15:46 ` Ehud Karni
@ 2006-02-01 19:57   ` Leo Chang
  2006-02-01 19:57   ` Leo Chang
  1 sibling, 0 replies; 7+ messages in thread
From: Leo Chang @ 2006-02-01 19:57 UTC (permalink / raw)
  Cc: help-gnu-emacs, bug-gnu-emacs

Weirdly enough, this behavior went away when I tried it this morning (after
a couple of days).  Emacs is working again.  I can't explain it at all.

-----Original Message-----
From: Ehud Karni [mailto:ehud@unix.mvs.co.il] 
Sent: Wednesday, February 01, 2006 7:46 AM
To: lchang@clickshift.com
Cc: help-gnu-emacs@gnu.org; bug-gnu-emacs@gnu.org
Subject: Re: Weird emacs behavior

 [ resent, there was a mistake in the mailing list name ]

On Mon, 30 Jan 2006 22:38:16 -0800, Leo Chang wrote:
>
> There is an unexplained behavior that we've seen on a few machines we have
> with emacs.  These are Redhat Enterprise Linux boxes that we usually ssh
to.
> Xforwarding works fine.  All X apps including emacs work fine.  Then,
after
> a long time (weeks or months), emacs stops appearing in its own window
when
> you ssh into the box.  Instead, after a long wait, it croaks with
something
> like "Connection Lost to Xserver. localhost 10:0."
>
> At this point, you can open ALL X applications except for emacs.  Xeyes,
> xclock, xterm, firefox all work!  But not emacs.  "emacs -nw" does work,
and
> emacs in its own Xwindow works if you're directly on the machine.
However,
> emacs will not open without the -nw option thru ssh.  (Even though it did
> while the machine was running for quite some time.)  Restarting the
machine
> fixes the problem.

Can you do "netstat -a" (look for listening ports in the 6000-6100 range)
when the problem occurs ?
Also, do "echo $DISPLAY".

Try to run "naked" emacs - emacs -q , what happens ?

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Weird emacs behavior
  2006-02-01 15:46 ` Ehud Karni
  2006-02-01 19:57   ` Leo Chang
@ 2006-02-01 19:57   ` Leo Chang
  1 sibling, 0 replies; 7+ messages in thread
From: Leo Chang @ 2006-02-01 19:57 UTC (permalink / raw)
  Cc: help-gnu-emacs, bug-gnu-emacs

Weirdly enough, this behavior went away when I tried it this morning (after
a couple of days).  Emacs is working again.  I can't explain it at all.

-----Original Message-----
From: Ehud Karni [mailto:ehud@unix.mvs.co.il] 
Sent: Wednesday, February 01, 2006 7:46 AM
To: lchang@clickshift.com
Cc: help-gnu-emacs@gnu.org; bug-gnu-emacs@gnu.org
Subject: Re: Weird emacs behavior

 [ resent, there was a mistake in the mailing list name ]

On Mon, 30 Jan 2006 22:38:16 -0800, Leo Chang wrote:
>
> There is an unexplained behavior that we've seen on a few machines we have
> with emacs.  These are Redhat Enterprise Linux boxes that we usually ssh
to.
> Xforwarding works fine.  All X apps including emacs work fine.  Then,
after
> a long time (weeks or months), emacs stops appearing in its own window
when
> you ssh into the box.  Instead, after a long wait, it croaks with
something
> like "Connection Lost to Xserver. localhost 10:0."
>
> At this point, you can open ALL X applications except for emacs.  Xeyes,
> xclock, xterm, firefox all work!  But not emacs.  "emacs -nw" does work,
and
> emacs in its own Xwindow works if you're directly on the machine.
However,
> emacs will not open without the -nw option thru ssh.  (Even though it did
> while the machine was running for quite some time.)  Restarting the
machine
> fixes the problem.

Can you do "netstat -a" (look for listening ports in the 6000-6100 range)
when the problem occurs ?
Also, do "echo $DISPLAY".

Try to run "naked" emacs - emacs -q , what happens ?

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Weird emacs behavior
       [not found] <mailman.542.1138824023.3044.help-gnu-emacs@gnu.org>
@ 2006-02-02  9:43 ` Gordon Beaton
  0 siblings, 0 replies; 7+ messages in thread
From: Gordon Beaton @ 2006-02-02  9:43 UTC (permalink / raw)


On Wed, 1 Feb 2006 11:57:09 -0800, Leo Chang wrote:
> Weirdly enough, this behavior went away when I tried it this morning
> (after a couple of days). Emacs is working again. I can't explain it
> at all.

OpenSSH 3.8 changed the way X forwarding works, with the result that
many programs break in confusing or subtle ways.

If that's what you're using, you can get the old behaviour back by
doing "ssh -Y hostname", or setting "ForwardX11Trusted yes" (in
addition to "ForwardX11 yes") in your ~/.ssh/config.

/gordon

-- 
[  do not email me copies of your followups  ]
g o r d o n + n e w s @  b a l d e r 1 3 . s e

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-02-02  9:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-31  6:38 Weird emacs behavior Leo Chang
2006-02-01 12:20 ` Ehud Karni
2006-02-01 15:46 ` Ehud Karni
2006-02-01 19:57   ` Leo Chang
2006-02-01 19:57   ` Leo Chang
  -- strict thread matches above, loose matches on Subject: below --
2006-01-31  6:40 Leo Chang
     [not found] <mailman.542.1138824023.3044.help-gnu-emacs@gnu.org>
2006-02-02  9:43 ` Gordon Beaton

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.