Debian Bug report logs - #918574
gnome-shell: loops with "failed to bind to /tmp/.X11-unix/X<number>: No such file or directory"

Package: gnome-shell; Maintainer for gnome-shell is Debian GNOME Maintainers <[email protected]>; Source for gnome-shell is src:gnome-shell (PTS, buildd, popcon).

Reported by: Robert Stone <[email protected]>

Date: Mon, 7 Jan 2019 13:57:06 UTC

Severity: normal

Full log


Message #17 received at [email protected] (full text, mbox, reply):

Received: (at 918574) by bugs.debian.org; 13 Jan 2019 00:01:41 +0000
From [email protected] Sun Jan 13 00:01:41 2019
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-19.5 required=4.0 tests=BAYES_00,FOURLA,
	FROMDEVELOPER,RCVD_IN_DNSWL_MED,TXREP autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 134; spammy,
	0. spammytokens: hammytokens:0.000-+--H*F:U*smcv, 0.000-+--H*u:1.10.1,
	0.000-+--H*UA:1.10.1, 0.000-+--H*u:2018-07-13, 0.000-+--H*UA:2018-07-13
Return-path: <[email protected]>
Received: from illusion.pseudorandom.co.uk ([93.93.129.19])
	by buxtehude.debian.org with esmtp (Exim 4.89)
	(envelope-from <[email protected]>)
	id 1giTDg-000898-RN
	for [email protected]; Sun, 13 Jan 2019 00:01:41 +0000
Received: by illusion.pseudorandom.co.uk (Postfix, from userid 1000)
	id 01CCA12231A; Sun, 13 Jan 2019 00:01:38 +0000 (GMT)
Date: Sun, 13 Jan 2019 00:01:24 +0000
From: Simon McVittie <[email protected]>
To: Robert Stone <[email protected]>, [email protected]
Subject: Re: Bug 918574: gnome-shell: loops with "failed to bind to
 /tmp/.X11-unix/X<number>: No such file or directory"
Message-ID: <[email protected]>
Reply-To: [email protected]
References: <CAOxukr5Fv+kw2LXvdijAMD1JWWxGrSmEya4qLgg28CoU0GcWBg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAOxukr5Fv+kw2LXvdijAMD1JWWxGrSmEya4qLgg28CoU0GcWBg@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Control: retitle -1 gnome-shell: loops with "failed to bind to /tmp/.X11-unix/X<number>: No such file or directory"

On Sat, 12 Jan 2019 at 13:51:11 +0000, Robert Stone wrote:
> I'd appreciate somebody looking at this problem as I cannot use my laptop.

Sorry, I don't have any special insight into this problem or why it has
happened to you. It's often not possible for developers to solve a bug
that can't be reproduced on a system under their control.

Yours is the only report I've seen of a similar situation, so this is
probably something specific to your particular system configuration.
I'll try to give some hints about how to narrow this down to something
actionable (either fixing local misconfiguration or finding a bug that can
be fixed), but the Debian bug tracking system is not really a technical
support helpline.

Jason Crain left a message on the bug that might provide some clues:
> The first question that comes to my mind is whether there is something
> that prevents access to /tmp. Whether the filesystem is mounted readonly
> or perhaps something else is preventing write access to /tmp.

Booting the system into a mode that does not attempt to start GNOME might
provide useful information. To do that, select

    Advanced options for Debian GNU/Linux
        -> Debian GNU/Linux, with Linux [some version] (recovery mode)

from the boot menu, or edit the kernel command line in the boot menu
and add "systemd.unit=multi-user.target" (without the quotes) for a
relatively fully-featured text mode, or "single" (single-user mode)
for the same thing as the "recovery mode" in the menu.

Another way to get a basic command prompt is to tell systemd to boot
in rescue mode or in emergency mode, as described here:
https://www.linuxtechi.com/boot-ubuntu-18-04-debian-9-rescue-emergency-mode/

After you are able to get to a command prompt, you could try installing a
different graphical environment like XFCE, or a different display manager
like xdm, to see whether that one worked any better. However, if there
is something wrong with /tmp on your system then I would expect that all
graphical environments would fail similarly (they all use /tmp/.X11-unix
in the same way).

If /tmp isn't read-only, another possibility is that /tmp/.X11-unix is
a symbolic link to somewhere that doesn't exist. If that's the problem,
deleting it should resolve the situation.

Good luck,
    smcv



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:31:50 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.