You are not logged in.

#1 2012-12-09 15:33:05

foxconn2012
Member
From: /dev/null
Registered: 2012-04-30
Posts: 7

[SOLVED] Window manager error: Unable to open X display

G'day, fellow hardened Arch veterans.

I am currently dealing with a very frustrating and embarrassing Xorg issue.

When I start up my rig, everything loads itself nicely.
At loading my desktop environment, it gets bad.
For a little moment screen goes all black and then my wallpaper loads itself up. And that's it. Only the wallpaper and nothing else. No cursor, no windows, no panels.

After switching to CLI interface and typing in "cinnamon" with my user account, it outputs the following:

"Window manager error: Unable to open X display"

When I try to execute my cinnamon session manually, a short text appeared, but then suddenly in the blink of an eye it disappears and logs me out.

I tried to fix that issue at least partially by reconfiguring Xorg with "nvidia-xconfig", but it didn't help at all.

I looked up the Arch Wiki and Forums, but there was almost nothing about that issue and if there was anything, it didn't help. I'll try to post some logs here, but it's nearly impossible just to copy n' paste them with Lynx.

If it has been already solved, link me to the topic.

Last edited by foxconn2012 (2012-12-09 20:39:24)

Offline

#2 2012-12-09 16:38:15

Le Void
Member
Registered: 2011-04-23
Posts: 20

Re: [SOLVED] Window manager error: Unable to open X display

Some things: for uploading pastes from the shell: http://www.question-defense.com/2009/10 … inux-shell
Our wiki might also have something on this, I think I saw it in the installation/beginners guide.
Also do stuff like

$ startx > myx.log

or

$ cinnamon > cinna.log

in the prompt, that will write the stdout of that program to the specified file, so you can read the text if it disappears too fast.

Offline

#3 2012-12-09 16:52:33

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

Re: [SOLVED] Window manager error: Unable to open X display

Is cinnamon even supposed to start x on it's own?  That would not be normal behavior for a WM/DE*.  Usually you'd put the cinnamon command in xinitrc and call startx or xinit.

*Note: but I've never actually used cinnamon, nor any of the big DEs.

Last edited by Trilby (2012-12-09 16:53:16)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2012-12-09 16:58:35

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Window manager error: Unable to open X display

Do you have X configured?
First try starting X with an empty .xinitrc and see if there are any messages regarding your X configuration. Try another WM/DE instead.

Last edited by illusionist (2012-12-09 17:02:33)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#5 2012-12-09 17:32:54

foxconn2012
Member
From: /dev/null
Registered: 2012-04-30
Posts: 7

Re: [SOLVED] Window manager error: Unable to open X display

Here is my Xorg.0.log paste

https://gist.github.com/4246211

Xorg.1.log

https://gist.github.com/4246219

Xorg.2.log

https://gist.github.com/4246221

Last edited by foxconn2012 (2012-12-09 17:34:45)

Offline

#6 2012-12-09 17:42:07

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Window manager error: Unable to open X display

Are you running testing repo ?


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#7 2012-12-09 17:49:40

foxconn2012
Member
From: /dev/null
Registered: 2012-04-30
Posts: 7

Re: [SOLVED] Window manager error: Unable to open X display

testing
core
community
community-testing
multilib
multilib-testing
extra
mate

Offline

#8 2012-12-09 18:04:34

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Window manager error: Unable to open X display

There is your problem.
Why are you using testing repo ? Things are definitely going to breake there. (That is why it is testing.)
Comment all the testing repos and re-sync all the packages again.

EDIT: You should read this
and this

Last edited by illusionist (2012-12-09 18:09:56)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#9 2012-12-09 18:19:32

foxconn2012
Member
From: /dev/null
Registered: 2012-04-30
Posts: 7

Re: [SOLVED] Window manager error: Unable to open X display

Well, that didn't do anything for me. :v

Even if testing repos would be commented, my xorg would still be bricked.

Also, testing packages never broke a single thing on my rig for at least a few months. :v

Last edited by foxconn2012 (2012-12-09 18:22:03)

Offline

#10 2012-12-09 18:37:52

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [SOLVED] Window manager error: Unable to open X display

foxcomm2012 wrote:

Also, testing packages never broke a single thing on my rig for at least a few months. :v

But that does not mean it never will.

Try downgrading your xorg + (all the dependencies) to a stable version.

Apart from that your logs show that xorg is unable to find the screen. Replace your graphics driver from proprietary to open source or vice-versa and remove any weird configuration you have .


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#11 2012-12-09 18:48:45

foxconn2012
Member
From: /dev/null
Registered: 2012-04-30
Posts: 7

Re: [SOLVED] Window manager error: Unable to open X display

My GPU apparently hates nouveau. After installing it and rebooting the system I was dealing with the "Black Screen of No Signal".

Had to chroot into my install to change it back.




EDIT:

Installing the git version of nouveau solved the problem, but at launching slim... bleh.

https://gist.github.com/4246607

Last edited by foxconn2012 (2012-12-09 19:19:57)

Offline

#12 2012-12-09 20:37:06

foxconn2012
Member
From: /dev/null
Registered: 2012-04-30
Posts: 7

Re: [SOLVED] Window manager error: Unable to open X display

Sorry for doubleposting, BUT!

I have just kind of fixed the problem, when I switched sessions from cinnamon to GNOME by disabling and uninstalling SLiM and enabling GDM.

So you know what, guys? Until I'll be finished with my own research on Cinnamon, I will use GNOME.

Sorry for making it a big problem, comrades. N9y4

Offline

Board footer

Powered by FluxBB