Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install yEd

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.'

share|improve this question
What version of Ubuntu are you using? – david6 Jun 7 '12 at 12:08
I am using Ubuntu 12.04 – Eero Aaltonen Jun 7 '12 at 12:58
up vote 1 down vote accepted

Try this tutorial: (based on download of Java version, instead of .sh)

yEd on Ubuntu

---- ---- UPDATE ---- ----

The .sh file, once downloaded, runs fine on Ubuntu 12.04 (64bit).

After install, just run this at command line:

~/yEd/yEd &

With a little more effort, I can probably get a Unity icon (and get it docked).

share|improve this answer
The linked tutorial was really useful and what I ended up doing, thanks! – Eero Aaltonen Jun 7 '12 at 12:58
The .sh method installs to ~/yEd, complete with .desktop file (icon) and works fine. But, this is not the preferred method for install on Ubuntu. A hybrid between the two methods would be better. I recommend the Java download (and tutorial) for now. – david6 Jun 7 '12 at 21:52

My suggestion would be to:

  • switch to a terminal by CTRL+ALT+F1
  • type 'sudo ldm stop'.
  • cd to the directory where the script is located and
  • run it with sudo.
share|improve this answer

With me, it just works as follows:

Download the .sh file, example:

Open a Terminal(ctrl+alt+T).
Navigate to the location where the .sh file is downloaded.
execute command:
sudo sh

Then follow instructions, and its done

My Ubuntu version: 12.04 LTS

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.