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

1 Answer 1


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.

  • You didnt explain why its happen, I know that I can also open with icon. thanks
    – Ben
    May 23, 2010 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/)
    – Apache
    May 23, 2010 at 7:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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