Bug#640210: ssh doesn't shutdown after running kmail
When I run kmail from a ssh session I can't log out of the ssh session afterwards.
The only symptom in the logs is .xsession-errors having the same SSLv2 messages
mentioned above.
* When run from the command line (login via SSH, then start kmail) the session
hangs when logging out; closing the termial SSH was started on leaves
instances of akonadi and nepomuk are left running on the remote host.
* When started via a .desktop file (executing: "ssh -X kmail", SSH public key on
the remote host), sshd leaves a sshd user@notty process and all programs
started by kmail's startup running. i.e...
[cut'n'paste from top]
12212 12210 bsass 20 0 11880 3988 972 S 0.0 0.8 0:16.35 sshd bsass@notty
12218 1 bsass 20 0 3708 596 364 S 0.0 0.1 0:00.00 dbus-launch --autolaunch
294e50452620d234d6810d269bb91b00 --binary-syntax --close-stderr
12219 1 bsass 20 0 3412 896 556 S 0.0 0.2 0:01.02 /usr/bin/dbus-daemon --fork --print-pid
5 --print-address 7 --session
12225 1 bsass 20 0 33444 4892 3764 S 0.0 1.0 0:00.10 kdeinit4: kdeinit4 Running...
12226 12225 bsass 20 0 44592 8932 7580 S 0.0 1.7 0:00.17 kdeinit4: klauncher [kdeinit] --fd=8
12229 1 bsass 20 0 81352 14m 12m S 0.0 3.0 0:00.68 kdeinit4: kded4 [kdeinit]
12236 1 bsass 20 0 34200 4500 3680 S 0.0 0.9 0:00.82 /usr/bin/akonadi_control
12239 12236 bsass 20 0 160m 7760 5924 S 0.0 1.5 0:00.58 akonadiserver
12242 12239 bsass 20 0 190m 22m 5580 S 0.0 4.6 0:02.87 /usr/sbin/mysqld --defaults-
file=/home/bsass/.local/share/akonadi//mysql.conf --datadir=/home/bsass/.local/share/akonadi
12267 12236 bsass 20 0 83740 16m 14m S 0.0 3.3 0:00.45 /usr/bin/akonadi_birthdays_resource --
identifier akonadi_birthdays_resource_0
12268 12236 bsass 20 0 84100 16m 14m S 0.0 3.4 0:00.46 /usr/bin/akonadi_ical_resource --
identifier akonadi_ical_resource_0
12269 12236 bsass 20 0 84100 16m 14m S 0.0 3.4 0:00.46 /usr/bin/akonadi_ical_resource --
identifier akonadi_ical_resource_1
12270 12236 bsass 20 0 81700 16m 14m S 0.0 3.2 0:00.44 /usr/bin/akonadi_maildir_resource --
identifier akonadi_maildir_resource_0
12271 12236 bsass 20 0 82220 16m 14m S 0.0 3.3 0:00.66 /usr/bin/akonadi_maildispatcher_agent
--identifier akonadi_maildispatcher_agent
12272 12236 bsass 20 0 89824 16m 14m S 0.0 3.2 0:00.48 /usr/bin/akonadi_nepomuk_contact_feeder
--identifier akonadi_nepomuk_contact_feeder
12273 12236 bsass 20 0 81672 16m 14m S 0.0 3.2 0:00.42 /usr/bin/akonadi_vcard_resource --
identifier akonadi_vcard_resource_0
12274 12236 bsass 20 0 81704 16m 14m S 0.0 3.2 0:00.42 /usr/bin/akonadi_vcard_resource --
identifier akonadi_vcard_resource_10
12275 12236 bsass 20 0 81672 16m 14m S 0.0 3.2 0:00.43 /usr/bin/akonadi_vcard_resource --
identifier akonadi_vcard_resource_11
12276 12236 bsass 20 0 81672 16m 14m S 0.0 3.2 0:00.42 /usr/bin/akonadi_vcard_resource --
identifier akonadi_vcard_resource_6
12277 12236 bsass 20 0 81672 16m 14m S 0.0 3.2 0:00.43 /usr/bin/akonadi_vcard_resource --
identifier akonadi_vcard_resource_7
12278 12236 bsass 20 0 81672 16m 14m S 0.0 3.2 0:00.43 /usr/bin/akonadi_vcard_resource --
identifier akonadi_vcard_resource_8
12279 12236 bsass 20 0 81672 16m 14m S 0.0 3.2 0:00.43 /usr/bin/akonadi_vcard_resource --
identifier akonadi_vcard_resource_9
12318 1 bsass 20 0 34708 5640 4720 S 0.0 1.1 0:00.12 /usr/bin/nepomukserver
12334 1 bsass 20 0 85368 12m 10m S 0.0 2.5 0:00.49 /usr/bin/knotify4
...manually killing the 'sshd: user@notty' process gets rid of everything except...
12318 1 bsass 20 0 34708 5640 4720 S 0.0 1.1 0:00.12 /usr/bin/nepomukserver
...which is likely a KDE rather than a Qt/SSH problem.
If this isn't another aspect of the same bug let me know which package it should be applied to and
I will submit this report as a new bug or an addition to an existing report if one exists.
- Bruce
Reply to: