From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Failed to run Emacs in X windows mode on remote host over ssh with X11 forwarding enabled. Date: Tue, 27 Jul 2021 09:17:52 -0500 Message-ID: References: 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="18177"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Hongyi Zhao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 27 16:18:41 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 1m8Nur-0004XY-NR for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Jul 2021 16:18:41 +0200 Original-Received: from localhost ([::1]:40248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8Nuq-0008HY-P7 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 27 Jul 2021 10:18:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8NuX-0008HQ-VV for help-gnu-emacs@gnu.org; Tue, 27 Jul 2021 10:18:21 -0400 Original-Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]:38672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8NuW-000601-94 for help-gnu-emacs@gnu.org; Tue, 27 Jul 2021 10:18:21 -0400 Original-Received: by mail-yb1-xb2f.google.com with SMTP id f26so17266889ybj.5 for ; Tue, 27 Jul 2021 07:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gqZmFAdY3Ko4nL9UxHaWbHdLeNgo6q2vjlgmM5gfkdY=; b=S4GOp+LsW31NGvp9HsfcOI6ntK+9UaPa6SJgJZXtpDtKjMUvEN9rpqgyscm0ZQ5eB5 ntpQj47NoI5IKOgQDMh4o/jLl2Grj0/mPOBhb+BIjMZXvi1fJSQrl4bv48t7sCR5cAjF NxXco6o1oEj9kXaUDSJBlaMz2yFuGe9t0ndVEEtDO7Tf+9pn7Vr92Ccig1dcPAtnLw3b 9qyClgYqfBz4kcJm3YbARAS6VAWrCJh+k7eCrZVbyyGk45zogfibMOF7TP6k7snBnBr4 0NquVZ0yNFKEd9kcTyMLSIAO6KLqA7uwhmFXLMPNUad1/GWDs7Bj92mWB/Wt1BtUmWq/ UpLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gqZmFAdY3Ko4nL9UxHaWbHdLeNgo6q2vjlgmM5gfkdY=; b=Z5Tkh+lAMy4H+ghzQ0TrH0sPH61KmSIyhsvbpIchBqaY7+u44dYnXDCQmBIhLUPpHu mvm/gCkVP+IFayXpwu+d8/lJ8tpPbzdImV5cDNzw30dB6PSRZHfeqVfZrzd2TT8Yj4+K 4nLmwl60iGywS5WYD6/g+H8bvi1onA5+gk6q3PUE3JwmMPPbku1zPkiQXNusIMtT5lIb I5fPr7y21/zH2+k0HoUB43YR9cM4yGk7GTc7IeNdEucDBNOkFhrNEGt7q0LCan9kxCUa lga7EzAx8RBBi7GLHjjC3pUHoXQdDL7xzeCkRIYoEtaS3j2RceFq33QHxviJT+UV+qJ7 oD5g== X-Gm-Message-State: AOAM530kX/eiJHdZZkm4aHYNq67ic+nLDaavMmpfRF8tSDUZI0KU3KDw GRWAF3OR8MxnZ9uxKawgxdzaDXs7yiXqQWcWvlN4No0= X-Google-Smtp-Source: ABdhPJzkTc6F+KpKbZ6PxEp9jIQtBHAJd8kn2OwiSphV5YVIo4T+kGrrvmmuyqcRGJB5Hf0evI/F9hfRoGK0yU5k0hk= X-Received: by 2002:a5b:592:: with SMTP id l18mr32938436ybp.490.1627395498194; Tue, 27 Jul 2021 07:18:18 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b2f; envelope-from=skip.montanaro@gmail.com; helo=mail-yb1-xb2f.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:132122 Archived-At: > $ ssh -X werner@192.168.10.100 > $ emacs > > At this moment, I noticed the following information: > > Display localhost:10.0 unavailable, simulating -nw Are you able to run other X-loving applications on the remote host? Maybe substitute "xeyes" or "xterm" for "emacs." Also, run ssh in verbose mode (-v) to see if it gives you clues about why X forwarding is (apparently) disabled. Skip