kde 4.6-beta: ssh-agent not started on login anymore

Bug #688515 reported by Achim Bohnet
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Kubuntu PPA
New
Undecided
Unassigned

Bug Description

With 4.5 after login ssh-agent is running. After upgrade to 4.6-beta (was in beta1 too) pkgs there is no ssh-agent anymore

Revision history for this message
Chris Samuel (chris-csamuel) wrote :

I can confirm this with Kubuntu 10.10 x86-64, KDE 4.6.0 beta 2.

Revision history for this message
Thomas Tanghus (tanghus) wrote :

Confirmed on Kubuntu 10.10 KDE SC 4.5.90 (4.6 RC1)

is there a manual fix for this?

Revision history for this message
Jari Salo (jari-salo) wrote :

There seems to be new version of /etc/kde/kdm/Xsession file, which doesn't call global /etc/X11/Xsession directly anymore. I replaced this new file with an old version and ssh-agent is starting correctly now.

Revision history for this message
Jari Salo (jari-salo) wrote :

Correction to above. The path should be /etc/kde4/kdm/Xsession

Revision history for this message
Hmpf (dns-hmpf) wrote :

The gpg-agent is also not started, I guess the reason is the same.

Revision history for this message
Chris Samuel (chris-csamuel) wrote :

To demonstrate what broke, here is the diff from etckeeper for the change to that file:

    -kdm 4:4.5.4-0ubuntu1~maverick1~ppa1
    +kdm 4:4.5.85-0ubuntu1~maverick1~ppa1

diff --git a/kde4/kdm/Xsession b/kde4/kdm/Xsession
index aeecc77..e6ea8c2 100755
--- a/kde4/kdm/Xsession
+++ b/kde4/kdm/Xsession
@@ -42,5 +42,30 @@ case $SHELL in
     [ -f $HOME/.profile ] && . $HOME/.profile
     ;;
 esac
-# invoke global X session script
-. /etc/X11/Xsession
+
+[ -f /etc/xprofile ] && . /etc/xprofile
+[ -f $HOME/.xprofile ] && . $HOME/.xprofile
+
+for i in /etc/X11/Xresources/*; do
+ [ -f $i ] && xrdb -merge $i
+done
+[ -f $HOME/.Xresources ] && xrdb -merge $HOME/.Xresources
+
+case $session in
+ "")
+ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is
+ ;;
+ failsafe)
+ exec xterm -geometry 80x24-0-0
+ ;;
+ custom)
+ exec $HOME/.xsession
+ ;;
+ default)
+ exec /usr/bin/startkde
+ ;;
+ *)
+ eval exec "$session"
+ ;;
+esac
+exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.