When you try to use the xclip command over the ssh-based session to copy and paste data, you will get the following message on screen:
Error: Can't open display: (null)
Here is how to fix this error by editing the ssh client and OpenSSH (SSHD server) configuration file.
Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit
The post How to fix “Error: Can’t open display: (null)” with ssh and xclip command in headless mode appeared first on nixCraft.