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: Tue, 27 Jul 2021 23:35:28 +0800

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.

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]