[PATCH] fix path to auth-dialog (Bug #679225)
- From: Clemens Buchacher <drizzd aon at>
- To: networkmanager-list gnome org
- Subject: [PATCH] fix path to auth-dialog (Bug #679225)
- Date: Thu, 1 Nov 2012 18:59:13 +0100
When turning the VPN on, the user should be prompted for a password, which is
used for the VPN connection. Instead, the connection attempt fails immediately,
without ever prompting the user for a password. The following error is logged
to ~/.xsession-errors or ~/.cache/gdm/session.log (depending on gdm version):
JS LOG: Error 'VPN plugin at /usr/lib/gnome-shell/nm-pptp-auth-dialog is not executable' while processing VPN keyfile '/etc/NetworkManager/VPN/nm-pptp-service.name'
This happens if the pptp networkmanager plugin is installed in a
libexecdir different from the one used by gnome-shell. Prepend the
libexecdir to make the path unambiguous.
Note that this requires gnome-shell to recognize absolute paths, which
it does since version 3.6 (Bug #679212).
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=679225.
Signed-off-by: Clemens Buchacher <drizzd aon at>
---
nm-pptp-service.name.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nm-pptp-service.name.in b/nm-pptp-service.name.in
index 9ee79b8..ea5f0e5 100644
--- a/nm-pptp-service.name.in
+++ b/nm-pptp-service.name.in
@@ -4,6 +4,6 @@ service=org.freedesktop.NetworkManager.pptp
program=@LIBEXECDIR@/nm-pptp-service
[GNOME]
-auth-dialog=nm-pptp-auth-dialog
+auth-dialog=@LIBEXECDIR@/nm-pptp-auth-dialog
properties=libnm-pptp-properties
supports-external-ui-mode=true
--
1.8.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]