I want to install yEd
(http://www.yworks.com/en/products_yed_about.html).
It has a .sh installer which first unpacks and then starts a graphical installer.
I have tried sudo and gksudo but so far without success. The installer terminates with:
'Could not display the GUI. This application needs access to an X Server.'