Can only have one application on KDE desktop.

System is openSUSE 12.1 fully patched; quad core i5 processor.

I can only have one application running at any one time; for example if I open dolphin I cannot open firefox, thunderbird, calculator, konsole etc; if I shut-down dolphin I can then open any of the other applications mentioned; once an application is running a second application cannot be started. I do not know what trigger the failure mode.

I have set-up a second login; this account behaves as expected i.e. I can open any combination of applications at the same time; this suggests (to me) a corrupted KDE configuration associated with the account exhibiting the failure mode.

Where do I start looking?

Thanks in advance for suggests

On 02/08/2012 10:06 PM, Addanc wrote:
> this suggests
> (to me) a corrupted KDE configuration associated with the account
> exhibiting the failure mode.
>
> Where do I start looking?

yes, sounds like something in your original /home is broken…
did it ever work correctly since 12.1 was installed?

if so, what happened, what changed, what was installed etc just before
this strange new behavior started…

that is, i’m not sure it is something in /home/[you]/.kde

have you maybe edited ~/.bashrc ?
or, have you edited any other hidden file (one beginning with a .) in
your home directory??? if so, compare the contents of it in your
original…whatever is different in the two is probably the problem…

if you have not edited any of those what you could TRY is to log in to
the old home, open dolphin and rename /home/[oldyou]/.kde to
/home/[oldyou]/.kdeBAK, then shut down dolphin, log out and then log
back in as the old you…

doing that KDE will build a new /.kde which will be exactly like it was
the first day it was born (and the one in your test user)…which means
all of your customizations are lost…BUT, it also means that one of
your customizations is what caused the problem…so, rebuild your
desktop very carefully and slowly…log out and then back in often and
when you see the strange behavior again you will know what caused it
(because you will know what you changed just before you lost the ability
to multi-task)…

and, you find the cause please tell us–because i have never heard that
symptom before…


DD http://tinyurl.com/DD-Caveat
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

This is of course a very strange thing. You say that you “cannot open firefox, thunderbird, calculator, konsole etc”, but you fail to say how you do that and what happens that you advertise here as failing.

And did you e.g. start a terminal (which is then the only one application running) and start from there a second application. What does the terminal say then?

And when it is is your KDE 4 configuration, there is one simple method to get rid of it in a way similar to your test user. Remove ~/.kde4. And you wil get then a fresh one on login (like your test user). But it will of course also remove al your personal settings done earlier.

To do this, log out of the desktop, do Ctrl-Alt-F1 and you will get to the system console, which has a login prompt. Log in as the user and do

mv .kde4 kde4-saved

log out and do Ctrl-Alt-F7 to get to the GUI login. Login and check.

You have now still the old KDE 4 environment in kde4-saved. You could use it to reverse what you just did. You can also look in there in different files to see what you had earlier when yoou ae re coinfiguring your KDE 4 enviroinment to your liking.

It has generally been fine (note#1) since I installed (pre Christmas) up until a couple of day ago. I believe that the only applications that I ran on the day it went wrong where Opera and Thunderbird; the only things I normally do through that account are Web browsing (firefox/opera), Email (thunderbird) and chess (FICS using XBoard). I will try kde config directory rename to force kde to start afresh.

Note#1: on both laptop and desktop dolphin occasionally locks-up for 30-60 seconds; I cannot associate this lock-up with any particular directory or opening any particular file; it’s a mystery.

One other thing to note is I did install 12.1 as an upgrade to 11.4; as opposed to doing a clean install.

If I open a terminal and then try and launch another application from the terminal context I get the following error message:

Maximum number of clients reachedMaximum number of clients reachedError: cannot open display: :0

The renaming both .kde and .kde4 directories didn’t work; so the problem isn’t in the kde configuration.

Were you logged out when renaming the folders? If so, then I can only think of one other option: the .config folder in your homedir.

I was only logged into a non-gui session when I moved the folders.

OK, just making sure. Did some googling, did you activate any “minimize to tray” options in FF or Thunderbird? Found quite a lot of bugreports on that resulting in the phenomenon you describe.

On 02/09/2012 09:46 PM, Addanc wrote:
> Maximum number of clients reachedMaximum number of clients reachedError: cannot open display: :0

i would like to see the full input and output, from prompt to prompt,
like this:


denverd@linux-os114:/> dolphin
denverd@linux-os114:/> firefox
*** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB
to enable).
denverd@linux-os114:/>

and, you say you upgraded from 11.4 to 12.1, which of these supported
methods did you use:
http://tinyurl.com/35p966c
http://tinyurl.com/6kvoflv

and, if you open YaST > Security and Users > User and Group Management
and then create a new test user and password, then log out and log back
in as the new test user…can you use more than one app at a time?

what version of KDE are you using and can you please show us the
terminal input/output from


zypper lr -d

for both of those requested terminal sessions please copy/paste the
input & full output back to this thread using the instructions here:
http://goo.gl/i3wnr


DD http://tinyurl.com/DD-Caveat
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

Cunning plan except for one thing, I cannot open an application in which to paste the out; you will have to settle for the re-directed (to file) output.

firefox:


Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedError: cannot open display: :0

kate:


Maximum number of clients reachedkate: cannot connect to X server :0

thunderbird:


Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedError: cannot open display: :0

I downloaded the 64 bit DVD (openSUSE-12.1-DVD-x86_64.iso) and chose the update option from the DVD.

I cannot access YaST at the moment; but I do have a second account, which appears to be operating OK.

zypper lr -d:


#  | Alias                   | Name                       | Enabled | Refresh | Priority | Type   | URI                                                                                   | Service
---+-------------------------+----------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------------------+--------
 1 | NVIDIA                  | NVIDIA                     | Yes     | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/12.1/                                             |        
 2 | Packman                 | Packman                    | Yes     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/12.1/                                  |        
 3 | VCL_VideoLan_Client     | VCL VideoLan Client        | Yes     | Yes     |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/12.1/                                       |        
 4 | openSUSE-12.1-12.1-1.4  | openSUSE-12.1-12.1-1.4     | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-Optiarc_DVD_RW_AD-7241S                            |        
 5 | openSUSE-12.1-Education | openSUSE-12.1-Education    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_12.1/                    |        
 6 | openSUSE-12.1-Security  | openSUSE-12.1-Security     | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/security:/passwordmanagement/openSUSE_12.1/ |        
 7 | repo-debug              | openSUSE-12.1-Debug        | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/12.1/repo/oss/                        |        
 8 | repo-debug-update       | openSUSE-12.1-Update-Debug | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/12.1/                                       |        
 9 | repo-non-oss            | openSUSE-12.1-Non-Oss      | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/non-oss/                          |        
10 | repo-oss                | openSUSE-12.1-Oss          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/oss/                              |        
11 | repo-source             | openSUSE-12.1-Source       | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/12.1/repo/oss/                       |        
12 | repo-update             | openSUSE-12.1-Update       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.1/                                             |        

Here is something suspicious; a ps reveals a lot of entries of the following form:


ajw       2158  0.0  0.5 273660 20588 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_0
ajw       2159  0.0  0.5 273660 20580 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_1
ajw       2160  0.0  0.5 273660 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_10
ajw       2161  0.0  0.5 273660 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_100
ajw       2162  0.0  0.5 273660 20596 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_101
ajw       2164  0.0  0.5 273660 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_102
ajw       2165  0.0  0.5 273660 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_103
ajw       2166  0.0  0.5 273672 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_104
ajw       2167  0.0  0.5 273660 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_105
ajw       2168  0.0  0.5 273668 20584 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_106
ajw       2169  0.0  0.5 273664 20796 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_107
ajw       2170  0.0  0.5 273664 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_108
ajw       2171  0.0  0.5 273668 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_109
ajw       2172  0.0  0.5 273668 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_11
ajw       2173  0.0  0.5 273668 20592 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_110
ajw       2175  0.0  0.5 273668 20588 ?        Sl   12:55   0:00 /usr/bin/akonadi_agent_launcher akonadi_akonotes_resource akonadi_akonotes_resource_111

When I am logged into the failed account there are 203 entries of the above form. When I am logged into the working account there are 83 entries of the above form (still suspicioous). A quick google reveals that there are other threads related to /usr/bin/akonadi_agent_launcher within the forum; Redhat appear to have bug reports raised against this.

> you will have to settle for the re-directed (to file) output.

well, the main thing i wanted to see was the prompt…i wanted to see if
there was a # in there, or not…

>> and, you say you upgraded from 11.4 to 12.1
>
> I downloaded the 64 bit DVD (openSUSE-12.1-DVD-x86_64.iso) and chose
> the update option from the DVD.

that may (or may not) be the root cause of this problem…the ‘upgrade’
process is nowhere near bulletproof…there are just too many variations
available for the upgrade to never fail…

personally i’ve not ‘upgraded’ since (about 9.2 or .3) because it seems
to always leave stuff on the disk that shouldn’t be there…or whatever…

> I cannot access YaST at the moment; but I do have a second account,
> which appears to be operating OK.

AH!! now we are getting somewhere!! if the other account works correctly
it means (absolutely) that the system is ok, it is ‘just’ the user’s
configs that are messed up…

several ways to proceed to ‘fix’ the problem with that ONE user’s messed
up /home (which is, as you know) where all the hidden config files are
stored…

but, lets put that on hold (because, having you latest post…lets, work
on that first…it might be the cause of your problem)

and, you really really need to get your repos under contro also! but we
come back to that…don’t let me forget!!

> zypper lr -d:
>

> 3 | VCL_VideoLan_Client | VCL VideoLan Client | Yes | Yes | 99 | rpm-md | http://download.videolan.org/pub/vlc/SuSE/12.1/ |

disable that repo for sure.


DD http://tinyurl.com/DD-Caveat
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

On 02/11/2012 03:06 PM, Addanc wrote:
> When I am logged into the failed account there are 203 entries of the
> above form. When I am logged into the working account there are 83
> entries of the above form (still suspicioous). A quick google reveals
> that there are other threads related to /usr/bin/akonadi_agent_launcher
> within the forum; Redhat appear to have bug reports raised against this.

yes, that is the little piggy that roots around building a desktop
database with the lofty intent of helping you find everything you ever
said, heard, watched, blah blah blah…

however, i’ve not seen another instance where those two have caused the
symptom you report (only one app at a time)…

but, maybe it could happen, so let kill’em for now and see if the one
app symptom goes away…

to do that, see here http://ubuntuku.org/16/how-to-disable-nepomuk-akonadi/

which is the how-to i followed, frankly i do not remember if all the
hints were directly usable in openSUSE 11.4 or not…if you need help
with it just holler…otherwise, when you disabled the Terrible Twins,
then just log out and back in as the broken user, and see if you can now
use more than one app…i doubt that will fix it, but MAYBE!

if not, the next steps take longer…


DD http://tinyurl.com/DD-Caveat http://tinyurl.com/DD-Hardware
http://tinyurl.com/DD-Software
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

I have found a temporary solution of removing the directory:
~/.config/akonadi

It appears that in the broken system the file ~/.config/akonadi/agentsrc had accumulated multiple agent definitions; see below:


[InstanceCounters]
akonadi_birthdays_resource\InstanceCounter=0
akonadi_contacts_resource\InstanceCounter=69
akonadi_mbox_resource\InstanceCounter=0
akonadi_imap_resource\InstanceCounter=0
akonadi_mailtransport_dummy_resource\InstanceCounter=0
akonadi_localbookmarks_resource\InstanceCounter=0
akonadi_nntp_resource\InstanceCounter=0
akonadi_kcal_resource\InstanceCounter=0
akonadi_pop3_resource\InstanceCounter=0
akonadi_notes_resource\InstanceCounter=0
akonadi_microblog_resource\InstanceCounter=0
akonadi_vcard_resource\InstanceCounter=0
akonadi_maildir_resource\InstanceCounter=1
akonadi_ical_resource\InstanceCounter=4
akonadi_kabc_resource\InstanceCounter=0
akonadi_vcarddir_resource\InstanceCounter=0
akonadi_invitations_agent\InstanceCounter=0
akonadi_mixedmaildir_resource\InstanceCounter=0
akonadi_openxchange_resource\InstanceCounter=0
akonadi_kdeaccounts_resource\InstanceCounter=0
akonadi_akonotes_resource\InstanceCounter=138
akonadi_davgroupware_resource\InstanceCounter=0

[Instances]
akonadi_nepomuk_contact_feeder\AgentType=akonadi_nepomuk_contact_feeder
akonadi_maildispatcher_agent\AgentType=akonadi_maildispatcher_agent
akonadi_contacts_resource_0\AgentType=akonadi_contacts_resource
akonadi_ical_resource_0\AgentType=akonadi_ical_resource
akonadi_maildir_resource_0\AgentType=akonadi_maildir_resource
akonadi_contacts_resource_1\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_2\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_3\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_4\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_5\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_6\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_7\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_8\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_9\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_10\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_11\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_12\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_13\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_14\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_15\AgentType=akonadi_contacts_resource
                           :
                           :
akonadi_contacts_resource_57\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_58\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_59\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_60\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_61\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_62\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_63\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_64\AgentType=akonadi_contacts_resource
akonadi_contacts_resource_65\AgentType=akonadi_contacts_resource
akonadi_nepomuk_calendar_feeder\AgentType=akonadi_nepomuk_calendar_feeder
akonadi_nepomuk_email_feeder\AgentType=akonadi_nepomuk_email_feeder
akonadi_akonotes_resource_0\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_1\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_2\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_3\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_4\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_5\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_6\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_7\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_8\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_9\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_10\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_11\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_12\AgentType=akonadi_akonotes_resource
                             :
                             :
akonadi_akonotes_resource_116\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_117\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_118\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_119\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_120\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_121\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_122\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_123\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_124\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_125\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_126\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_127\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_128\AgentType=akonadi_akonotes_resource
akonadi_contacts_resource_66\AgentType=akonadi_contacts_resource
akonadi_ical_resource_1\AgentType=akonadi_ical_resource
akonadi_akonotes_resource_129\AgentType=akonadi_akonotes_resource
akonadi_contacts_resource_67\AgentType=akonadi_contacts_resource
akonadi_ical_resource_2\AgentType=akonadi_ical_resource
akonadi_akonotes_resource_130\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_131\AgentType=akonadi_akonotes_resource
akonadi_contacts_resource_68\AgentType=akonadi_contacts_resource
akonadi_ical_resource_3\AgentType=akonadi_ical_resource
akonadi_akonotes_resource_132\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_133\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_134\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_135\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_136\AgentType=akonadi_akonotes_resource
akonadi_akonotes_resource_137\AgentType=akonadi_akonotes_resource

Disabled Nepomuk & Akonadi; the machines now fly!

Cheers DenverD

On 02/11/2012 05:06 PM, Addanc wrote:
> Disabled Nepomuk& Akonadi; the machines now fly!

yep…i disabled mine a long time ago…but, i do not depend on the PIM
functions of KDE…

and, if you ever flirted with GNOME that installs another set of pigs
with the same propensity of munching clicks and ram…when you first
boot pop open a top and see if you find “tracker[anything]” i think i
recall tracker-miner, tracker-save or i really don’t remember…

the unrefined wooden stake you need for it is
https://wiki.ubuntu.com/Tracker, which takes some thought to fix…


DD http://tinyurl.com/DD-Caveat
Read what Distro Watch writes: http://tinyurl.com/SUSEonDW

Thanks. I had the same problem after coming home to my monitor telling me that it was being fed an incompatible mode. I did a [Ctrl][Alt][F1} followed by a 3 finger salute. On the reboot this problem manifested.

After stumbling on this thread I set up a different user to see if I really had the same issue. Sure enough. I logged back in as my troubled user. Did a [Ctrl]-[Esc] to get the task manager, selected all the “akonadi_agent_launcher” entries, right clicked and sent the TERM signal to them. It worked nicely, it all works again.

At this point I ain’t going to disable Nepomuk or akonadi as it is time to back up data and install the latest OpenSuse.
I’m running a 2 year old install of:
OS: Linux 3.1.10-1.29-desktop x86_64
System: openSUSE 12.1 (x86_64)
KDE: 4.7.2 (4.7.2) “release 5”