Can't open display: (null) · Issue #129 · astrand/xclip · GitHub
Skip to content

Can't open display: (null) #129

Open

Description

@mk48

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

image

Activity

  1. wantToHawaii commented on Aug 18, 2021

    @wantToHawaii

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

  2. hackerb9 commented on Aug 18, 2021

    @hackerb9
    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.

  3. mk48 commented on Aug 23, 2021

    @mk48
    Author

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

  4. hackerb9 commented on Aug 23, 2021

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

  5. hackerb9 commented on Sep 4, 2021

    @hackerb9
    Collaborator

    Did you get it figured out?

  6. betterthanever2 commented on Apr 15, 2024

    @betterthanever2

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions