unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Skip Montanaro <skip.montanaro@gmail.com>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Failed to run Emacs in X windows mode on remote host over ssh with X11 forwarding enabled.
Date: Tue, 27 Jul 2021 10:07:16 -0500	[thread overview]
Message-ID: <CANc-5UxGBsyVAgRaJasPLWc+4yPZ0nwDGCA=eDeAhLigQP1tgQ@mail.gmail.com> (raw)
In-Reply-To: <CAGP6PO+ybEeaU991-ZUtvtpEA34V_pRU1h3nUdnanM5Xtzgt1A@mail.gmail.com>

> $ grep ^X11Forwarding /etc/ssh/sshd_config
> X11Forwarding yes

Is this on the remote host or your ssh client host? Have you checked
for X11 forwarding at both ends? Maybe this web page will help you
debug the problem:

https://www.poftut.com/linux-x11-connection-rejected-wrong-authentication-error-solution/

Skip



  reply	other threads:[~2021-07-27 15:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 13:29 Failed to run Emacs in X windows mode on remote host over ssh with X11 forwarding enabled Hongyi Zhao
2021-07-27 14:17 ` Skip Montanaro
2021-07-27 14:52   ` Hongyi Zhao
2021-07-27 15:07     ` Skip Montanaro [this message]
2021-07-27 15:35       ` Hongyi Zhao
2021-07-28  7:14         ` Hongyi Zhao
2021-07-28  7:19           ` Hongyi Zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANc-5UxGBsyVAgRaJasPLWc+4yPZ0nwDGCA=eDeAhLigQP1tgQ@mail.gmail.com' \
    --to=skip.montanaro@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hongyi.zhao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).