Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Connect to a Network Share on GNOME Desktop

· 5 min read · Home Networking

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can connect to a network share (SMB/CIFS or NFS) from the GNOME desktop by using the built-in file manager, Nautilus. This allows you to access files stored on another computer, NAS device, or server directly within your graphical interface without needing complex terminal commands. Before starting, ensure the remote share is powered on, accessible on your local network, and that you have the correct username, password, and server address.

What You'll Need

  • A GNOME-based Linux distribution (e.g., Ubuntu, Fedora, Debian).
  • The remote server or NAS device must be running an SMB (Windows sharing) or NFS service.
  • Valid credentials (username and password) for the remote share.
  • The IP address or hostname of the remote server.
  • Basic network connectivity between your PC and the server.

Step-by-Step

  1. Open the Files Application: Click on your application menu (usually located at the bottom left or top center depending on your layout) and search for "Files" or "Nautilus." Open the application. If you have a pinned icon in your dock, click that instead.
  2. Navigate to Other Locations: In the left sidebar of the Files window, look for "Other Locations" near the bottom. Click on it. This view is designed specifically for network connections and mounted drives.
  3. Enter the Server Address: At the bottom of the screen, you will see a text field labeled "Connect to Server." Type the full path to the share. For SMB shares, use the format smb://server-ip-or-hostname/share-name. For example: smb://192.168.1.50/Documents. For NFS shares, use nfs://server-ip-or-hostname/path/to/share.
  4. Initiate Connection: Press Enter or click the arrow button next to the text field. GNOME will attempt to resolve the hostname and establish a connection.
  5. Authenticate: A dialog box will appear asking for authentication details. Select the appropriate user type. Usually, "Registered User" is correct. Enter the username and password provided by the network administrator or set up on the remote device. Check "Remember Password" if you want this to persist across reboots, but be aware this stores credentials in your keyring.
  6. Verify Access: Once authenticated, the share should appear in the main window as a folder. You can now browse, copy, paste, and edit files just like local storage. Note that some operations may be slower than local disk access due to network latency.

Common Mistakes

One frequent error is omitting the protocol prefix. If you simply type //192.168.1.50, GNOME may not recognize it. Always include smb:// or nfs://. Another common mistake is using the wrong port. Standard SMB uses port 445 and NFS uses port 2049; unless your network has non-standard configurations, do not append port numbers manually unless instructed by your admin. Additionally, users often try to mount shares via the GUI before ensuring the underlying system packages are installed. On minimal Linux installs, the cifs-utils package might be missing, causing connection failures.

Tips

To make recurring connections easier, save the bookmark. While viewing the connected share in Nautilus, press Ctrl+D or right-click the share icon in the sidebar and select "Add to Bookmarks." This places a permanent shortcut in your sidebar, bypassing the need to re-enter the address each time. For better performance with large files, ensure both your PC and the server are connected via Ethernet rather than Wi-Fi, as network shares are sensitive to packet loss. Also, consider mapping the share to a specific mount point in /etc/fstab for advanced users who prefer command-line persistence, though the GUI method is sufficient for most daily tasks.

Troubleshooting

If the connection fails, start with the simplest checks. First, verify that the server is online and reachable by pinging its IP address from a terminal (ping 192.168.1.50). If ping fails, check your physical network connection or firewall settings. Second, ensure the SMB/NFS service is enabled on the remote device. Third, check your credentials; a single typo in the password will cause immediate rejection. Fourth, verify that your Linux machine has the necessary utilities installed. On Debian/Ubuntu systems, run sudo apt install cifs-utils. On Fedora/RHEL, run sudo dnf install cifs-utils. If you still cannot connect, try accessing the share from a different device to isolate whether the issue is with your client or the server. Restarting the GNOME Shell (via Alt+F2, typing 'r', and pressing Enter) can also refresh network services if they have hung.

Frequently Asked Questions

Can I connect to a Windows shared folder?

Yes. Use the smb:// protocol followed by the Windows PC's IP address or NetBIOS name. Ensure File Sharing is enabled in Windows Settings and that the folder permissions allow your user account.

Why does my connection drop randomly?

This is often due to power-saving features on your network adapter or router timeouts. Try disabling energy-efficient Ethernet in your network settings or adjusting the idle timeout on the server side. Using a wired connection also reduces instability compared to Wi-Fi.

Is it safe to store passwords in GNOME?

GNOME uses the Keyring (Secret Service API) to store passwords, which is encrypted and tied to your login session. It is generally safe for home use, but avoid checking "Remember Password" on public or shared computers.

How do I disconnect a network share?

You can unmount it by right-clicking the share in the sidebar and selecting "Unmount Volume," or by clicking the eject icon next to the share name. The connection will terminate immediately.

Can I write to an NFS share?

Yes, provided the NFS server exports the directory with read-write permissions for your user ID. Ensure the UID/GID matches between your Linux client and the NFS server, or use root_squash appropriately configured on the server.