You are not logged in.

#1 2016-03-05 13:10:25

Corvin
Member
From: Poland, Gdansk
Registered: 2006-02-12
Posts: 68

Applications wont start, "Could not connect to Display 0.0"

Hi Team, and others,

From some time I have encounter similar issue as described in below link:

https://bbs.archlinux.org/viewtopic.php?id=209705

I've installed Arch for many years just regulary updating, a few months ago I switched to Plasma 5,
looks nice, but I have issue as in above link. Initially everything apart from Krusader works as expected.
But aftter let say 0,5 hour Plasma is starting to crash: I cannot start any application and if I launch it with konsole I got abve message:

Could not connect to Display .....

I was thinking about eventually reinstall everything from scratch but above link scare me that it could not help. I also have SDDM. And exported DISPLAY variable.
Krusader on the other hand complaints about like file unable to create io-slave in Klauncher.

Ive Googled for many hours but could not find a solution.

Could you help me?

Thanks,
Zbigniew

Offline

#2 2016-03-05 14:47:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Applications wont start, "Could not connect to Display 0.0"

So you link to a relevant thread - but did you actually read that thread?  There are diagnostic suggestions there you should follow rather than having us ask all those questions again.  You've been here long enough to know this.

More imporantly:

Corvin wrote:

I also have SDDM. And exported DISPLAY variable.

If you read that thread two things would be clear to you: 1) SDDM was the problem for that user, and 2) you should not export the DISPLAY variable.

Mod note: moved to N.C.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2016-03-05 15:07:08

Corvin
Member
From: Poland, Gdansk
Registered: 2006-02-12
Posts: 68

Re: Applications wont start, "Could not connect to Display 0.0"

ok but this is definiately NOT the solution, author of a thread was asked to wait but he installed GDM.
I can agree that exporting DISPLAY maybe nowadays is not a best solution but could you provide me with different which makes possible to run X apps from root konsole?

Are you sure that so severe issues are Newbie?

Offline

#4 2016-03-05 15:43:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Applications wont start, "Could not connect to Display 0.0"

Corvin wrote:

I can agree that exporting DISPLAY maybe nowadays is not a best solution

It's not any kind of solution - it will break things, but be my guest, it's your system.

Corvin wrote:

but could you provide me with different which makes possible to run X apps from root konsole?

No, becuase you still haven't provided the relevant information.  I also don't know what you mean by root konsole.  If you are running X as root, that is ill advised, and you should specify that you are.

Corvin wrote:

Are you sure that so severe issues are Newbie?

No.  I'm not sure of anything about this issue as you - again - have not provided the relevant diagnostic information.

The issue at hand is not what landed this thread in the Newbie Corner, rather it was your approach to it.

And I see that you have a history of quibbling with people who try to help you rather than providing the information they request.  It seems in the time since your previous thread you have not changed that approach.  I suggest you change it now, or this thread will not even remain in the Newbie Corner.

I for one will not argue with you or fight to try to help you.  Perhaps someone else will bother, but I'm done.

I will leave you with one peice of information which you were directed to previously, but I don't think you bothered to read.  If you read this and take it to heart, you will find your exchanges on technical forums to be much more productive than yours have historicaly proven to be:

http://catb.org/~esr/faqs/smart-questions.html


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2016-03-05 16:34:54

Corvin
Member
From: Poland, Gdansk
Registered: 2006-02-12
Posts: 68

Re: Applications wont start, "Could not connect to Display 0.0"

no I'm not running as root, otherwise it won't be a question
mayeb it doesn't sound good but I don't know how to provide good diagnostic information
I see only that after about 30 minutes apps can't be started, I just disabled SDDM, maybe it is buggy and in my case it doens't work.
If I could find anything intresting in logs in /var/log directory I would probably resolve a problem on my own.
Sometimes is not so easy to provide precise info but maybe someone has encountered something similar.

I just learned that I'm using this forum more than 10 years.

And I uderstand you that moderator work is not nice, but you seem to be angry, somewhat impolite and probably tired.

Offline

#6 2016-03-05 17:14:59

Corvin
Member
From: Poland, Gdansk
Registered: 2006-02-12
Posts: 68

Re: Applications wont start, "Could not connect to Display 0.0"

powerdevil probably was crashing plasmashell

https://bugs.debian.org/cgi-bin/bugrepo … 1739;msg=5

disabling SDDM doesn't helped but this looks more logical and similar to mine logs. Probably after a few minutes of inactivity (5) PowerDevil was trying to dimnish screen then changed UDEV for a screen which in turn crashed plasmashell

Last edited by Corvin (2016-03-05 17:17:48)

Offline

Board footer

Powered by FluxBB