X Error: BadDrawable (invalid Pixmap or Window parameter)解决方案

问题描述

在gnuradio-companion中执行gr-ieee802.11模块的examples/wifi_transceiver.grc 时出现了如下错误:

X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)

解决方案

参考:https://stackoverflow.com/questions/51818078/x-error-baddrawable-invalid-pixmap-or-window-parameter-when-launching-apache

add this line QT_X11_NO_MITSHM=1 in system env var.
In my case environment file location is : etc/environment

即:
$ sudo vim /etc/environment
在末尾添加QT_X11_NO_MITSHM=1保存退出后即可正常启动。

你可能感兴趣的:(ubuntu技巧)