Opened 6 months ago
Last modified 6 months ago
#69672 new defect
git 2.44.0: gitk doesn't run, "no display name and no $DISPLAY environment variable" — at Version 1
Reported by: | gwerbin (Greg Werbin) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | git |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I get the following error when I run /opt/local/bin/gitk on MacOS 12.7 (M1 ARM):
% /opt/local/bin/gitk application-specific initialization failed: no display name and no $DISPLAY environment variable Error in startup script: no display name and no $DISPLAY environment variable while executing "load /opt/local/lib/libtk8.6.dylib" ("package ifneeded Tk 8.6.14" script) invoked from within "package require Tk" (file "/opt/local/bin/gitk" line 10)
Not sure if this is related to #62988.
Change History (1)
comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
Doesn't look like the same error message.
What X server do you have installed? What does
echo $DISPLAY
say?I'm assuming that you have an X server installed. If you don't, install ours by running
sudo port install xorg-server
and following the instructions it prints.