- Xsession: Don't start ssh-agent for gnome sessions anymore, gnome-keyring

acts as an agent now. (#441123)
This commit is contained in:
Adam Jackson 2008-04-08 21:20:03 +00:00
parent b262b54414
commit 6f9fbe0475
2 changed files with 9 additions and 3 deletions

View File

@ -54,8 +54,10 @@ case $# in
exec -l $SHELL -c "xterm -geometry 80x24-0-0"
;;
gnome)
exec -l $SHELL -c "$SSH_AGENT gnome-session"
exec $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"gnome-session\""
# lack of SSH_AGENT is intentional, see #441123. though
# the whole thing should really happen in xinitrc.d anyway.
exec -l $SHELL -c gnome-session
exec /bin/sh -c "exec -l $SHELL -c \"gnome-session\""
;;
kde|kde1|kde2)
exec $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"startkde\""

View File

@ -3,7 +3,7 @@
Summary: X.Org X11 X Window System xinit startup scripts
Name: xorg-x11-%{pkgname}
Version: 1.0.7
Release: 6%{?dist}
Release: 7%{?dist}
License: MIT/X11
Group: User Interface/X
URL: http://www.x.org
@ -131,6 +131,10 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/xsessions/xinit-compat.desktop
%changelog
* Tue Apr 08 2008 Adam Jackson <ajax@redhat.com> 1.0.7-7
- Xsession: Don't start ssh-agent for gnome sessions anymore, gnome-keyring
acts as an agent now. (#441123)
* Wed Mar 12 2008 Ray Strode <rstrode@redhat.com> 1.0.7-6
- Add a new subpackage to add ~/.xsessions and ~/.Xclients
to session list