Bug 678370

Summary: gdm won't launch without gnome-screensaver
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jmccann, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-02 10:07:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Proposal patch none

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)