root@DESKTOP-AOBC2U6:/home/lpp/mld_scripts# ./test.sh
错误提示如下:
application-specific initialization failed: no display name and no $DISPLAY environment variable
Loading external megawidget libraries:
BWidget 1.6
Error in startup script: no display name and no $DISPLAY environment variable
while executing
"load /usr/lib/x86_64-linux-gnu/libtk8.6.so Tk"
("package ifneeded Tk 8.6.10" script)
invoked from within
"package require Tk 8.1.1"
("package ifneeded BWidget 1.9.14" script)
invoked from within
"package require BWidget 1.6"
(file "/usr/share/ferret/ferret.tcl" line 882)
invoked from within
"source /usr/share/ferret/ferret.tcl"
(file "/usr/bin/ferret" line 2)
求助