AWT和Oracle Secure Global Desktop

时间:2015-11-12 16:47:33

标签: java linux ssh awt remote-access

我使用一些AWT库开发GUI(例如:java.awt.color)。但是,当我尝试使用SGD运行时,它将崩溃。 我删除了这些库,它工作正常。

检查日志时,我看到:

[xcb] Too much data requested from _XRead
[xcb] This is most likely caused by a broken X extension library
[xcb] Aborting, sorry about that.
gnome-settings-daemon: ../../src/xcb_io.c:735: _XRead: Assertion `!xcb_xlib_too_much_data_requested' failed.

谁知道原因?

1 个答案:

答案 0 :(得分:1)

将配置添加到java属性 -Djava.awt.headless=true http://www.oracle.com/technetwork/articles/javase/headless-136834.html如果您只使用AWT颜色。