openbsd-ports/x11/gnome/gdm/patches/patch-utils_gdm-ssh-session
ajacoutot caea2cf617 - fix man page installation PATH
- add support for secure remote connection (gdm-ssh-session)
- use FAKE_FLAGS instead of post-install tweaks
- regen PLIST
2008-10-14 12:15:36 +00:00

15 lines
657 B
Plaintext

$OpenBSD: patch-utils_gdm-ssh-session,v 1.1 2008/10/14 12:15:37 ajacoutot Exp $
--- utils/gdm-ssh-session.orig Tue Oct 14 13:19:28 2008
+++ utils/gdm-ssh-session Tue Oct 14 13:20:15 2008
@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/bin/sh
ZENITY=`which zenity`
TARGETHOST=`$ZENITY --title "Host to connect to" --entry --text "Enter the name of the host you want to log in to"`
# @@@ should probably get a user name too;
# for now can bet set using the $USERNAME@ convention
# @@@ should it do an ssh-add so the user doesn't have to enter its passphrase again?
-ssh -A -X -T -n "$TARGETHOST" /etc/X11/Xsession
+ssh -A -Y -T -n "$TARGETHOST" /etc/X11/xdm/Xsession