Share Ubuntu folders with Windows (samba)
I just bought a Asus Eeepc 900 yesterday and had to settle for the Windows version.
Since these netbooks come with limited hard drives (ssd actually) I have to access my music and videos from my Ubuntu desktop.
I already have a ssh server running for my other laptop but setting up ssh in Windows isn’t all that.
In comes Samba.
The last time I tried Samba (Ubuntu Feisty) I had some trouble setting it up, but luckily this has changed.
(this will for for Xp and Vista, I’m using Ubuntu 8.10 RC for this but Hardy should work exactly the same)
Right click any folder and you’ll see the option to share it. When you do this the first time you’ll be prompted to install the service.
After it’s installed you’ll be asked to log out and back in.
When you are back in, you would think that you’ll just right click the folder and share it, but that isn’t the case.
I only got it working when I started nautilus as root.
So press “alt + f2” and enter “gksudo nautilus”.
You now started nautilus as root, in the left plane press “file system” press the home folder and you’ll see your usual folders.
Now you can right click them and share them.
Close the file browser now, don’t use the root file browser for normal tasks.
Now for the windows side, the easiest thing to do is create a desktop shortcut.
Right-click your desktop, press new and create a new shortcut.
The location you are going to enter is
If you are not sure what your host name is, simply open a terminal (applications, accessories, terminal) and you’ll see your hostname after the @ sign.
(note: can also enter that command from the cmd if you don’t like shortcuts)
Now press the icon on your Windows desktop and you’ll be prompted for a username and password. Those are the same ones you log into Ubuntu with.