Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
1  
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
add comment

3 Answers

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
add comment

With me, it just works as follows:

Download the .sh file, example: yEd-3.10.1_32-bit_setup.sh

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

Then follow instructions, and its done

My Ubuntu version: 12.04 LTS

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.