View Full Version : Konsole does not start
Martillo1
April 10th, 2011, 19:53
When I launch it:
konsole
The output is:
konsole(62410)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache. This *should* be essentially
impossible. :(
konsole(62410)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared
pthreads or semaphores, even though it claims otherwise.
I have tried devel/pth, devel/pth-hard and devel/pthsem to no avail.
avilla@
April 11th, 2011, 00:03
That is not a problem, it's a well known issue which only makes shared cache for icons disabled, and it's fixed in -CURRENT.
Martillo1
April 11th, 2011, 01:02
I have installed x11/kde4 from ports. How long can it take for the fix to be transported to the main ports tree? I mean an order of magnitude like days, weeks, months...
avilla@
April 11th, 2011, 01:25
Sorry, my answer was not precise. The log you pasted shows a known problem, and you shouldn't care about it. The Konsole thing has to be debugged, so can you please enable all the "konsole" entries in kdebugdialog?
Martillo1
April 11th, 2011, 02:28
I launched kdebugdialog from an xterm and the output in the terminal is the same than launching Konsole, however the application starts an shows that the debugger option for Konsole is active.
The same output make me suspect that the known bug is not the cause of Konsole not starting. Am I right?
avilla@
April 11th, 2011, 08:36
As I already said, you can safely ignore that output. Are all the "Konsole" entries enabled? If not, enabled ALL OF THEM, click "OK", and then restart Konsole to see if there is more output.
Martillo1
April 11th, 2011, 11:12
They are enabled, but the output is the same and Konsole does not start.
I have to say that I usually build without debugging option.
avilla@
April 11th, 2011, 11:21
Please, run kdekillall konsole; konsole; pgrep -af konsole and see if there is any output.
Martillo1
April 11th, 2011, 18:17
kdekillall konsole; konsole; pgrep -af konsole
and the output:
No process killed
konsole(24552)/kdeui (KIconLoader): Unable to find an appropriate lock to guard the shared cache. This *should* be essentially impossible. :(
konsole(24552)/kdeui (KIconLoader): Unable to perform initial setup, this system probably does not really support process-shared pthreads or
semaphores, even though it claims otherwise.
24552
avilla@
April 11th, 2011, 22:42
So there is a running Konsole... Are you using KDE activities? If yes, can you check if Konsole is started in another activity?
Martillo1
April 12th, 2011, 20:31
No, I only have one activity, although I created and deleted some of them.
A question: which port Konsole belongs to? x11/kdebase4-runtime?
avilla@
April 12th, 2011, 22:56
x11/kdebase4. Try rebuilding it, please.
Martillo1
April 13th, 2011, 02:38
x11/kdebase4. Try rebuilding it, please.
Rebuilt. No changes at all.
There are configuration files for Konsole?
avilla@
April 13th, 2011, 07:00
Yes. Run rm -r $HOME/.kde4/share/apps/konsole $HOME/.kde4/share/config/konsole*.
Martillo1
April 13th, 2011, 14:42
Yes. Run rm -r $HOME/.kde4/share/apps/konsole $HOME/.kde4/share/config/konsole*.
Deleted, but the problem continues.
avilla@
April 13th, 2011, 16:44
Then you really want to ask to KDE people, on IRC, mailing list, or Bugzilla.
Martillo1
April 13th, 2011, 17:02
Ok I will do it, thanks.
phoenix
April 13th, 2011, 18:48
What happens if you rename the entire .kde4/ directory in your home folder? So that KDE creates a new one from scratch.
Martillo1
April 13th, 2011, 20:17
I renamed it and started KDE4, but cannot start Konsole. Same behaviour.
It tries to start an I can see it briefly, but nothing more.
phoenix
April 13th, 2011, 20:50
Which shell are you using?
Martillo1
April 14th, 2011, 10:26
Which shell are you using?
The defaults. /bin/sh for users, and /bin/csh for root.
davidgurvich
April 14th, 2011, 21:08
Do any other kde4 programs have problems or is it just konsole? What are your settings for sysctl -a |grep kern.ipc.shm?
Martillo1
April 14th, 2011, 22:11
Just Konsole.
sysctl -a |grep kern.ipc.shm
kern.ipc.shm_allow_removed: 0
kern.ipc.shm_use_phys: 0
kern.ipc.shmall: 8192
kern.ipc.shmseg: 128
kern.ipc.shmmni: 192
kern.ipc.shmmin: 1
kern.ipc.shmmax: 33554432
davidgurvich
April 15th, 2011, 02:17
The numbers for shmall and shmmax look quite low. I have problems playing a dvd using those settings. What sort of system do you have in terms of ram and video? You might consider changing shm_allow_removed 0->1.
I'm not sure that's your problem but that will certainly affect other areas like playing flash video.
Martillo1
April 15th, 2011, 15:14
My system has 6 GB RAM and a GTX260, however you are right, I have problems when playing flash trying to use fullscreen. It does, but with stuttering. I'll try your suggestion.
edit: the flash stuttering continues, I think it is also due to graphics/gnash-devel uses only one processor core. Konsole does not start either.
Martillo1
May 9th, 2011, 01:12
Good news:
If I start Konsole in this way:
konsole --background-mode
It starts in background and I can use F12 to show Konsole in foreground.
Also I can start Konsole in this other way:
konsole --hold
It starts the Konsole frame, but without prompt, however I can start a new tab from there.
None of both methods allow me to start a new Konsole window, though.
Martillo1
May 17th, 2011, 19:21
Update: Installed x11/yakuake-kde4 and forgot Konsole forever.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.