I'm building a dev environment in a Docker container from the image ubuntu:20.04 and within that image I run the command RUN sudo apt-get -y install xclip. Unfortunately when I invoke xclip I get the following error:
Authorization required, but no authorization protocol specified Error: Can't open display: :1
Do you know what this might mean? And also how to go about solving it?
Hi all,
Thank you for reading this!
I'm building a dev environment in a Docker container from the image
ubuntu:20.04
and within that image I run the commandRUN sudo apt-get -y install xclip
. Unfortunately when I invoke xclip I get the following error:Authorization required, but no authorization protocol specified Error: Can't open display: :1
Do you know what this might mean? And also how to go about solving it?
Thanks in advance!