如何使用 Xinit 在 Ubuntu Server 上运行一个 Java 应用程序 JFrame

如何使用 Xinit 在 Ubuntu Server 上运行一个 Java 应用程序 JFrame

我正在尝试使用 xinit 在 Ubuntu Server 上运行一个 java jframe 应用程序,可以吗?我尝试使用以下命令运行该 java 应用程序:

startx java -jar myapp.jar

但我收到了接下来的消息

在此处输入图片描述

这些是日志中的警告消息

[   601.694] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   601.694]    Entry deleted from font path.
[   601.694] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   601.694]    Entry deleted from font path.
[   601.694] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   601.694]    Entry deleted from font path.
[   601.694] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   601.694]    Entry deleted from font path.
[   601.694] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   601.715] (WW) Falling back to old probe method for modesetting
[   601.715] (WW) Falling back to old probe method for fbdev
[   601.715] (WW) Falling back to old probe method for vesa
[   601.719] (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration available.
[   601.719] (WW) vmware(0): Skipped initialization of direct rendering due to lack of render acceleration.
[   601.720] (WW) vmware(0): Disabling Xv because no adaptors could be initialized.

相关内容