使用gitk指令提示报错,在其他shell工具没有此问题
-
使用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 /usr/lib/x86_64-linux-gnu/libtk8.6.so"
("package ifneeded Tk 8.6.12" script)
invoked from within
"package require Tk"
(file "/usr/bin/gitk" line 10)