<p dir="ltr">On Sep 29, 2015 09:09, "Aigars Mahinovs" <<a href="mailto:aigarius@gmail.com">aigarius@gmail.com</a>> wrote:<br>
><br>
> Looks possible - I also had the glx-diversions updated from 0.5.1 to 0.6.0 at the same time.<br>
><br>
> On Tue, Sep 29, 2015 at 8:21 AM Diederik de Haas <<a href="mailto:didi.debian@cknow.org">didi.debian@cknow.org</a>> wrote:<br>
>><br>
>> On Monday 28 September 2015 23:19:30 Aigars Mahinovs wrote:<br>
>> > I can confirm that the issue rescribed in bug #800327 is real and the<br>
>> > workaround of adding Debian-gdm user to the video group works.<br>
>><br>
>> That workaround was also posted on <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799948">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799948</a> and the cause seems to be the upgrade of glx-<br>
>> diversions to version 0.6.0.<br>
>> I wouldn't be surprised if that is the case with you too.</p>
<p dir="ltr">I believe it's a side effect of a new feature introduced by nvidia-driver 340.93-2 and glx-alternatives 0.6 combined, namely the auto-generation of the xorg.conf and the auto-loading of the necessary kernel modules.</p>
<p dir="ltr">IMHO this is a great feature to have and it makes the life of the users much simpler. So the question is how to deal with the permission problem.</p>
<p dir="ltr">Adding the DM users to the video group in the driver postinst seems the basic solution, but it's not enough as a chicken-and-egg situation could happen (eg: a GDM-Nvidia user installs sddm later). So the only way to be sure would be to also create the DM users if not present at the driver install time. But how will the various DM packages deal with the fact that the user already exists at install time? Will it cause problems?</p>
<p dir="ltr">Another solution would be having the DM packages themselves add their users to the video group on install as well, but I'd be wary of adding workarounds in other packages, especially when it involves extending privileges, and I suspect the respective mainteiners feel the same way.</p>
<p dir="ltr">Andreas, Vincent, what are your thoughts on this?</p>
<p dir="ltr">I'll try and have a play and investigate in the following days.</p>
<p dir="ltr">Kind regards,<br>
Luca Boccassi</p>