Some of the errors I ran into
- DISPLAY is not set
- Failed to allocate internet-domain X11 display socket
- X11 forwarding request failed on channel 0
1) Make sure you have the X11forwarding enabled.
Server: /etc/ssh/sshd_config
1 2 3 |
|
Client: /etc/ssh/ssh_config
1 2 |
|
2) Enable lightdm to listen on TCP sockets
Modify and add line below to: /etc/lightdm/lightdm.conf
1
|
|
3) If you have disabled IPv6, one more update to sshd_config is needed
Modify and add line below to: /etc/ssh/sshd_config
1
|
|
4) Restart lightdm and sshd – or – Reboot