You are not logged in.

#1 2010-09-01 01:44:32

pthesis
Member
Registered: 2010-09-01
Posts: 2

Netbeans not running under root user

I noticed that after installing Netbeans under user 'root', I'm able to use it under my user account, but it doesn't launch when I'm logged in as root.  I'm running Arch x86_64 with XFCE in VirtualBox.  Everything else works, including:

Firefox
Pidgin
Eclipse
SRWare Iron browser

It's not a big problem but when I'm logged in under my user account I can't install new plugins from inside Netbeans.

I tried running it from the command line but nothing happens, including when I try "sh netbeans -verbose".

I"m curious why I'm unable to start Netbeans when I'm logged in as root.  Has anyone else experienced this?

Offline

#2 2010-09-01 21:44:22

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: Netbeans not running under root user

I cannot run it too, but I cannot run anything that needs X from the console when I'm logged as root. However ,"kdesu netbeans" seems to be working.

Offline

#3 2010-09-01 22:01:34

pthesis
Member
Registered: 2010-09-01
Posts: 2

Re: Netbeans not running under root user

I uninstalled openjdk6 and installed jdk (the Sun version) and now it seems to be running fine.  Try doing that perhaps.

Offline

#4 2010-09-01 22:05:49

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Netbeans not running under root user

Why would you run anything with a GUI as root? Especially netbeans?


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#5 2010-09-01 22:12:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Netbeans not running under root user

Maybe you should reinstall it "as user" if you're experiencing problems with plugins installation.

Edit: IIRC you can use xhost to let root run GUI apps.

Last edited by karol (2010-09-01 22:26:09)

Offline

Board footer

Powered by FluxBB