Article 5MDAZ Ubuntu ssh X11 forwarding question

Ubuntu ssh X11 forwarding question

by
lleb
from LinuxQuestions.org on (#5MDAZ)
attempted to open gedit on my laptop via ssh today. On my workstation I have the following entries in my ~/.ssh/config

Code:Host *
Protocol 2
ForwardAgent yes
ForwardX11 yes
ServeraliveInterval 30
ServerAliveCountMax 5
TCPKeepAlive yesOn the laptop /etc/ssh/sshd_config shows

Code:#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PermitTTY yesI'm a tad confused why this is not working. Works in reverse, if I'm on my laptop I can ssh with X11Forwarding without issue.

yes I have used X11Forwarding from my workstation to other devices without issue.

Thank you in advance.

Laptop
Code:uname -a
Linux raynewlap 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxWorkstation
Code:uname -a
Linux pop-os 5.11.0-7614-generic #15~1622578982~20.10~383c0a9-Ubuntu SMP Wed Jun 2 00:54:41 UTC 2 x86_64 x86_64 x86_64 GNU/Linuxlatest?d=yIl2AUoC8zA latest?i=K0LsVuCWC-s:ZqmuKWV7q18:F7zBnMy latest?i=K0LsVuCWC-s:ZqmuKWV7q18:V_sGLiP latest?d=qj6IDK7rITs latest?i=K0LsVuCWC-s:ZqmuKWV7q18:gIN9vFwK0LsVuCWC-s
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments