1

I installed Oracle VM VirtualBox Manager on Windows 7 and I was able to run some PHP programs on it. I use Git-Bash with Vagrant to access shell (Ubuntu).

I would like to try a simple Java web application on the above machine.

I installed 'Nautilus' file manager and I tried to open it in the terminal by running the command: nautilus --browser (Opening the file browser from terminal), but I get an error message as follows:

(nautilus:8243): Gtk-WARNING **: cannot open display:

Notes:

My question is how to install and access files and folders on the host machine using 'Nautilus’?

1 Answers1

1

If you use "Bridge adapter" in the virtualbox network settings, try

ssh youruser@virtualboxhostname.local -X
nautilus
Katu
  • 3,593
  • 26
  • 42
  • I run: ssh vagrant@virtualbox.local -X and I got: ssh: Could not resolve hostname virtualbox.local: Name or service not known – user203952 Sep 15 '15 at 22:22
  • 1
    I meant replace virtualboxhostname with the hostname of your virtualbox. You can also use the IP without .local – Katu Sep 16 '15 at 05:29