Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xclip in a docker container authorization error #141

Open
bwintertkb opened this issue Jan 17, 2023 · 1 comment
Open

xclip in a docker container authorization error #141

bwintertkb opened this issue Jan 17, 2023 · 1 comment

Comments

@bwintertkb
Copy link

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 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?

Thanks in advance!

@hackerb9
Copy link
Collaborator

Are you able to run any X programs? For example, xeyes or xdpyinfo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants