UbuntuがインストールされたマシンにRDPしてVivadoをインストールしたい時にエラーが発生して困った.
このようなエラーが出た.
ubuntu@fumi-test:~/Downloads$ sudo ./Xilinx_Unified_2021.2_1021_0703_Lin64.bin Verifying archive integrity... All good. Uncompressing Xilinx Installer.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. No protocol specified No protocol specified ERROR: Installer could not be started. Could not initialize class java.awt.GraphicsEnvironment$LocalGE java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129) at java.desktop/java.awt.Window.initGC(Window.java:487) at java.desktop/java.awt.Window.init(Window.java:507) at java.desktop/java.awt.Window.<init>(Window.java:549) at java.desktop/java.awt.Frame.<init>(Frame.java:423) at java.desktop/java.awt.Frame.<init>(Frame.java:388) at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180) at h.b.<init>(Unknown Source) at com.xilinx.installer.gui.F.<init>(Unknown Source) at com.xilinx.installer.gui.InstallerGUI.<init>(Unknown Source) at com.xilinx.installer.gui.InstallerGUI.<clinit>(Unknown Source) at com.xilinx.installer.api.InstallerLauncher.main(Unknown Source)
同じようなことで悩んでいる人がいた.
xhost \+
とするとエラーがなくなりインストーラーが立ち上がりました.
ubuntu@fumi-test:~/Downloads$ xhost \+ access control disabled, clients can connect from any host
そうしたら起動しました.やったね.
余談ですが,トップの画像はFPGAなどのワードでAIで画像生成をしてみたものです.