Table of Contents
Currently not working, need to recompile xserver with security extension enabled
X11 forwarding is disabled by default. To enable it, modify the sshd's configuration file /etc/ssh/sshd_config as the following:
sed -i 's/#X11Forwarding no/X11Forwarding yes/' /etc/ssh/sshd_config
And then reload OpenSSH daemon:
systemctl reload sshd
The current connection may not survive to the daemon's reload...