In Ubuntu if you want to open File Explorer from a terminal (especially as root) then you need to enter the following command: sudo nautilus

If you want this to run as a background process then just add an "&" in the end (without the quotes of course).