From 8079f98009ab30b661626345c60b2926e04756b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 18 Aug 2006 02:03:23 +0000 Subject: [PATCH] - Start ssh-agent for startx also (#169259). --- xinitrc | 8 ++++---- xorg-x11-xinit.spec | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/xinitrc b/xinitrc index ec3ba1d..adefbd7 100755 --- a/xinitrc +++ b/xinitrc @@ -18,11 +18,11 @@ # The user may have their own clients they want to run. If they don't, # fall back to system defaults. if [ -f $HOME/.Xclients ]; then - exec $DBUS_LAUNCH $HOME/.Xclients || \ - exec $HOME/.Xclients + exec $SSH_AGENT $DBUS_LAUNCH $HOME/.Xclients || \ + exec $SSH_AGENT $HOME/.Xclients elif [ -f /etc/X11/xinit/Xclients ]; then - exec $DBUS_LAUNCH /etc/X11/xinit/Xclients || \ - exec /etc/X11/xinit/Xclients + exec $SSH_AGENT $DBUS_LAUNCH /etc/X11/xinit/Xclients || \ + exec $SSH_AGENT /etc/X11/xinit/Xclients else # Failsafe settings. Although we should never get here # (we provide fallbacks in Xclients as well) it can't hurt. diff --git a/xorg-x11-xinit.spec b/xorg-x11-xinit.spec index 53683ae..2cf67df 100644 --- a/xorg-x11-xinit.spec +++ b/xorg-x11-xinit.spec @@ -4,7 +4,7 @@ Summary: X.Org X11 X Window System xinit startup scripts Name: xorg-x11-%{pkgname} Version: %{xinitver} -Release: 8%{?dist} +Release: 9%{?dist} License: MIT/X11 Group: User Interface/X URL: http://www.x.org @@ -101,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/xinit.1x* %changelog +* Thu Aug 17 2006 Kristian Høgsberg - 1.0.2-9.fc6 +- Start ssh-agent for startx also (#169259). + * Sat Jul 22 2006 Adam Jackson 1.0.2-8.fc6 - Fix SourceN line for localuser.sh to not collide.