Is there a way to enable xclip/xsel on a headless SSH server? I'm working with a machine that formerly ran Ubuntu 14.04 desktop, and has been migrated to Ubuntu 16.04 server. I have various vim and tmux configurations to increase productivity when I login to the server via ssh. However, now that it's headless and running a server OS, a lot of my clipboard functionality is broken:
"+yno longer works invim(which we recompiled withxterm_clipboardsupport), so I've lost a convenient way to copyvimbuffers betweentmuxwindows on the remote machine.tmuxcopy/paste works fine, which is odd, given that my "yank" command is:bind -t vi-copy 'y' copy-pipe "xclip -sel clip -i"(this worked even withxclipnot even installed; guess it fell back to default behavior).
cygwinno longer seems to acquire a copy of clipboard data when x11forwarding is enabled viassh -X hostname.
Is there a way to get this working from a "cygwin on windows" to "ubuntu 16.04.3 headless server" setup? I'd even install xorg if necessary, if it just sat quietly in the background and allowed the clipboard to work again.