The preinstallation script checks the default login manager by looking at /etc/X11/default-display-manager. If lightdm is the default login manager, then nvidia-prime creates (if no lightdm.conf exists) or edits the configuration file.
In your case it should have just edited the file by adding or replacing the display-setup-script and the display-stopped-script sections. Maybe you didn't have a lightdm.conf before installing nvidia-prime? -- 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/1267442 Title: Install nvidia-331 on Xubuntu results in unbootable machine Status in “nvidia-prime” package in Ubuntu: Confirmed Bug description: Install of nvidia-331 completes, assuming it edits lightdm.conf left with this - not any use if you're not using Ubuntu greeter-session=unity-greeter user-session=ubuntu display-setup-script=/sbin/prime-offload display-stopped-script=/sbin/prime-switch have to comment out the exisiting greeter and user session lines and replace with display-setup-script=/sbin/prime-offload display-stopped-script=/sbin/prime-switch user-session=xubuntu greeter-session=lightdm-gtk-greeter to get a satisfactory boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1267442/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

