Re: Why do I sometimes get a gdm similar to gnome 2's?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 2013-02-28 at 12:49 -0500, Adam Jackson wrote:
> On Thu, 2013-02-28 at 18:06 +0100, Dan Williams wrote:
> > On Thu, 2013-02-28 at 16:13 +0000, Marco Scannadinari wrote:
> > > Sometimes, usually when updates are installed, after booting, I get a
> > > gdm screen similar to this -
> > > http://lippolweblog.files.wordpress.com/2009/09/gdm.png. It uses the
> > > same animations as the new black gdm, but it just has the plain white
> > > layout as of the old gdm 2.x.
> > > Has anyone experienced this? What is the cause?
> > 
> > The "older" UI is shown when detection that your graphics card has the
> > necessary OpenGL support fails.  That includes a timeout.
> 
> Can it not, please?  Seriously, what a terrible idea.

The magic file is /usr/share/gnome-session/sessions/gdm-shell.session
and the magic line is IsRunnableHelper.  It's actually run by
*gnome-session*, not gdm.  And if that line fails (due to issues in
kernel DRM or the graphics stack or your slow disk), or takes longer
than 3000ms, then you get the fallback session instead of the fancy one.

IsRunnableHelper=bash -c 'gnome-shell --help | grep -q gdm-mode
&& /usr/libexec/gnome-session-check-accelerated'

---
/* See https://bugzilla.gnome.org/show_bug.cgi?id=641992 for discussion
*/
#define GSM_RUNNABLE_HELPER_TIMEOUT 3000 /* ms */
---

Dan

-- 
desktop mailing list
desktop@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/desktop



[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux