LightDM fails to start after removing nvidia-prime
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-prime (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I installed nvidia-prime to try it, but later decided to stick to bumblebee. I removed (apt-get remove nvidia-prime). On the next reboot, lightdm failed to start: I was dropped to a blank screen with no error messages.
On investigating, I found this line in lightdm.log:
[+1.18s] DEBUG: Launching process 1486: /sbin/prime-switch
[+1.18s] CRITICAL: g_setenv: assertion 'value != NULL' failed
[+1.18s] CRITICAL: g_setenv: assertion 'value != NULL' failed
[+1.18s] WARNING: Error executing child process /sbin/prime-switch: No such file or directory
I did "apt-get remove --purge nvidia-prime", and things worked fine next reboot. Attaching complete lightdm.log.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nvidia-prime (not installed)
ProcVersionSign
Uname: Linux 3.13.0-14-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Mar 3 19:56:54 2014
InstallationDate: Installed on 2014-01-24 (38 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140121.1)
SourcePackage: nvidia-prime
UpgradeStatus: No upgrade log present (probably fresh install)
you need to purge to revove the configuration files not just remove. This is incredibly important when dealing with drivers and kernels. (in short use "apt-get purge" not "apt-get remove" to deal with lower level packages)