Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: How to network share on Lubuntu

  1. #1
    Join Date
    Nov 2008
    Location
    Sussex, England
    Beans
    871
    Distro
    Lubuntu

    Smile How to network share on Lubuntu

    Having spent several evenings trying to work this out, I thought I'd share this information with you.

    First let me say that Lubuntu is a lightweight version of Ubuntu, so there is not much point in loading it up with unnecessary packages. If you just want to share printers on a Linux network, you don't need Samba. And if you just want a way that users can "push" files to others on a network, use Giver (+ Avahi) as this is a better option. Especially as it sorts out file permissions for you.

    To enable file sharing on a Lubuntu 10.10 machine, go to Preferences > Synaptic Package Manager and add the following:-
    * samba
    * system-config-samba
    * gvfs-bin
    * gvfs-backends
    ...accepting any dependancies, 11 packages in total.

    I suggest you re-boot now.

    As an initial test, go to file manager (pcmanfm) and enter:-
    smb://localhost
    You should see the local print$ folder listed.

    To access folder shares remotely
    * open file manager (pcmanfm)
    * enter the IP address or computer name of the machine you wish to access
    e.g. smb://192.168.0.99 or smb://print-server

    To share a folder:-
    Go to: Preferences > Samba (enter password when requested)
    In the Samba Configuration screen:-
    * File > Add Share
    * use Browse... to select folder to be shared
    * Tick "Visible" and (if required} "Writable"
    * In the "Access" select "Allow access to everyone"
    Set the Linux permissions:-
    * locate the folder to share in file manager
    * right click on the folder and select Properties > Permissions
    * set the required permissions, e.g. Other: Read & Write (to allow anyone full access)

    Happy networking!

    For Lubuntu 11.xx: you also need to install: python-glade2
    Last edited by SteveDee; December 15th, 2011 at 09:47 AM. Reason: Lulu 11.xx needs glade

  2. #2
    Join Date
    Nov 2008
    Location
    Sussex, England
    Beans
    871
    Distro
    Lubuntu

    Smile Create a "Network" bookmark

    Quote Originally Posted by SteveDee View Post
    ...To access folder shares remotely...
    If you have installed Samba on Lubuntu, don't forget that you can access your network with a user friendly bookmark like this:-
    - open the file manager (PCManFM)
    - access your network by typing "smb://" in the address bar (there should now be a folder displayed with the name of your workgroup)
    - Select from menu Bookmarks > Add to Bookmarks
    - In the "Add to Bookmarks" dialog, change "smb://" to something friendly like "Network"
    - Click OK, and your bookmark should appear in the list.

  3. #3
    Join Date
    Aug 2010
    Location
    Dhaka,Banladesh
    Beans
    141
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: Create a "Network" bookmark

    Thank's a lot.
    But I am getting error when I try to write file from remote computer. It is telling permission denied. But I have give write permission.
    Love Open Source. Ubuntu Rocks.
    Computing in Native Language for Life time.
    FOSS Bangladesh.
    2048R/89C932E1

  4. #4
    Join Date
    Jun 2009
    Beans
    262
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to network share on Lubuntu

    Linux system permissions take precedence over Samba permissions.
    Default umask 022 for regular users is only writeable by owner.
    Verify shared folder is writeable by others.
    Code:
    ls -la  /path/to/shared/folder/on/local/computer
    Last edited by cavalier911; January 30th, 2011 at 09:11 PM.

  5. #5
    Join Date
    Nov 2008
    Location
    Sussex, England
    Beans
    871
    Distro
    Lubuntu

    Smile Re: How to network share on Lubuntu

    Quote Originally Posted by cavalier911 View Post
    Linux system permissions take precedence over Samba permissions....
    Thanks Cavalier911, you are absolutely right! I have now updated Post#1 to cater for this.

  6. #6
    Join Date
    Aug 2010
    Location
    Dhaka,Banladesh
    Beans
    141
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: How to network share on Lubuntu

    I have not understand,what you are saying. Please tell in details.
    Love Open Source. Ubuntu Rocks.
    Computing in Native Language for Life time.
    FOSS Bangladesh.
    2048R/89C932E1

  7. #7
    Join Date
    Jun 2009
    Beans
    262
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to network share on Lubuntu

    Follow this for folder your sharing in samba:
    Quote Originally Posted by SteveDee View Post
    Set the Linux permissions:-
    * locate the folder to share in file manager
    * right click on the folder and select Properties > Permissions
    * set the required permissions, e.g. Other: Read & Write (to allow anyone full access)

  8. #8
    Join Date
    Aug 2010
    Location
    Dhaka,Banladesh
    Beans
    141
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: How to network share on Lubuntu

    Its work. Thank you.
    Love Open Source. Ubuntu Rocks.
    Computing in Native Language for Life time.
    FOSS Bangladesh.
    2048R/89C932E1

  9. #9
    Join Date
    Oct 2006
    Location
    Florence, Italy
    Beans
    166

    Re: How to network share on Lubuntu

    Thank you very much for the guide. Samba is under "System tools" in 11.10.

  10. #10
    Join Date
    Oct 2009
    Beans
    164

    Re: How to network share on Lubuntu

    Quote Originally Posted by SteveDee View Post

    To enable file sharing on a Lubuntu 10.10 machine, go to Preferences > Synaptic Package Manager and add the following:-
    * samba
    * system-config-samba
    * gvfs-bin
    * gvfs-backends
    ...accepting any dependancies, 11 packages in total.
    I have installed these packages on 11.10, but when trying to open Samba, after being prompted for password, all I get is a window flashing by on the screen for a fraction of a second... but nothing else.

    Samba does not start/work. Ideas?

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •