Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Share a Local Folder with a Remote Host Running on VMWare - DesignLinux

Oct 14 2020
designlinux 0 Comments

In this article, we are going to see how to share a local folder with a remote host running on VMWare Workstation. If you are someone wondering what VMWare Workstation is, it is a hypervisor that runs on X64 Linux and Windows operating systems providing features to run virtual machines.

You might also want to take a look at the Installation guide of the VMware workstation on Linux.

How to Enable Share Folder in VMWare Workstation

For the purpose of the demonstration, I am using Windows 10 as my base OS and Ubuntu 20.04 running as a remote host in my VMWare Workstation.

VMWare workstation → Right-click on remote host → Settings → options tab → shared folders.

VMWare Host Settings
VMWare Host Settings
VMWare Folder Sharing Options
VMWare Folder Sharing Options

By default shared folders options are disabled. There are two options we can use to share folders.

  1. Always enabled – Folder sharing will be enabled even when VM is Shutdown, Poweroff, or Suspended.
  2. Enabled until next power off or suspend – This is a temporary share. As long as VM is active or restarted the shared folder will remain active. Incase of VM in shutdown, power-off or suspended state share will be disabled. In that case, we have to re-enable the share again.

Choose the option and press “Add” to add the path from the localhost. It will open a dialog to choose the folder to share, select the folder then click Next.

Enable Share Folder in VMWare
Enable Share Folder in VMWare

There are two shared folder attributes to choose from.

  1. Enable this share – Enable the shared folder. Deselecting the option will disable the shared folder without deleting it from the VM configuration.
  2. Read-only – Virtual machines can view and copy files from the shared folder, but add, change, or remove file operations are not permitted when read-only mode is enabled.
Share Folder Attributes in VMWare
Share Folder Attributes in VMWare

Click “Finish“. Now the folder is added to be shared to the remote host and click ok to save the changes. In the same way, I have added one more folder named “Maven database” and I made the folder attribute to be read-only. You can get the attributes by clicking “Properties”.

View Share Folder Attributes in VMWare
View Share Folder Attributes in VMWare

On Linux guests shared folders will be available under “/mnt/hgfs“. You can also create files in folders from the Guest machine and we can access it from the local machine (works bi-directionally).

View Share Folder in Guest Host
View Share Folder in Guest Host

That’s it for now. We will meet up with another interesting article soon.

Related

Tags: Ubuntu Tips, Vmware Workstation

How to Create and Select MySQL Database

Prev Post

Gzip Command in Linux

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 4
  • 722
  • 610,081

DesignLinux.com © All rights reserved

Go to mobile version