• Home
  • How-To/Tips
  • Linux
  • Windows
  • About Us
  • Contact Us

Liberian Geek

Share Your Home Folder in Ubuntu 11.04 (Natty Narwhal)

Ubuntu Maverick ImageThis simple tutorial shows you how to share your home directory and access it remotely from another computer. This tutorial could be applied on most Linux systems today, but I am only going to show you how it works in Ubuntu. When you share your home directory, all contents in that directory will be made available remotely from any system that uses Samba or Microsoft Server Message Block (SMB) protocol.

 

Getting started:

 

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. Then install Samba by running the command below:

sudo apt-get install samba smbfs

natty_samba_home_share_2

 

After installing samba, run the command below to edit smb.conf file.

gksu gedit /etc/samba/smb.conf

natty_samba_home_share_4

 

When smb.conf file opens, look just below #### Authentication ### and uncomment the line ( # ) security = user

 

natty_samba_home_share_3

 

Next, scroll down and uncomment ( ; ) the lines shown below and save the file.

 

natty_samba_home_share_1

 

Next, add your user account to Samba Database by running the command below:

sudo smbpasswd -a USERNAME

natty_samba_home_share_5

Replace USERNAME with your Ubuntu username. It will prompt you to create a new password for Samba, create it.

 

 

From a remote computer Windows computer, select ‘Run –> Start’ and type the line below:

\\UbuntuComputerName\UERNAME

natty_samba_home_share_6

 

 

Enjoy!

 

natty_samba_home_share_7

 

If you don’t connect right away, restart Samba by running the command below:

sudo /etc/init.d/smbd restart

You may also like:

  • How to Install Google Earth in Ubuntu 11.04 (Natty Narwhal)
  • Enable Filesharing Between Windows Visa, 7 and Ubuntu 11.04 Natty Narwhal
  • A Quick Way to Share Folders in Ubuntu 11.10 (Oneiric Ocelot)
  • Change Workgroup Name in Ubuntu 11.04 (Natty Narwhal)
  • A Quick Way To Share And Access Ubuntu’s Files/Folders from Windows

Home > How-To/Tips, Linux, Windows - 1 April 2011
Tweet

  1. Russ says:
    May 30, 2011 at 10:31 AM

    Nice simple tutorial that did the trick (I thought I knew what I was doing with Samba)…

    Well written and good use of screenshots. Many thanks :-)

  2. Problems updating/installing samba4 in Ubuntu 11.04? Read here! | Martin Falatic’s Techno Blog says:
    June 6, 2011 at 8:14 PM

    [...] There’s some useful info on this page about configuring Ubuntu 11.04 Samba so as to play nice with Windows. Also, your smb.conf is [...]

  3. Terry says:
    September 3, 2011 at 12:09 AM

    How to share files on your desktop in Ubuntu 10.04

    Create a folder on your desktop called “sharetest”. Please leave out the inverted commas.
    let us say you want to share a folder called “sharetest” on your desktop. You will have to go to the SAMBA configuration file. This configuration file is found in, /etc/samba/smb.conf. To edit the SAMBA configuration file, ie. the smb.conf, PRESS alt+F2 at the same time. Type the command gksudo gedit/etc/samba/smb.conf. The SAMBA configuration file will open up. If you get a black page, something went wrong.

    Now at the end of the SAMBA configuration file, that is the “samba.conf”. Insert these lines.
    ______________________________________________
    [sharetest]
    comment = testing the share
    path = /home/gavaskar/Desktop/sharetest
    browseable = yes
    read only = no
    guest ok = no
    force user = gavaskar
    _______________________________________________

    I have an account called gavaskar, so my force user = gavaskar. In my global settings I have this as well as “guest = force user”, without inverted commas. In my global settings I also have this, “usershare owner only = false”, without inverted commas.







Subscribe Here !

Enter your email address:

    © 2009-2012 Liberian Geek. Richard Worloma

    Privacy Policy

    ↑ Top