Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-01-2003, 07:04 PM   #1
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Rep: Reputation: 30
VMware: How to communicate between host and guest

Hi, I'm running VMware 4 for linux and then I'm running Win XP within that, as I still need XP but wireless Networking sucks in is way to fragile, so this may be slower, but I'm trying to make the transition to a pure linux system. Anyways, I can't get the networking to run between the two OS's as stated on the VMware website.

I want to be able to share files between Linux (host) and W XP (Guest), but this seems to run through Samba or something, and I know nothing about that.

If someone knows how to get this working please help, especially if you can also help with the W XP end of things too.

Old 06-01-2003, 07:13 PM   #2
Registered: Jul 2001
Distribution: Ubuntu
Posts: 195

Original Poster
Rep: Reputation: 30
Sorry, a little embarassed now after figuring out how VMware 4 handles file sharing.

It has the option built right in if you look hard enough.
Old 06-01-2003, 07:52 PM   #3
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
Hi remember that VMware 4 have the option to drag and drop or just go to Virtual Machine and select "Edit Virtual Machine" then make a folder to share in linux and assign in Guest Disk "Z"


1. Ok you can do the following steps:
You don't need samba running localy to access a share on another computer.
You will first have to make a mount point (eg "mkdir /mnt/winshare") then mount the share:
code: mount -t smbfs -o username=Gerardoj,password=password //windoze/share /mnt/winshare
(Of course with out spaces)

Long step and old
2.Connecting to a Linux Host from a Windows Guest

If you want to share the directory /home/user/shared, for example, on a Linux host operating system with a Windows guest operating system, follow these steps:

1. On the Linux host operating system, copy the smb.conf file to a file called something like smb.conf.orig.
cd /etc/vmware/vmnet1/smb
cp smb.conf smb.conf.orig

2. Modify Samba on the Linux host system. Edit the following lines in

1. Comment out the line starting with interfaces=<IP addresses>.
2. Below this line, add interfaces=vmnet1 vmnet8.
3. Provide a network workgroup name. Set workgroup=<name>.
4. If you do not want to use the standard DNS name for the Linux system, set netbiosname=<Linux system name>.
5. You can leave security=user, unless you cannot connect, in which case use security=share.
6. Set encrypt passwords=yes.
7. In the [global] section, define a different shared memory access key. Add this line:
sysv shm key=/dev/vmnet8
8. For better performance, at this line:
socket options = TCP_NODELAY
edit the line to state:
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Note: This setting must be entered on one line.
9. To create the share, add the following:
path = /home/user/shared
public = no
writable = yes
printable = no (since you want to share files, not a printer)
10. Save this file and create a backup copy to protect these changes when you upgrade VMware Workstation.

Restart the Samba services to load the new settings.
If VMware Workstation is running on the Linux host system, suspend or shut down all running virtual machines and close all VMware Workstation windows.
On the Linux host operating system, at a command prompt, type
/etc/init.d/vmware restart
On some Linux distributions, the command is
/etc/rc.d/init.d/vmware restart
Start VMware Workstation and run the Windows guest operating system from which you want to connect to the Linux host. The user ID you use to log in to the Windows guest must be in the Linux host's smbpasswd file. If you use the same user name and password to log in to the guest as you do on the Linux host, then you are not prompted to log in when you browse the Linux host.
If you are connecting to the Linux system from a Windows Me, Windows 98 or Windows 95 guest operating system, NetBEUI must be installed in the guest operating system before you can browse the file system. If you need to install NetBEUI, you may need your Windows installation CD-ROM.
When the system restarts, the Samba service does not appear in the list of services starting up, but it does start, unless an error appears.

feel free to email me for questions!!
Linux: Fast, Stable, Flexible

Old 07-30-2008, 11:01 AM   #4
LQ Newbie
Registered: Apr 2008
Posts: 23

Rep: Reputation: 16

Originally Posted by oudent View Post
Sorry, a little embarassed now after figuring out how VMware 4 handles file sharing.

It has the option built right in if you look hard enough.
Sry to post here after so long, but i am having the same problem as you and i can't find the option to share...looked a lot already but nothing seems to pop out TT____TT... help?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
network between the host and guest in VMWare gongcon Linux - Networking 1 03-08-2005 09:25 PM
vmware xp host redhat guest Ecco Linux - Software 2 05-01-2004 07:25 AM
VMWare Linux Guest On XP Host PlatinumRik Linux - Networking 2 02-09-2004 08:05 PM
win xp host rh9 guest on vmware Rh9troublesme Linux - Newbie 1 08-19-2003 06:46 PM
VMware Linux guest on 2K host. seriaalportx Linux - Newbie 1 11-19-2002 07:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration