GNU bug report logs -
#4064
23.1; Hang up from tty mode when X server goes away
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4064 in the body.
You can then email your comments to 4064 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4064
; Package
emacs
.
(Thu, 06 Aug 2009 11:25:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Dickon Reed (dreed)" <dickon <at> cantab.net>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 06 Aug 2009 11:25:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
I am running my own build of emacs 23.1.1 on CentOS 4.4. I start emacs
under screen and run server-start from my init file. I then login via
ssh (PuTTy) from an Windows XP box, connect to the screen session, and
use make-frame-on-display to open a frame on a Cygwin/X version 1.5.3
(20090222) X server running on my desktop Windows XP box. So far,
everything works fine. After a few hours work, I hibernate my Windows
box, and then log in via ssh from a different site. I find the emacs
running screen unresponsive, whereas I'd have liked the emacs
session under screen to be working.
Later, I woke up the Windows box, logged back into the screen session
and found it had recently reported that it had lost the connection to
the X server (see log below). At that point, I can only a frame again
and everything is back to normal.
In GNU Emacs 23.1.1 (i686-pc-linux-gnu, X toolkit)
of 2009-07-30 on runbench-dev.uk.level5networks.com
configured using `configure '--with-gif=no''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
diff-auto-refine-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
e SPC t h e SPC r e s u l t s SPC s t o r e SPC w a
s SPC b r o k e n " <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> c <backspace> c
a l l b a c k s SPC a n d <backspace> <backspace> <backspace>
o r SPC f i l e s SPC a r e SPC n o t SPC w o r k i
n g " <return> h g SPC q p o p <return> h g SPC q <backspace>
p u l l SPC - u <return> h g SPC q p u s h SPC - a
<return> h g SPC q a p <return> q <backspace> h g SPC
q f i n SPC - a <return> h g SPC q a d d <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> h g SPC q p a <backspace>
<backspace> a p SPC - s <return> h g SPC q p o p SPC
- a <return> h g SPC q p u s h SPC - a <return> h g
SPC <backspace> <backspace> <backspace> <backspace>
<backspace> h g SPC t i p <return> h g SPC p u s h
<return> <switch-frame> C-x n <switch-frame> ESC [
1 5 ~ ESC O A ESC O B ESC O B C-x C-f ~ / . e m a c
s RET C-x o C-x 0 C-s f 7 C-s ESC O A ESC O B ESC O
B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC
O A C-s d r C-x o ESC x r e p o r t - e m TAB RET
Recent messages:
Wrote /local/dr/runbench/nagbench.py
Mark saved where search started [3 times]
Saving file /local/dr/runbench/nagbench.py...
Wrote /local/dr/runbench/nagbench.py
(No files need saving)
Compilation finished
Quit
call-interactively: Text is read-only [4 times]
Connection lost to X server `dr-desktop:0.0'
Mark saved where search started [2 times]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4064
; Package
emacs
.
(Fri, 07 Aug 2009 06:40:04 GMT)
Full text and
rfc822 format available.
Message #8 received at 4064 <at> emacsbugs.donarmstrong.com (full text, mbox):
"Dickon Reed (dreed)" <dickon <at> cantab.net> writes:
> I am running my own build of emacs 23.1.1 on CentOS 4.4. I start emacs
> under screen and run server-start from my init file. I then login via
> ssh (PuTTy) from an Windows XP box, connect to the screen session, and
> use make-frame-on-display to open a frame on a Cygwin/X version 1.5.3
> (20090222) X server running on my desktop Windows XP box. So far,
> everything works fine. After a few hours work, I hibernate my Windows
> box, and then log in via ssh from a different site. I find the emacs
> running screen unresponsive, whereas I'd have liked the emacs
> session under screen to be working.
>
> Later, I woke up the Windows box, logged back into the screen session
> and found it had recently reported that it had lost the connection to
> the X server (see log below). At that point, I can only a frame again
> and everything is back to normal.
I don't have a way to reproduce your setup, but there's an easy
workaround to this problem: instead of starting emacs in a screen
session, use:
emacs --daemon
it will start it in background.
Then you can use
emacsclient -t
to connect to it on a terminal
or
emacsclient -c
to create X11 frames.
>
>
> In GNU Emacs 23.1.1 (i686-pc-linux-gnu, X toolkit)
> of 2009-07-30 on runbench-dev.uk.level5networks.com
> configured using `configure '--with-gif=no''
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: en_GB.UTF-8
> value of $XMODIFIERS: nil
> locale-coding-system: utf-8-unix
> default-enable-multibyte-characters: t
>
> Major mode: Emacs-Lisp
>
> Minor modes in effect:
> diff-auto-refine-mode: t
> tooltip-mode: t
> mouse-wheel-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> global-auto-composition-mode: t
> auto-composition-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> column-number-mode: t
> line-number-mode: t
> transient-mark-mode: t
>
> Recent input:
> e SPC t h e SPC r e s u l t s SPC s t o r e SPC w a
> s SPC b r o k e n " <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> c <backspace> c
> a l l b a c k s SPC a n d <backspace> <backspace> <backspace>
> o r SPC f i l e s SPC a r e SPC n o t SPC w o r k i
> n g " <return> h g SPC q p o p <return> h g SPC q <backspace>
> p u l l SPC - u <return> h g SPC q p u s h SPC - a
> <return> h g SPC q a p <return> q <backspace> h g SPC
> q f i n SPC - a <return> h g SPC q a d d <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> h g SPC q p a <backspace>
> <backspace> a p SPC - s <return> h g SPC q p o p SPC
> - a <return> h g SPC q p u s h SPC - a <return> h g
> SPC <backspace> <backspace> <backspace> <backspace>
> <backspace> h g SPC t i p <return> h g SPC p u s h
> <return> <switch-frame> C-x n <switch-frame> ESC [
> 1 5 ~ ESC O A ESC O B ESC O B C-x C-f ~ / . e m a c
> s RET C-x o C-x 0 C-s f 7 C-s ESC O A ESC O B ESC O
> B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC
> O A C-s d r C-x o ESC x r e p o r t - e m TAB RET
>
> Recent messages:
> Wrote /local/dr/runbench/nagbench.py
> Mark saved where search started [3 times]
> Saving file /local/dr/runbench/nagbench.py...
> Wrote /local/dr/runbench/nagbench.py
> (No files need saving)
> Compilation finished
> Quit
> call-interactively: Text is read-only [4 times]
> Connection lost to X server `dr-desktop:0.0'
> Mark saved where search started [2 times]
Severity set to 'minor' from 'normal'
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> debbugs.gnu.org
.
(Sun, 03 Jul 2011 00:12:03 GMT)
Full text and
rfc822 format available.
Added tag(s) fixed.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 12 Jul 2011 20:25:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
4064 <at> debbugs.gnu.org and "Dickon Reed (dreed)" <dickon <at> cantab.net>
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 12 Jul 2011 20:25:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#4064
; Package
emacs
.
(Tue, 12 Jul 2011 20:35:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 4064 <at> debbugs.gnu.org (full text, mbox):
"Dickon Reed (dreed)" <dickon <at> cantab.net> writes:
> I am running my own build of emacs 23.1.1 on CentOS 4.4. I start emacs
> under screen and run server-start from my init file. I then login via
> ssh (PuTTy) from an Windows XP box, connect to the screen session, and
> use make-frame-on-display to open a frame on a Cygwin/X version 1.5.3
> (20090222) X server running on my desktop Windows XP box. So far,
> everything works fine. After a few hours work, I hibernate my Windows
> box, and then log in via ssh from a different site. I find the emacs
> running screen unresponsive, whereas I'd have liked the emacs
> session under screen to be working.
I think this has been fixed by the multi-tty (etc.) work in Emacs 24, so
I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 10 Aug 2011 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.