[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed to run Emacs in X windows mode on remote host over ssh with X
Re: Failed to run Emacs in X windows mode on remote host over ssh with X11 forwarding enabled.
Wed, 28 Jul 2021 15:14:42 +0800
On Tue, Jul 27, 2021 at 11:35 PM Hongyi Zhao <email@example.com> wrote:
> On Tue, Jul 27, 2021 at 11:07 PM Skip Montanaro
> <firstname.lastname@example.org> wrote:
> > > $ 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?
> On server side:
> $ grep ^X11Forwarding /etc/ssh/sshd_config
> X11Forwarding yes
> On client side:
> $ grep '^[ ]*ForwardX11' /etc/ssh/ssh_config
> ForwardX11 yes
> > Maybe this web page will help you debug the problem:
> > https://www.poftut.com/linux-x11-connection-rejected-wrong-authentication-error-solution/
> I've checked all the aspects list there, but still meet the same error.
Finally, I figured out the solution. See the discussion on
comp.unix.shell  for more details. I listed below, for reference
only, the successful methods that I finally tried out.
Assoc. Prof. Hongyi Zhao <email@example.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province