Summary of previous comments:
- blank files (#25, #31) or partial copies of .Xauthority (#11, #15, #26 / #28, 
mine too)
- in Ubuntu and Xubuntu (files shown by Nautilus, Thunar and ls; no file 
manager problem)
- created on direct shutdown (but not logout -> shutdown)

Workaround: put 'sh -c "rm ~/.goutputstream-*"' (without the single
quotes) into autorun

My Software:
- Ubuntu 12.04 amd64 (up-to-date)
- file-roller installed but usually not running (also not running on shutdown: 
see below)
- No gtk-recordmydesktop, Dropbox or UbuntuOne.


I tried to find out which software is creating these files. I used (e.g.) 
inotifywait (package inotify-tools) and lsof, but it didn't work out. Probably 
the .goutputstream-* files are open only very short (too short for my script to 
catch it although run with niceness -19).

Then I simply logged all processes running with my UID (1000) in an
endless loop (i.e. until the script was terminated because of shutdown).
I'll attach the script and its shortened output (removed duplicate
blocks with no changes in process list and many blocks at the
beginning).

The output also contains a line stating "FILE CREATED!!!" when the
~/.goutputstream-* file is created. Just before / after this gnome-
session quits and lightdm is started by UID 1000 (not root as usual). I
don't know, why it is started, but it is also the next process which
quits.

lightdm also uses the ~/.Xauthority file. See
strings `which lightdm` | grep -iE 'output|xauth'
and the source code of lightdm:
grep -ri xauthority /path/to/source/of/lightdm-1.2.1/src/

lightdm is used by Ubuntu and Xubuntu, but not Kubuntu. This fits to the
previous comments.


Maybe also related: GIO (part of glib)
http://developer.gnome.org/gio/2.30/GOutputStream.html

Get own processes using this:
ps -o comm= -U 1000 -u 1000 | while read cmd; do file=$(which "$cmd") || 
file=$(locate -b "$cmd*"); strings -af $file | grep -E ': g.*output.*stream'; 
done > search.out


I assume it's a problem with lightdm, but I can't fix it. I hope my information 
helps.

** Attachment added: "ps-log.sh"
   
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/984785/+attachment/3155847/+files/ps-log.sh

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

Title:
  .goutputstream files polluting $HOME

Status in Light Display Manager:
  New
Status in “nautilus” package in Ubuntu:
  Confirmed
Status in “nautilus” source package in Precise:
  Confirmed

Bug description:
  .goutputstream files polluting $HOME.
  Which software or operation is creating these and why?

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: xauth 1:1.0.6-1
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  NonfreeKernelModules: nvidia & ati
  ApportVersion: 2.0.1-0ubuntu4
  Architecture: amd64
  Date: Wed Apr 18 13:29:31 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin"
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: xauth
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/984785/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to