You are not logged in.
Hello fellow archers!
Decided to try the new KDE yesterday and after some tinkering, I've managed to put it just how I like it. One thing troubles me though: whenever I open Konsole, do something in the shell and then Ctrl+D or type exit, the actual konsole tab is not closed and the shell is left as a zombie process (see next 2 screens). Tried with zsh, bash, new konsole profile, clean kde4 config (removed ~/.kde4) and nothing changes.
http://i41.tinypic.com/4rvxax.jpg
http://i44.tinypic.com/2hyi2r8.jpg
Maybe this is expected behaviour in Konsole, forcing you to use Ctrl+Shit+W to close the tab but that feels very awkward coming from urxvt.
Any feedback?
Last edited by Revolt (2013-04-26 18:35:39)
Offline
Have you tried changing the "close tab" shortcut?
Offline
It's not the shortcut that bugs me. It's the zombifying on Ctrl+D or exit.
In addition, just noticed that if I try to close only the tab, Konsole says that it cannot kill /bin/zsh or /bin/bash (tested with both) and asks if I want to force close them but even selecting 'Yes' has no effect. However, closing the entire window (not just the tab) does end up terminating all sessions eventually.
Offline
I use konsole with bash, and I don't see what you describe: tab closes and there is no zombie left.
$ echo $TERM
xterm
Offline
Also, in case this wasn't clear, xterm and urxvt still work correctly. Was feeling pretty confident in it being a konsole packaging misconfiguration or something but since berbae is not experiencing it, I'm not so sure anymore. Are you using the latest version of konsole (4.10.2-1) berbae?
Offline
Yes I use the latest konsole package.
When you are at the konsole prompt, what is the value of TERM ?
Do you have something special in the .bashrc file or some other configuration file?
Offline
I do not have anything special in any rc file to the best of my knowledge since this happens with bash, zsh and even simple sh.
My term is currently set to konsole-256color but I've tried many others including konsole, xterm, rxvt to no avail
Offline
Post the content of '~/.kde4/share/config/konsolerc' and of your profiles in '~.kde4/share/apps/konsole'.
Offline
konsolerc:
[$Version]
update_info=konsole.upd:2.9.0-global-options
[Colors]
CurrentPalette=Forty Colors
[Desktop Entry]
DefaultProfile=Shell.profile
[Favorite Profiles]
Favorites=Shell.profile
[MainWindow]
Height 900=490
State=AAAA/wAAAAD9AAAAAAAAAu4AAAHqAAAABAAAAAQAAAAIAAAACPwAAAAA
ToolBarsMovable=Disabled
Width 1600=750
Shell.profile:
[Appearance]
AntiAliasFonts=true
BoldIntense=false
ColorScheme=My Color Scheme
Font=Monospace,9,-1,5,50,0,0,0,0,0
[Cursor Options]
UseCustomCursorColor=false
[General]
Command=/bin/zsh
Environment=TERM=konsole-256color
Name=Shell
Parent=FALLBACK/
SaveGeometryOnExit=true
[Interaction Options]
AutoCopySelectedText=false
OpenLinksByDirectClickEnabled=true
TrimTrailingSpacesInSelectedText=false
[Keyboard]
KeyBindings=default
[Scrolling]
ScrollBarPosition=2
[Terminal Features]
BidiRenderingEnabled=true
FlowControlEnabled=true
I've also noticed the following on ~/.xsession-errors:
konsole(15724) Konsole::Session::closeInNormalWay: Process 16002 did not die with SIGHUP
konsole(15724) Konsole::Session::closeInForceWay: Process 16002 did not die with SIGKILL
konsole(15724) Konsole::Session::closeInNormalWay: Process 16036 did not die with SIGHUP
konsole(15724) Konsole::Session::closeInForceWay: Process 16036 did not die with SIGKILL
Offline
Ok so after lots of manual recompilation of kde packages, I finally noticed that konsole --nofork didn't have this problem which led me to examine the process list to see if there were by any chance any misbehaving konsole processes to which the newest ones could be linking somehow. Indeed I found 2 zombie konsole processes so I killed their kinit parent and now all launched konsoles worked correctly.
The interesting thing is that after the reboot everything seems to be fixed. Since I don't save sessions, I can only assume one of my recompilations/installations/cache cleaning fixed the problem. In particular, I had this ~/.config/Trolltech.conf file which now shows completely different timestamps in the library listing.
This also fixed other problems I had with amarok and ark.
Offline
Interesting ...
I experienced Konsole hanging also when typing 'exit' the last few days (same issue as you desribed). I deleted ~/.config/Trolltech.conf after reading your last post and ... problem solved !
Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...
Offline