I had this! It was solved buy someone suggesting to install (guess xclip). Let me search…
Edit: It was the xsel and xclip that was missing for me. I installed them and got rid of the error.
I could still run CG. It was just the error message that caught my eye. Better to get rid of it, just in case.