help-gnu-emacs
[Top][All Lists]
Advanced

[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


From: Hongyi Zhao
Subject: Re: Failed to run Emacs in X windows mode on remote host over ssh with X11 forwarding enabled.
Date: Wed, 28 Jul 2021 15:14:42 +0800

On Tue, Jul 27, 2021 at 11:35 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Tue, Jul 27, 2021 at 11:07 PM Skip Montanaro
> <skip.montanaro@gmail.com> 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 [1] for more details. I listed below, for reference
only, the successful methods that I finally tried out.

[1]. https://groups.google.com/g/comp.unix.shell/c/7Y6_ISexpzU/m/AmIMlC6qBgAJ

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province



reply via email to

[Prev in Thread] Current Thread [Next in Thread]