← Back to team overview

desktop-packages team mailing list archive

[Bug 1267442] Re: Install nvidia-331 on X/K/Lubuntu results in unbootable machine

 

I tried to reproduce the problem using a Xubuntu 14.04 image and
everything worked as expected:

http://people.canonical.com/~amilone/xubuntu-output.log

The main problem is that systems older than 14.04 might still have a
/etc/lightdm/lightdm.conf that was altered by older nvidia-prime
releases.

I thought lightdm would take care of the issue by removing such
configuration file but I was wrong. This is the preinst script from
lightdm in trusty:


if dpkg-maintscript-helper supports mv_conffile; then
  dpkg-maintscript-helper mv_conffile \
    /etc/lightdm.conf \
    /etc/lightdm/lightdm.conf \
    0.3.7-0ubuntu2 -- "$@"
fi


I believe 0.3.7-0ubuntu2 should be updated to a more recent release such
as 1.10.1-0ubuntu1~.

This is something that we should deal with in the lightdm package
though. I don't think it would be right for nvidia-prime to remove
lightdm's configuration files.


** Also affects: lightdm (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lightdm (Ubuntu)
       Status: New => Triaged

** Changed in: lightdm (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1267442

Title:
  Install nvidia-331 on X/K/Lubuntu results in unbootable machine

Status in “lightdm” package in Ubuntu:
  Triaged
Status in “nvidia-prime” package in Ubuntu:
  Incomplete

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/lightdm/+bug/1267442/+subscriptions