Skip to content

Cannot start on MacOS: "cannot open display" #197

@gwerbin

Description

@gwerbin

I get the "cannot open display" error on MacOS when I try to start the compiled application:

(<unknown>:21916): Gtk-WARNING **: 21:08:42.157: cannot open display:

Do I need to set up XQuartz somehow?

I am using MacOS 12.4 on ARM/M1, with MacPorts.

# System deps
sudo port install graphene gtk4

# Rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
export PATH="$HOME/.cargo${PATH:+:$PATH}"
rustup install stable

# Get repo
git clone 'https://github.com/vhakulinen/gnvim'
cd gnvim

# Build and run
cargo build --release
cargo run --bin gnvim

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