Xorg fails to start after installing the Hardware Enablement Stack due to missing symlink after purging old xserver-xorg
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | xorg (Ubuntu) |
Low
|
Unassigned | ||
| | xorg-lts-trusty (Ubuntu) |
Undecided
|
Unassigned | ||
| | xorg-lts-utopic (Ubuntu) |
Undecided
|
Unassigned | ||
| | xorg-lts-vivid (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
Bug:
The bug happens whenever the remaining configuration files of the original X stack is removed, ie purging. It does not happen for users who do not explicitly remove those.
Workaround:
For example, if upgraded 14.04 LTS to the 14.04.2 HWE stack (=14.10/utopic):
sudo dpkg-reconfigure xserver-
This restores the symlink /etc/X11/X -> /usr/bin/Xorg
---
After installing the hardware enablement stack on precise by running:
sudo apt-get install linux-generic-
Xorg fail to start. There is no error message or anything, just a black screen. Switching to a vt i possible and lightdm/x-0.log shows that a symlink is missing:
X: cannot stat /etc/X11/X (No such file or directory), aborting.
I updates two computers running precise x86_64 and both had the problem.
Just recreating the symlink fixes the problem and then precise runs perfectly fine with the new stack (in fact, it's more stable so far).
| summary: |
Xorg fail to start after installing the hardware enablement stack on - precise + precise due to missing symlink |
| tags: | added: precise |
| Launchpad Janitor (janitor) wrote : Re: Xorg fail to start after installing the hardware enablement stack on precise due to missing symlink | #1 |
| Changed in xorg-lts-quantal (Ubuntu): | |
| status: | New → Confirmed |
| Malte S. Stretz (mss) wrote : | #2 |
To reproduce this do the following:
1. Install Ubuntu 12.04
2. Upgrade to the LTS enablement stack
3. Purge the old config via aptitude purge ~c
This will remove the files /etc/X11/X and /etc/X11/xorg.conf (and maybe /etc/X11/
To fix this run (thanks to http://
sudo dpkg-reconfigure -phigh xserver-xorg
| Timo Jyrinki (timo-jyrinki) wrote : | #3 |
Confirming, just re-encountered this testing LTS-S enablement stack, after eventually cleaning the residual config packages via Synaptic.
| Changed in xorg-lts-raring (Ubuntu): | |
| status: | New → Confirmed |
| Changed in xorg-lts-saucy (Ubuntu): | |
| status: | New → Confirmed |
| Maarten Lankhorst (mlankhorst) wrote : | #4 |
dpkg-reconfigure xserver-
| Changed in xorg-lts-quantal (Ubuntu): | |
| importance: | Undecided → Low |
| Changed in xorg-lts-raring (Ubuntu): | |
| importance: | Undecided → Low |
| Changed in xorg-lts-saucy (Ubuntu): | |
| importance: | Undecided → Low |
| summary: |
Xorg fail to start after installing the hardware enablement stack on - precise due to missing symlink + precise due to missing symlink after purging old xserver-xorg |
| Malte S. Stretz (mss) wrote : Re: Xorg fail to start after installing the hardware enablement stack on precise due to missing symlink after purging old xserver-xorg | #5 |
Wouldn't this be fixable by non-ltsing the package xserver-xorg (which is only owner of the symlink and a bunch of conffiles anyway) and changing the depends of the other packages, mybe introducing an empty/virtual package for dependency resolution? It looks like xorg-renamed-
Not pretty but losing your X isn't pretty either.
| Dudan (d-tomasek) wrote : | #6 |
It happend to me on precise after:
install linux-generic-
and use ubuntu tweak janitor
Helps:
sudo dpkg-reconfigure -phigh xserver-
| Matthias Andree (matthias-andree) wrote : | #7 |
kernel upgrade, several cleanups of old kernels, dist-upgrade and boom.
The workaround of re-running dpkg-reconfigure on xserver-
| summary: |
- Xorg fail to start after installing the hardware enablement stack on + Xorg fails to start after installing the hardware enablement stack on precise due to missing symlink after purging old xserver-xorg |
| Flames_in_Paradise (ellisistfroh-deactivatedaccount) wrote : Re: Xorg fails to start after installing the hardware enablement stack on precise due to missing symlink after purging old xserver-xorg | #8 |
Missing a tag for LTS-Enablement-
| tags: | added: hw-specific |
| Tristan Schmelcher (tschmelcher) wrote : | #9 |
I hit this after upgrading from the Raring HWE stack to the Trusty HWE stack. Fixed by manually recreating the symlink. (Also ran "sudo dpkg-reconfigure -phigh xserver-
| jerico (jerico-dev) wrote : | #10 |
This happened to me simply by upgrading from Precise LTS to Trusty LTS on two independent machines and then purging residual config of left-over packages from Precise.
Reinstalling/
What about hacking the postrm scripts of conflicting packages to check whether a package that holds on to /etc/X11/X is still installed and fixing the issue there? Not a beautiful solution but better than leaving users without X after an upgrade...
| houstonbofh (leesharp) wrote : | #11 |
This bug just bit me when update the HME on Precise and removing old kernals. And digging for it is a chalange as googling most of the issues point to removing nvidia driver or flgrx drivers...
| tags: | added: regression-update |
| tags: | added: xorg-server |
| Changed in xorg-lts-trusty (Ubuntu): | |
| status: | New → Confirmed |
| tags: | removed: hw-specific |
| tags: | added: packaging |
| Naël (nathanael-naeri) wrote : | #12 |
This bug affected me too (on Precise LTS) after purging xserver-xorg residual config once I installed xserver-
I can confirm that reinstalling/
It took me a few hours to understand what was going on though. I agree with jerico that the bug is high impact and hard to debug for an average user.
It looks like it can affect anybody upgrading to Trusty LTS or Trusty HWE Stack.
I encountered the same problem when upgrading from 14.04.1 to 14.0.2 (Well, not yet released but from -proposed).
No X session, I had to recreate the symlink...
| Changed in xorg (Ubuntu): | |
| importance: | Undecided → High |
| assignee: | nobody → Maarten Lankhorst (mlankhorst) |
| status: | New → Triaged |
| Changed in xorg (Ubuntu): | |
| importance: | High → Low |
| Changed in xorg-lts-utopic (Ubuntu): | |
| status: | New → Confirmed |
| Maarten Lankhorst (mlankhorst) wrote : | #14 |
Solution 1: stop purging stuff..
Solution 2: Add fallback to /usr/bin/Xorg if solution 1 fails..
| Dennis Schridde (devurandom) wrote : | #15 |
Affects trusty with utopic hwe, too. Solution from comment #2 works.
| no longer affects: | xorg-lts-quantal (Ubuntu) |
| no longer affects: | xorg-lts-raring (Ubuntu) |
| no longer affects: | xorg-lts-saucy (Ubuntu) |
| description: | updated |
| Changed in xorg (Ubuntu): | |
| assignee: | Maarten Lankhorst (mlankhorst) → nobody |
| Timo Jyrinki (timo-jyrinki) wrote : | #16 |
Hmm, this may have been fixed now in the upcoming 14.04.3 LTS HWE upgrade, can anyone confirm?
That is, after purging the configuration files of -utopic packages, the link /etc/X11/X is removed but system continues to work.
I upgraded by temporarily enabling trusty-proposed updates and sudo apt install --install-
| Launchpad Janitor (janitor) wrote : | #17 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in xorg-lts-vivid (Ubuntu): | |
| status: | New → Confirmed |
| Naël (nathanael-naeri) wrote : | #18 |
Timo: I don't know exactly for the 14.04.3 LTS -utopic to -vivid HWE upgrade, but I can confirm this bug is still present for the 14.04.3 LTS -trusty to -vivid HWE upgrade.
I've just done a fresh install of 14.04.x LTS, using a PXE server so I'm not exactly sure what the x was in the image I used. On completion of the install and updates I was left with a 14.04.3 LTS and the original kernel and X server, i.e. linux-generic and xserver-xorg. I updated them to linux-generic-
I still believe this bug should not be left unfixed, but perhaps that's just me.
| summary: |
- Xorg fails to start after installing the hardware enablement stack on - precise due to missing symlink after purging old xserver-xorg + Xorg fails to start after installing the Hardware Enablement Stack due + to missing symlink after purging old xserver-xorg |
| Naël (nathanael-naeri) wrote : | #19 |
Removed "on precise" from bug title because it happens on trusty too.
| tags: | added: trusty |
| Naël (nathanael-naeri) wrote : | #20 |
Timo: sorry, I misread your comment, my bad. The symlink is gone, but indeed, as you mention, the system continues to work: X starts normally on the next boot. I wonder how.
Anyway, bug fixed, starting from when you update to -vivid HWE stack (xserver-
| Changed in xorg-lts-vivid (Ubuntu): | |
| status: | Confirmed → Fix Released |
| Naël (nathanael-naeri) wrote : | #21 |
I've just updated another computer's HWE stack from Trusty (xserver-xorg) to Vivid (xserver-
The /etc/X11/X symlink is still deleted when one purges the remnants of the previous stack, but X nevertheless starts normally at boot time.
I've changed the bug status to Fix Released for xorg-lts-vivid.
| Brian Murray (brian-murray) wrote : | #23 |
I tried recreating this today by installing the -lts-utopic, -lts-vivid, -lts-wily HWE stacks and then purging the 3.13 kernel (linux-
| Changed in xorg-lts-trusty (Ubuntu): | |
| status: | Confirmed → Invalid |
| Changed in xorg-lts-utopic (Ubuntu): | |
| status: | Confirmed → Triaged |
| Naël (nathanael-naeri) wrote : | #24 |
Still affects xorg-lts-trusty (for Precise users)
| affects: | xorg (Ubuntu) → ubuntu |
| affects: | ubuntu → xorg (Ubuntu) |
| Changed in xorg (Ubuntu): | |
| status: | Triaged → Invalid |
| Changed in xorg-lts-trusty (Ubuntu): | |
| status: | Invalid → Confirmed |
| Timo Aaltonen (tjaalton) wrote : | #25 |
utopic stack is EOL
| Changed in xorg-lts-utopic (Ubuntu): | |
| status: | Triaged → Won't Fix |
| Naël (nathanael-naeri) wrote : | #26 |
Still affects xorg-lts-trusty for the users of releases < Trusty LTS, but all of those releases e.g. Precise LTS are EOL now.
There is therefore no point in fixing this package, it won't be installed by anybody any more.
| Robie Basak (racb) wrote : | #27 |
> 13:47 <nael_> Hi guys, anybody from Bug Control here can please switch bug 1132736 xorg-lts-trusty from Confirmed to Won't Fix? Please see last comment for rationale. Thanks!
Users may still want to upgrade from an EOL release to a supported release though. Surely we should encourage this!
I think the bug sounds valid for Trusty still and an SRU to Trusty shouldn't be rejected on this basis if someone wants to contribute one. Won't Fix generally implies that we'd reject a fix even if were contributed, and I don't think that's the case here.
| Naël (nathanael-naeri) wrote : | #28 |
Sounds right. I just assumed that there wasn't any users of releases < Trusty any more, as all those releases are EOL. But actually there may still be, indeed.
Bug should stay Confirmed until Trusty itself is EOL.


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