https://wiki.ubuntu.com/xdmcp on ubuntu 18.06+: First of install theopenssh-server sudo apt-get install openssh-server Edit/etc/ssh/ssh_configto have the following settings ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes Edit/etc/ssh/sshd_configto have the following setting X11Forwarding...