UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 62241

2014.x Install - ERROR: Installer could not be started. Could not initialize class sun.awt.X11GraphicsEnvironment.

Description

If I run the Installer in root mode on Linux, the following error is shown in the command line:
 

ERROR: Installer could not be started. Could not initialize class sun.awt.X11GraphicsEnvironment.

Solution

This error will occur when the Vivado IDE "Can't open display: $DISPLAY".

This situation has been seen when the default value of the environment variable DISPLAY is "localhost:10.0".

This has also been seen when DISPLAY was set correctly, but XHOST permissions were not allowing access to the host:port.

The install is able to run when launching the Installer from user mode.

However when the installer is run in root mode, the install fails with the error above.


To work around this, set the DISPLAY value to a host and port that can be accessed in root mode.


Note: For Vivado 2014.x, installing as root was suggesting in order to properly install cable drivers on the system. 

In Vivado 2015.1, the cable driver installation has been removed from the main Vivado install on Linux platforms and it is recommended that Vivado 2015.x NOT be installed with root permissions.
AR# 62241
Date Created 09/28/2014
Last Updated 05/27/2015
Status Active
Type General Article
Tools
  • Vivado Design Suite - 2014.3