>  You can disable interprogram-paste-function, but why would you want

> to?

Are there any downsizes to disabling in `noninteractive` sessions only (if I have
control there)?

This bug is killing me as sometimes even when all other Emacs instances are
killed, copying and pasting still hangs Emacs until I log out of the DE and log
in again.
-- 
Daanturo.