Please support VectorLinux!

Author Topic: HOWTO share files with Windows computers using KDE in VL SOHO 5.1  (Read 5458 times)


  • Administrator
  • Vectorian
  • *****
  • Posts: 4459
How to share files with Windows computers using KDE in VL SOHO 5.1

The required software is installed by default in this version of Vector Linux.

First of all, default firewall rules interfere with easy network browsing. To disable it:
Click "Start" (the blue "V" in lower left hand corner of screen).
Next, click "System", then "Vector System Configurator (VASM)"
When in VASM:
Double-click "Super"
 You will be asked to supply the root (administrator) password
Double-click "NETWORK", then "FIREWALL", then "DISABLE"
Back out of VASM by clicking "Cancel" until it's gone.

To replace it with Guarddog firewall, read this:

To see Windows computers with shared folders:

If your shared network folders require a user name and password, first do this:
Click "Start" then "Control Center"
Click "Internet and Network" then "Local Network Browsing"
Click the tab labeled "Windows Shares"
Type in your username and password
Click "Apply" and exit out of Control Center.

Browse your network:
Click the icon to the right of the "Start" button that looks like a globe with spikes.
Click "Network Folders"
Click "Samba Shares"
 You should see a list of available workgroups
Click on a workgroup, a computer, and finally on a folder.

Another way to get to the network:
Click "Start" then "Personal Files (home)"
in the address bar, type
and hit the "Enter" key.

To share your folders for others to see, but not write or change:

Enable sharing and designate shared folders:
Click Start > Control Center > Internet and Network > File Sharing
Click the button for Administrator Mode
 supply the root password
Check the box for "Enable local network file sharing"
Select "Simple Sharing"
Click the "Add" button
In the new window, click the browse button (blue folder to the right of the address field)
Click your way to the folder you want to share and click "OK".
Check the box for "Share with Samba (Microsoft(R) Windows(R))"
Type in the name you want to use
Check the box for Public. (See below in "Advanced Configuration" for the "Writable" box)
Click "OK" three times to exit.
It will take a few minutes before Windows discovers your Linux box and displays it.

Change workgroup name.

Click Start > System > More Applications > File Manager - Super User Mode
 supply the root password
Click the UP arrow on upper tool bar until it is grayed out
In the main window on the right, click "etc", then "samba"
Click the file "smb.conf" It should open in a text editor.
Scroll down to about line 21 and find this:
workgroup = WORKGROUP
Change "WORKGROUP" to whatever your Windows machines use, like "MSHOME" or similar.
Click File > Save, then exit.
Reboot to activate change.

Advanced Configuration: Enable file write.

At this point, things get more complicated. Samba has numerous options. I will only touch on one example where you will give write access for the current user account. The same username/password combination must be used on the remote machine.

First, enable the network user.
Click "Start" > "System" > "More Applications" > "Terminal Program - Super User Mode"
 you will need to supply the root password
Type the following line:
smbpasswd -a your_user_name_here
hit the "Enter" key
 type in your password when it asks for it
Click the "X" in upper right hand corner to exit out of Terminal
reboot to activate change.

At this point you can check the "Writable" box in your share properties and get write access.

Additionally, you will have unrestricted access to your home folder.
If you want to disable this feature:
Open /etc/samba/smb.conf for editing as described above in "Change workgroup name".
Scroll down to about line 162, "Share definitions".
Put a semicolon at the beginning of the lines for the [homes] section, like this:
;comment = Home Directories
;browseable = no
;read only = no
Click File > Save, then exit.
Reboot to activate change.