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)
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1287507 Title: LightDM fails to start after removing nvidia-prime Status in “nvidia-prime” package in Ubuntu: New 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) ProcVersionSignature: Ubuntu 3.13.0-14.34-generic 3.13.5 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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1287507/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp