Linux, accessing Windows shares

You can access shared Windows directories (including your homedirectory), as well as the standard shared Windows drives S: and T:, in Linux in one of three ways: using the GNOME graphical user interface, using the KDE graphical user interface, or using the command line.

You might want to do this to access the shared drives as available to Windows users (S:\, T:\), but the method as described works for any Windows share on the network.

Common windows drives and their full details are:

  • S:\ maps to server winfiler, share common.
  • T:\ maps to server winfiler, share public.

Also regularly available shares, not regularly mapped as a drive letter:

Graphical way - GNOME desktop

This description applies to the default GNOME desktop.

  1. Choose the "Places" menu, "Connect to Server..." item.
  2. Fill in the screen that will appear as follows:
  3. Choose "Windows share" as server type.
  4. Enter the desired server name (see above).
  5. Enter the desired share name (see above).
  6. Enter your Windows login name (this might differ from your Linux login name).
  7. Enter TUE as the domain name.
  8. You can invent a name to use for the connection yourself.
  9. Click "Connect" to create a shortcut on your desktop.
  10. Double click on the created shortcut to open a window that asks you for your password.
  11. Depending on your level of paranoia, choose one of the provided options, and enter your Windows password (again, this might differ from your Linux password).
  12. A file explorer window will open with the files visible.

Graphical way - KDE desktop

This description applies to the default KDE desktop.

  1. Choose the "KDE" menu, "Home" item.
  2. Enter smb://servername/sharename in the location bar at the top of the Konqueror window that appears; see above for a list of common server and share names.
  3. Enter your Windows username and password (this might differ from your Linux password) in the dialog box that appears:
  4. The Konqueror window will be updated with the contents of the chosen server and share, as well as your username:
  5. To create a shortcut on your desktop to this server, drag the icon in front of the location to your desktop.
Command line

The more laborious way involves using the command line program smbclient (part of Samba). The command is:

smbclient '//server/share' -W TUE -U username

where username is your Windows username. You will be prompted for your Windows password.

See above for a list of commonly used servers and shares.


Contact us | Webmaster

Questions? Mail to helpdesk.win@tue.nl