From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mario Becroft Newsgroups: gmane.emacs.bugs Subject: bug#19175: 24.4; make-frame-on-display fails if emacs started with -nw Date: Mon, 23 Mar 2015 19:32:15 +1300 Message-ID: <87k2y88brk.fsf@ak2.becroft.co.nz> References: <87wq6jrjis.fsf@ak2.becroft.co.nz> <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427092406 4245 80.91.229.3 (23 Mar 2015 06:33:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2015 06:33:26 +0000 (UTC) Cc: 19175@debbugs.gnu.org To: "Jan D." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 23 07:33:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YZvvE-0005dW-U7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 07:33:13 +0100 Original-Received: from localhost ([::1]:53891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZvvD-00067c-QW for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 02:33:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZvvA-00067X-91 for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 02:33:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZvv4-000198-4s for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 02:33:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZvv4-00018z-2V for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 02:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YZvv3-0004Kk-Mp for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 02:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mario Becroft Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Mar 2015 06:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19175 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19175-submit@debbugs.gnu.org id=B19175.142709234616613 (code B ref 19175); Mon, 23 Mar 2015 06:33:01 +0000 Original-Received: (at 19175) by debbugs.gnu.org; 23 Mar 2015 06:32:26 +0000 Original-Received: from localhost ([127.0.0.1]:33016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZvuT-0004Js-FC for submit@debbugs.gnu.org; Mon, 23 Mar 2015 02:32:25 -0400 Original-Received: from ak2.becroft.co.nz ([202.50.176.175]:59601) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YZvuQ-0004Jf-0B for 19175@debbugs.gnu.org; Mon, 23 Mar 2015 02:32:23 -0400 Original-Received: by ak2.becroft.co.nz (Postfix, from userid 489) id 4ED0E3200D7; Mon, 23 Mar 2015 19:32:17 +1300 (NZDT) Original-Received: from ak2.becroft.co.nz (ak2.becroft.co.nz [202.50.176.175]) by ak2.becroft.co.nz (Postfix) with ESMTP id 9042C3200A5; Mon, 23 Mar 2015 19:32:15 +1300 (NZDT) In-Reply-To: <0E7A721E-2256-4932-9832-ED19A86FE000@swipnet.se> (Jan D.'s message of "Mon, 23 Mar 2015 07:12:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100829 Archived-At: "Jan D." writes: > Hi. > > Does > > M-x make-frame-on-display RET > When prompted: :0 RET > > work (note, just :0 not myhost:0)? > > If it does, then it is likely your X server that has changed to not > accept TCP/IP connections. > > Jan D. Thanks for your response. To clarify, my X server is working fine and accepting TCP connections, as demonstrated by the fact that emacs started without the -nw option, with the same display specification, works correctly. The problem is with emacs when started with the -nw or --daemon options, and then later using make-frame-on-display. This problem first appeared in a recent version of emacs, I think around version 24. From memory, version 23 was definitely working, but I'm not sure whether earlier versions of 24 were working. I can't actually try using a Unix domain socket connection as you suggest in my environment, since the emacs process and the X server are on separate hosts. If it would help, I could configure a test host with both emacs and an X server, and test whether the bug also occurs with Unix domain X connections. -- Mario Becroft t: @MarioBecroft p: +64-9-974-9244 m: +64-21-038-5178 w: http://www.becroft.co.nz/