From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Failed to run Emacs in X windows mode on remote host over ssh with X11 forwarding enabled. Date: Tue, 27 Jul 2021 21:29:48 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14644"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 27 15:30:33 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8NAH-0003ii-8Z for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Jul 2021 15:30:33 +0200 Original-Received: from localhost ([::1]:43464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8NAG-0004HL-9o for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Jul 2021 09:30:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8N9p-0004Gg-Vy for help-gnu-emacs@gnu.org; Tue, 27 Jul 2021 09:30:06 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:41820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8N9o-00089S-A3 for help-gnu-emacs@gnu.org; Tue, 27 Jul 2021 09:30:05 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id y34so21663714lfa.8 for ; Tue, 27 Jul 2021 06:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xRV9WJSAWFQPijEShcgIQlW2wGfYEUEW5F9Lv9PRSh8=; b=cifOIgSYkLy+Ji3vobGRVcKoYWYMmGZ36U0bMgr49XbBpyXfQ178R243tQmgJ9ZWmX myf/nFEvvAVNmOXUEfPgqMIJjsvExBCzHnfSb95lUxl9Vlq3Br4CDnpGZeVL7FU02Yon rSnbYC2bkIuUQX/gMnlFZkRDw6tkTrW2IWC9ebTTKI4WqSE6jZsw/DevSBYQ3di+0TWm DnxosHSz9Qf0d29qgoo1FBBm4jjSUPplBGEct6AIil1WgPJVLIbrbBj0cdBDypti+Bh1 NJSMihBpj286rfArJ9X1FTrRUh7bqO1NVMBsJv8W4qi91PeKH0hMUwfIBVT+hh3JuC8b Ggqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xRV9WJSAWFQPijEShcgIQlW2wGfYEUEW5F9Lv9PRSh8=; b=EH7RpnQbnpHyZKsqCDGIv4MclF7jbfozW4YBykRZc4AzQxzCAMs7q+0ysq+Y7tjD3H PI711O3HVH02b/AZ/tSihHi/phuASpdnIg7SXEVPqwhsLoQOl3XXODRNm1M3Gu+1wKaU BxxJMXgaD1GE7TVihbBZmjB1PT2YbSGj5dfY+RjJz5pk4yLPOGZvTwMVPL0ou4NRrZ1y cRxAugj2calj5Cx77VdcMkPbOfTV0xlhvEF3u++qG5U4r/RjY6UC/HizjVRfx1+CpOSC WKU0bjY5/YBDZc3bu8ECx++qsa3IQZPg3/sLlaVL/e22Lel1rdgo5nP+YVvUCorYnT2/ i2BQ== X-Gm-Message-State: AOAM5335hoc8wd454LLxLorbsOb4Xa8ZyvdZB/K6kOEhGtx+CgGwZBYy IYfdqkKRc/tpQ/o3MRss41vmT0Mdvo2FER43XRt1sKh2SEEGOhfu9TA= X-Google-Smtp-Source: ABdhPJy18qex6sPVRnjgoEKiq+bJVuEP90kVXayVaDq6v9qvpnz65yDnZKwJHD7HzC5eDceWJkHR0DnYJk2/E83Gpik= X-Received: by 2002:a19:ac45:: with SMTP id r5mr16026143lfc.484.1627392600395; Tue, 27 Jul 2021 06:30:00 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=hongyi.zhao@gmail.com; helo=mail-lf1-x133.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132120 Archived-At: On LAN, I'm trying to run Emacs on another machine, as shown below: $ ssh -X werner@192.168.10.100 $ emacs At this moment, I noticed the following information: Display localhost:10.0 unavailable, simulating -nw As a result, Emacs will run in console mode and can't be able to communicate with X. Any hints for this problem? Regards, HY -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province