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’?

user203952
  • 111
  • 1
  • thanks for your response but I think that X server in your link, doesn't serve the VirtualBox machine. – user203952 Sep 15 '15 at 18:13
  • Cygwin's X is for Windows. What do you mean, it doesn't server your VirtualBox machine? – muru Sep 15 '15 at 18:15
  • it's not the same configuration, because I run ubuntu on a VirtualBox. – user203952 Sep 15 '15 at 18:18
  • cygwin X is to be installed on windows, not Ubuntu. – muru Sep 15 '15 at 18:23
  • [SOLVED] (1) **Windows:** Install Xming (2) **PuTTY:** Enable X11 Forwaring (3) **Server:** /etc/ssh/sshd_config (a) `X11Forwarding yes` (b) `X11DisplayOffset 10` (4) **Server:** Install xauth – user203952 Sep 16 '15 at 22:28

1 Answers1

1

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

ssh youruser@virtualboxhostname.local -X
nautilus
Katu
  • 3,553
  • 25
  • 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