通常,在我的linux中,我从终端运行应用程序的命令是 ./dsi_studio --action=trk ... 而且它运行得相当顺利。如果您单击此应用程序,它将尝试打开GUI。qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb"我不知道为什么应用程序在终端运行时会试图打开显示,因为它不会在我的linux中打开GUI。我只是想以某种方式抑制这个警告,就好像有一个假
脚本lck.sh检查是否存在file_name.txt,删除文件并锁定屏幕。当脚本从终端运行时,这是完美的。if test -f "$FILE"; then /usr/bin/gnome-screensaver-command -l然而,当crontab运行脚本时,文件会被删除,但是gnome-屏幕保护程序-命令没有显示任何效果。crontab的最后一行是:我在crontab后面加上了下面的行我用的
我正尝试在我的新亚马逊EC2 Linux实例上安装Glassfish。我在我的Mac上打开X11并在linux中设置ip地址(例如导出DISPLAY=123.45.67.89)
但是Glassfish安装抛出了一个异常java.lang.InternalError: Can't connect to X11 window server using '123.45.67.89' as
util.text.LatexParserTest): Caused an ERROR
[junit] Can't connect to X11 window server using ':0' as the value of the DISPLAY[junit] java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY