summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2012-09-04 22:31:15 -0400
committerRay Strode <rstrode@redhat.com>2012-09-04 22:35:04 -0400
commit18b0eb0a6307600476d0af5e206e13466b4a1040 (patch)
tree1be5fb296c76776b1ae505bc296a8706c808857a /data
parente9dd70447e6b2e945f332e2354b3a0a53d383f20 (diff)
downloadgdm-18b0eb0a6307600476d0af5e206e13466b4a1040.tar.gz
data: fall back to old greeter if gnome-shell not installed
Some users use GDM without having gnome-shell installed. Upon booting, the screen stays black and those users aren't able to log in at all. What should happen: GDM should recognize this case and use its fallback mode. This commit fixes that. Suggestion by Jeremy Bicha. https://bugzilla.gnome.org/show_bug.cgi?id=683069
Diffstat (limited to 'data')
-rw-r--r--data/gdm-shell.session.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/gdm-shell.session.in b/data/gdm-shell.session.in
index 388f80cb..1bea43c7 100644
--- a/data/gdm-shell.session.in
+++ b/data/gdm-shell.session.in
@@ -1,5 +1,5 @@
[GNOME Session]
Name=Display Manager
RequiredComponents=gnome-shell;gnome-settings-daemon;
-IsRunnableHelper=@CHECK_ACCELERATED_DIR@/gnome-session-check-accelerated
+IsRunnableHelper=bash -c 'type -p gnome-shell >& /dev/null && @CHECK_ACCELERATED_DIR@/gnome-session-check-accelerated'
FallbackSession=gdm-fallback