Another clue may be that this is a laptop, and I only see the problem when I'm docked with an external monitor setup (so I have two screens). I never see this problem without the external/dual screen. I have a desktop machine with only a single screen, but identical software setup, which stays up for weeks and never sees this problem.
I've attached the script I run (basically just call xplanet to generate a new image every 5min, and nautilus automatically picks it up), and I've added nautilus to the affected list. ** Attachment added: "desktop background update script" https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1045899/+attachment/3432200/+files/xplanet-gnome ** Changed in: xorg-server (Ubuntu) Status: New => Confirmed ** Changed in: nautilus (Ubuntu) Status: New => Confirmed -- 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/1045899 Title: Maximum number of clients reached Status in “nautilus” package in Ubuntu: Confirmed Status in “xorg-server” package in Ubuntu: Confirmed Status in “xserver-xorg-video-intel” package in Ubuntu: Confirmed Bug description: After repeatedly using nitrogen to set my background picture, the X11 server ceases to accept new connections. xlib reports "Maximum number of clients reached". nitrogen does not show up in ps or xlsclients. xlsclients reports only 18 clients. I filed it under xorg because even though nitrogen triggers the problem, it seems that the actual problem is a resource leak in the X11 server. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: xorg 1:7.6+12ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24 Uname: Linux 3.2.0-29-generic x86_64 .tmp.unity.support.test.0: ApportVersion: 2.0.1-0ubuntu12 Architecture: amd64 CompizPlugins: [core,composite,opengl,decor,place,gnomecompat,regex,session,snap,imgpng,compiztoolbox,grid,resize,unitymtgrabhandles,vpswitch,animation,mousepoll,move,expo,workarounds,ezoom,wall,fade,scale,unityshell] CompositorRunning: compiz CurrentDmesg: [ 32.636018] eth0: no IPv6 routers present [ 2928.394919] usb 2-1.2: USB disconnect, device number 3 [322743.209862] usb 2-1.2: new high-speed USB device number 4 using ehci_hcd Date: Tue Sep 4 11:40:53 2012 DistUpgraded: Fresh install DistroCodename: precise DistroVariant: ubuntu ExtraDebuggingInterest: Yes, even including gdb or git bisection work if needed GraphicsCard: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09) (prog-if 00 [VGA controller]) Subsystem: Intel Corporation Device [8086:2008] ProcEnviron: LANGUAGE=en_US:en TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-29-generic root=UUID=b6d8b206-ebe8-41a6-9c07-0e3d76854ac6 ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display UdevDb: Error: [Errno 2] No such file or directory UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 12/20/2011 dmi.bios.vendor: Intel Corp. dmi.bios.version: SWQ6710H.86A.0060.2011.1220.1805 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: DQ67SW dmi.board.vendor: Intel Corporation dmi.board.version: AAG12527-309 dmi.chassis.type: 3 dmi.modalias: dmi:bvnIntelCorp.:bvrSWQ6710H.86A.0060.2011.1220.1805:bd12/20/2011:svn:pn:pvr:rvnIntelCorporation:rnDQ67SW:rvrAAG12527-309:cvn:ct3:cvr: version.compiz: compiz 1:0.9.7.8-0ubuntu1.4 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.32-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.3+8.0.2-0ubuntu3.2 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.3+8.0.2-0ubuntu3.2 version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.7 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4.1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1045899/+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

