Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Netbeans 6.8 Ubuntu 10.04: I add php to netbeans and when I type $ gksu netbeans its open netbeans without php editor. Only when I type $ sudo netbeans its open it properly

share|improve this question
up vote 1 down vote accepted

What? Running sudo netbeans opens NetBeans with the root user. You should simply start it with netbeans or with the icon. No need for root.

share|improve this answer
You didnt explain why its happen, I know that I can also open with icon. thanks – Yosef May 23 '10 at 7:48
gksu uses your user with root access. Its a "graphical sudo". So basically its your user, not the "root". If you use "sudo" , you will get the "root" account launch it. (So if you use gksu, it'll save the stuff into your folder, 'sudo' saves it into /root/) – Shiki May 23 '10 at 7:52
Thank you very much !! – Yosef May 31 '10 at 10:00

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.