[PATCH] fix path to auth-dialog (Bug #679225)

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]