Maximum number of clients reached: Failed to open display

Bug #924304 reported by Juan Simón
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

From time to time this error is repeated in gnome-shell whrn I try to open a new program:

Maximum number of clients reachedFailed to open display
Maximum number of clients reachedMaximum number of clients reached/usr/lib/libreoffice/program/soffice.bin X11 error: Can't open display:
   Set DISPLAY environment variable, use -display option
   or check permissions of your X-Server
   (See "man X" resp. "man xhost" for details)

To solve it I have to reopen the session.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xorg 1:7.6+7ubuntu7.1
ProcVersionSignature: Ubuntu 3.2.0-10.17-i7 3.2.1-ck1
Uname: Linux 3.2.0-10-i7 x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 290.10 Wed Nov 16 17:39:29 PST 2011
 GCC version: gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
.tmp.unity.support.test.0:

ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,imgpng,gnomecompat,mousepoll,vpswitch,place,snap,regex,move,grid,unitymtgrabhandles,wall,resize,session,animation,workarounds,expo,fade,ezoom,scale,unityshell]
CompositorRunning: None
Date: Tue Jan 31 14:59:15 2012
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 290.10, 3.2.0-10-i7, x86_64: installed
 nvidia-current, 290.10, 3.2.0-8-i7, x86_64: installed
 vboxhost, 4.1.8, 3.2.0-10-i7, x86_64: installed
 vboxhost, 4.1.8, 3.2.0-8-i7, x86_64: installed
ExtraDebuggingInterest: I just need an easy workaround
GraphicsCard:
 nVidia Corporation GT216 [GeForce GT 220] [10de:0a20] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Giga-byte Technology Device [1458:34d6]
JockeyStatus:
 xorg:nvidia_current - Controlador para tarjetas gráficas NVIDIA (Privativo, Activado, En uso)
 xorg:nvidia_current_updates - Controlador de gráficos acelerados de NVIDIA (actualizaciones post-lanzamiento) (Privativo, Desactivado, No está en uso)
MachineType: Gigabyte Technology Co., Ltd. X58A-UD5
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-10-i7 root=UUID=b29ba7a7-8e7a-4830-b8e1-907cdfe1c663 ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
XorgConf:
 Section "Device"
  Identifier "Default Device"
  Option "NoLogo" "True"
 EndSection
dmi.bios.date: 02/01/2011
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FD
dmi.board.name: X58A-UD5
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrFD:bd02/01/2011:svnGigabyteTechnologyCo.,Ltd.:pnX58A-UD5:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnX58A-UD5:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: X58A-UD5
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu6.1
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

Revision history for this message
Juan Simón (simonbcn) wrote :
Revision history for this message
Juan Simón (simonbcn) wrote :
Download full text (3.4 KiB)

Right now this problem is happening again.
I've executed this python script: http://lists.fedoraproject.org/pipermail/test/2009-May/081959.html
And this is the result:
gnome-session 17176 simon 3u unix 0x0000000000000000 0t0 111483193 socket
dbus-launch 17215 simon 3u unix 0x0000000000000000 0t0 111485014 socket
dbus-launch 17215 simon 8u unix 0x0000000000000000 0t0 111484348 socket
gnome-screensav 17251 simon 3u unix 0x0000000000000000 0t0 111485111 socket
gnome-shell 17253 simon 6u unix 0x0000000000000000 0t0 111485124 socket
pulseaudio 17262 simon 29u unix 0x0000000000000000 0t0 111479309 socket
gnome-shell-goo 17283 simon 4u unix 0x0000000000000000 0t0 111484596 socket
wally 17294 simon 6u unix 0x0000000000000000 0t0 111484587 socket
wally 17294 simon 8u unix 0x0000000000000000 0t0 111484591 socket
kupfer 17295 simon 4u unix 0x0000000000000000 0t0 111485411 socket
thunderbird-bin 17300 simon 4u unix 0x0000000000000000 0t0 111486117 socket
gpasted 17310 simon 3u unix 0x0000000000000000 0t0 111484668 socket
python 17312 simon 4u unix 0x0000000000000000 0t0 111484676 socket
shutter 17317 simon 4u unix 0x0000000000000000 0t0 110410686 socket
gnote 17319 simon 3u unix 0x0000000000000000 0t0 110410685 socket
dropbox 17327 simon 10u unix 0x0000000000000000 0t0 111484856 socket
zim 17343 simon 15u unix 0x0000000000000000 0t0 111479208 socket
python 17457 simon 33u unix 0x0000000000000000 0t0 111467260 socket
gdu-notificatio 17655 simon 3u unix 0x0000000000000000 0t0 111485653 socket
applet.py 17784 simon 6w unix 0x0000000000000000 0t0 111486223 socket
gwibber-service 17786 simon 11u unix 0x0000000000000000 0t0 111485834 socket
ubuntuone-syncd 17842 simon 26u unix 0x0000000000000000 0t0 111486235 socket
gwibber-service 17844 simon 11u unix 0x0000000000000000 0t0 111485834 socket
gwibber-service 17845 simon 11u unix 0x0000000000000000 0t0 111485834 socket
gwibber-service 17846 simon 11u unix 0x0000000000000000 0t0 111485834 socket
gwibber-service 17847 simon 11u unix 0x0000000000000000 0t0 111485834 socket
gwibber-service 17848 simon 11u unix 0x0000000000000000 0t0 111485834 socket
gwibber-service 17849 simon 11u unix 0x0000000000000000 0t0 111485834 socket
gwibber-service 17850 simon 11u unix 0x0000000000000000 0t0 111485834 socket
gwibber-service 17851 simon 11u unix 0x0000000000000000 0t0 111485834 socket
update-notifier 17963 simon 3u unix 0x0000000000000000 0t0 111489025 socket
firefox 30571 simon 4w unix 0x0000000000000000 0t0 161112423 socket
firefox 30571 simon 85u unix 0x0000000000000000 0t0 162084827 socket
gnome-settings- 31023 simon 3u unix 0x0000000000000000 0t0 161861436 socket
plugin-containe 31170 simon 13u unix 0x0000000000000000 0t0 162084827 socket

But when I execute:
$ xlsclients
Maximum number of clien...

Read more...

bugbot (bugbot)
affects: xorg (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
bugbot (bugbot)
tags: added: precise
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
Revision history for this message
angus73 (angus73) wrote :

Same happens to me in Ubuntu 15.04

Revision history for this message
Alexander (aleks-sidorenko) wrote :

Same for me on Ubuntu 15.04. Driver: nvidia 346.96

Revision history for this message
angus73 (angus73) wrote :

I found that for me the problem is related to wally (v 2.4.5, a desktop wallpaper changer). If I don't run it, the bug doesn't show.

Revision history for this message
DH (dave-higherform) wrote :

Now seeing this bug on Ubuntu 16.04 with LibreOffice 1:5.1.4-0ubuntu1 from Ubuntu repositories.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.