← Back to team overview

desktop-packages team mailing list archive

[Bug 1323584] Re: Nautilus crashes when accessing already mounted samba share

 

Microsoft servers drop idle connections after 15 minutes.  This behavior
can be disabled by this command as administrator (details:
http://support.microsoft.com/kb/297684).

net config server /autodisconnect:-1

Alternatively, adding the following script to the gnome startup
applications keeps the connections alive.

#!/bin/bash
while true
do
    ls /run/user/`id -u`/gvfs/smb-share:* &> /dev/null
    sleep 600
done

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1323584

Title:
  Nautilus crashes when accessing already mounted samba share

Status in “gvfs” package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 14.04 LTS
  gvfs: 1.20.1-1ubuntu1

  How to reproduce:

  1. Open a Nautilus window.
  2. Navigate to a Samba share.
  3. A new entry for the share appears under Network in the left side panel.
  4. Wait 10-30 minutes, do some other work.
  5. Go back to Nautilus and click on the Samba share.

  Expected result: The content of the Samba share is displayed in
  Nautilus.

  Actual result: I get the following error message in an alert box:

  Oops! Something went wrong.
      Unhandled error message: The connection is closed

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gvfs 1.20.1-1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
  Uname: Linux 3.13.0-27-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  Date: Tue May 27 12:15:40 2014
  InstallationDate: Installed on 2013-07-22 (308 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  ProcEnviron:
   LANGUAGE=hu
   TERM=xterm
   PATH=(custom, no user)
   LANG=hu_HU.UTF-8
   SHELL=/bin/bash
  SourcePackage: gvfs
  UpgradeStatus: Upgraded to trusty on 2014-05-07 (19 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1323584/+subscriptions