• Skip to primary navigation
  • Skip to content
  • Skip to footer
A blog by Ryan M. Jeong.
  • About
  • Posts
  • Categories
  • Tags
    Ryan Munseong Jeong

    Ryan Munseong Jeong

    I am a developer with 2 years of experience. My main programming language is C, but I also know at good level C++ and Golang. You can read more about me in the About section.

    • Seoul, Korea
    • Email
    • GitHub
    • BOJ

    Error: Can’t open display: 0

    less than 1 minute read

    • Solution
    # This command can also be added in shell initialization files, for example
    
    export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
    
    • References:
      • Sizuji. (2021, May 28). Error: Can’t open display: 0. https://superuser.com/questions/1476086/error-cant-open-display-0

    Tags: stackoverflow, WSL

    Categories: Computer

    Updated: May 28, 2021

    Share on

    Twitter Facebook LinkedIn
    Previous Next

    Leave a comment

    You may also enjoy

    [WIP]A brief introduction to C++’s model for type- and resource-safety

    1 minute read

    Streams and Files

    4 minute read

    How can I copy the output of a command directly into my clipboard?

    less than 1 minute read

    Solution

    영작문_30

    1 minute read

    “상황 판단을 제대로 해 본 후에 결정 내려.”

    • Follow:
    • GitHub
    • Feed
    © 2023 Ryan Munseong Jeong. Powered by Jekyll & Minimal Mistakes.