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

Can't open display: (null) #129

Open
mk48 opened this issue Aug 18, 2021 · 6 comments
Open

Can't open display: (null) #129

mk48 opened this issue Aug 18, 2021 · 6 comments

Comments

@mk48
Copy link

mk48 commented Aug 18, 2021

I am trying simple command and getting Can't open display error. See the below screen. Anything wrong here?

image

@wantToHawaii
Copy link

wantToHawaii commented Aug 18, 2021

the same issue on macos (iterm2, zsh)
Error: Can't open display: (null)

@hackerb9
Copy link
Collaborator

Microsoft's Azure and Apple's MacOS do not run an "X server" by default, and thus there is no DISPLAY for xclip to connect to.

@mk48
Copy link
Author

mk48 commented Aug 23, 2021

I am using Azure to host Ubuntu VM and I installed xlcip on ubuntu.

@hackerb9
Copy link
Collaborator

Xclip is only a client that speaks to your X server. Do you have one installed and running? I haven't used Azure in a while, but my recollection is that their version of Ubuntu lacks an X server. Do you have the same problem when you try Ubuntu on your own machine instead of Azure?

@hackerb9
Copy link
Collaborator

hackerb9 commented Sep 4, 2021

Did you get it figured out?

@betterthanever2
Copy link

Having this issue on regular Ubuntu. X server seems to be running just fine. Any ideas what can this be?

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

4 participants