Bug 678370 - gdm won't launch without gnome-screensaver
Summary: gdm won't launch without gnome-screensaver
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-17 17:41 UTC by Mamoru TASAKA
Modified: 2011-03-02 10:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-02 10:07:08 UTC
Type: ---


Attachments (Terms of Use)
Proposal patch (1.19 KB, patch)
2011-02-18 01:42 UTC, Mamoru TASAKA
no flags Details | Diff

Description Mamoru TASAKA 2011-02-17 17:41:28 UTC
Description of problem:
It seems that gdm (actually gnome-session) won't launch without
gnome-screensaver installed. :?-greeter.log under /var/log/gdm shows:

# cat \:5-greeter.log 
gnome-session[2566]: GLib-GIO-ERROR: Settings schema 'org.gnome.screensaver' is not installed

aborting...

I use xscreensaver (and I am the maintainer of xscreensaver on Fedora)
and I don't want to make gnome-screensaver installed.

Version-Release number of selected component (if applicable):
gnome-session-2.91.6-3.fc15.i686
gdm-2.91.6-8.fc15.i686

How reproducible:
100%

Comment 1 Mamoru TASAKA 2011-02-18 01:42:59 UTC
Created attachment 479437 [details]
Proposal patch

So it seems that g_settings_new() is unsafe and it must be
checked beforehand if the required schema exists.

The attached patch seems to work both when gnome-screensaver is
installed and is not installed.

Comment 2 Mamoru TASAKA 2011-03-02 10:07:08 UTC
I no longer see this issue with newest F-15 gsettings-desktop-schemas
(testing repo enabled)


Note You need to log in before you can comment on or make changes to this bug.