fix fast user switching

This commit is contained in:
Matthias Clasen 2011-09-04 10:42:08 -04:00
parent 1c43145303
commit 15c0f0d023
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From 0bc8212b2f9f98662e33659277b9b7215a25637a Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Sun, 4 Sep 2011 10:24:10 -0400
Subject: [PATCH] Fix fast user switching
libaccountsservice was trying to launch 'actflexiserver', which
does not exist. Use 'gdmflexiserver' instead, which does exist.
This was a copy-and-paste error from when libaccountsservice was
first introduced, a year ago.
---
src/libaccountsservice/act-user-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libaccountsservice/act-user-manager.c b/src/libaccountsservice/act-user-manager.c
index 2ab8c61..2fd2394 100644
--- a/src/libaccountsservice/act-user-manager.c
+++ b/src/libaccountsservice/act-user-manager.c
@@ -213,7 +213,7 @@ start_new_login_session (ActUserManager *manager)
GError *error;
gboolean res;
- res = g_spawn_command_line_async ("actflexiserver -s", &error);
+ res = g_spawn_command_line_async ("gdmflexiserver -s", &error);
if (! res) {
if (error != NULL) {
g_warning ("Unable to start new login: %s", error->message);
--
1.7.6.1

View File

@ -1,7 +1,7 @@
Name: accountsservice
Version: 0.6.13
Release: 2%{?dist}
Release: 3%{?dist}
Summary: D-Bus interfaces for querying and manipulating user account information
Group: System Environment/Daemons
@ -10,6 +10,9 @@ URL: http://www.fedoraproject.org/wiki/Features/UserAccountDialog
#VCS: git:git://git.freedesktop.org/accountsservice
Source0: http://www.freedesktop.org/software/accountsservice/accountsservice-%{version}.tar.xz
# upstream fix
Patch0: 0001-Fix-fast-user-switching.patch
BuildRequires: glib2-devel
BuildRequires: dbus-glib-devel
BuildRequires: polkit-devel
@ -49,6 +52,7 @@ of these interfaces, based on the useradd, usermod and userdel commands.
%prep
%setup -q
%patch0 -p1
%build
%configure
@ -87,6 +91,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.a
%{_datadir}/gir-1.0/AccountsService-1.0.gir
%changelog
* Sun Sep 4 2011 Matthias Clasen <mclasen@redhat.com> - 0.6.13-3
- Fix fast user switching
* Mon Aug 15 2011 Kalev Lember <kalevlember@gmail.com> - 0.6.13-2
- Rebuilt for rpm bug #728707