From: Steven Hirsch Subject: Suspected problem w/ autofs and xauth Date: Sun, 16 Nov 2008 12:36:09 -0500 (EST) Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII To: linux-fsdevel@vger.kernel.org Return-path: Received: from union.burlingtontelecom.net ([204.13.40.92]:40899 "EHLO mail.burlingtontelecom.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751969AbYKPR44 (ORCPT ); Sun, 16 Nov 2008 12:56:56 -0500 Received: from duo.fast.net (65-183-141-160-dhcp.burlingtontelecom.net [65.183.141.160]) by mail.burlingtontelecom.net (Postfix) with ESMTP id 982E835F73E for ; Sun, 16 Nov 2008 12:36:09 -0500 (EST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: I've been battling with an extremely annoying issue that I believe is related to autofs. My home directory is mounted over NFS using autofs 4.1.4 (as supplied with Kubuntu Hardy). I've used this setup for years over perhaps a dozen different distributions without any particular problems. Since moving to the Hardy distro, the problem is this: If I leave the system idle at the KDE desktop for more than a few minutes, any and all attempts at opening new windows fail with an error that they cannot obtain X authorization. If I simply do an 'ls' in my home directory and try again, it works fine. I believe this is being caused by the automounter timing out, but I do not find any log messages from the automounter under any circumstances, so it's difficult to prove. If I do an strace on the X application, it appears to be unable to read ~/.Xauthority (which is there and can be read after triggering a remount). Is it possible that autofs behavior changed in a manner such that a stat of ~/.Xauthority is no longer sufficient to trigger the mounter? Any suggestions (or even WAGs) appreciated. I'd love to swat this annoyance. Steve --