updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / slim-unicode / no-host.patch
blobc40f25bca76bcc2d8bd98e134e3e50ef26aec29a
1 Datum: Sun, 30 Jan 2011 12:49:00 +0200
2 Von: Samuli Suominen <ssuominen@gentoo.org>
3 An: jgc@archlinux.org, andyrtr@archlinux.org, thayer@archlinux.org
4 Betreff: SLIM and ConsoleKit 0.4.2 (and up)
6 People have been coming to #xfce after Arch's ConsoleKit 0.4.3 upgrade
7 to ask for help why Suspend / Hibernate / and such doesn't work.
9 It's because SLIM is using pam_ck_connector.so and SLIM sets Host to localhost
10 and makes pam_ck_connector.so believe it's actually a *remote host* called
11 localhost and will refuse access.
13 http://bugs.gentoo.org/346037
14 https://developer.berlios.de/bugs/?func=detailbug&bug_id=17757&group_id=2663
15 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-misc/slim/files/346037-stop_setting_host_for_pam_ck_connector_so.patch?view=log
18 diff -aur old/app.cpp new/app.cpp
19 --- old/app.cpp 2011-01-30 12:39:34.033337944 +0100
20 +++ new/app.cpp 2011-01-30 12:40:25.843337943 +0100
21 @@ -228,8 +228,6 @@
22 pam.start("slim");
23 pam.set_item(PAM::Authenticator::TTY, DisplayName);
24 pam.set_item(PAM::Authenticator::Requestor, "root");
25 - pam.set_item(PAM::Authenticator::Host, "localhost");
28 catch(PAM::Exception& e){
29 cerr << APPNAME << ": " << e << endl;