Please login or register.

Login with username, password and session length
Advanced search  


Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Howto: Easy Linux-to-Windows file sharing using thunar  (Read 6373 times)


  • Administrator
  • Vectorian
  • *****
  • Posts: 3332
Howto: Easy Linux-to-Windows file sharing using thunar
« on: March 02, 2009, 07:01:27 am »

This howto explains how to setup files / directories in a VectorLinux 6.0 machines for sharing on a local network. This howto assumes you are running the stock VectorLinux 6.0 with the xfce4 desktop environment, and thunar as the file manager.

This howto assumes you have already setup your samba server user accounts on the VectorLinux box.

Let's get started.

Install Necessary Software

Click on Menu -> System -> Gslapt
Gslapt will ask you for your root password, so feed it your root password
Once Gslapt is opened, click on Edit -> Preferences -> Sources
Once there, make sure the "testing" repository is enabled. See for example.
Click "OK" and then click the "Update" icon on the Gslapt main window. This will refresh your available software catalog.
In the search bar, type "thunar-shares-plugin"
Select the result that matches the search, click on the box under "status" and select "Install"
Click "Execute"
At this point you'll be presented with a confirmation window, click OK and it will install the required packages.

Before you can share
After the package is installed, you will need to log out of your current session, and log back in for your changes to take effect. The package should have warned your about that.

You also need to make sure your samba service is ran at startup for seamless operation, so here is how to do that.
Click on Menu -> System -> Vector Control Center
Again, feed it your root password.
Click "SERVICE" on the left panel
Click the "Services" icon on the right panel
Click on "4 Graphical User Interface Desktop"
Scroll down and you should see an entry for "Samba: Samba daemon"
Make sure the checkbox is ticked (enabled)
Click OK, and exit your way out back to the control center and close it out too.

Setting up shares

So you're ready to setup your shared files.
Click the "home" icon on your Desktop
Select any file or directory in that folder (you must be the owner of the file or directory before you can share it)
Right-click the file/dir -> Properties
Click the "Share" tab
Tick the "Share this file/folder" checkbox and any other sharing options below it.
See here

You are done.

Testing your shares

If you have a windows box running in the same network, you should be able to see your shared files now as usual from the windows box
You can test in a terminal by issuing the command
Code: [Select]
smbclient -L localhostand the terminal should ask you for a password (this is your samba user password... if you have not setup one just hit enter). Then the terminal will respond with something like this
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.33]

   Sharename       Type      Comment
   ---------       ----      -------
   IPC$            IPC       IPC Service (Samba Server)
   screenies       Disk     
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.33]

   Server               Comment
   ---------            -------
   LOGOS                Samba Server

   Workgroup            Master
   ---------            -------
   MYGROUP              LOGOS


  • I dont see my shared data
*  Make sure the samba service is running on the linux box
*  Make sure you are the owner of the files or directories you are trying to share (files or directories created by root in your home folder are not owned by you... they're owned by root
*  Make sure all of your boxes in the network are in the same workgroup (see /etc/samba/smb.conf and look for the line that says "Workgroup")

  • I followed this howto and my "share" tab is still not showing up
*  Try restarting your computer

If you have any questions, please ask in the appropriate section of the forum. DO NOT POST QUESTIONS IN THE HOWTO SECTION. I cannot stress that enough.
Enjoy ;)