Discussion:
[yocto] X11 forwarding request failed on channel 0
Peter Balazovic
2018-12-08 15:20:52 UTC
Permalink
I am trying to ssh-connect with enabled x11 forwarding to my Yocto remote
target using ssh -XY ***@xxx.xxx.xxx I am getting error

~$ ssh -XY ***@XXX.XXX.XXX.XXX
debug1: Remote: No xauth program; cannot forward with spoofing.
X11 forwarding request failed on channel 0

I have enabled xauth on my system ... as well enabled X11 forwarding at
/etc/ssh/ssh_config
ForwardX11 yes

and /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10

I have xauth on my system what other configuration needed to enable x11
forwarding?
Peter Balazovic
2018-12-09 10:25:56 UTC
Permalink
I've added the following line to /etc/ssh/sshd_config to tell where is xauth


XAuthLocation /usr/local bin/xauth

After inserting the line telling where the xauth is located and restarting,
the application with GUI output response is
Running on a compositor with no screens is not supported
is there any idea how to fix it?
I am trying to ssh-connect with enabled x11 forwarding to my Yocto remote
debug1: Remote: No xauth program; cannot forward with spoofing.
X11 forwarding request failed on channel 0
I have enabled xauth on my system ... as well enabled X11 forwarding at
/etc/ssh/ssh_config
ForwardX11 yes
and /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
I have xauth on my system what other configuration needed to enable x11
forwarding?
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Loading...