You are not logged in.

#1 2012-09-25 12:14:39

DasLampe
Member
Registered: 2012-08-24
Posts: 6

[Solved] [Macbook 9,2] xrandr - "Can't open display"

Hi,

after a long time Arch Linux runs on my Macbook! smile

Now I need an X-Server. After a while it runs too. smile
But I can't load i3. sad

When I starting it with:
xinit i3

i3 display: "ERROR: No outputs found via RandR, disabling"

When I use xrandr in commandline, it show's:
"Can't open display"

How can I fix it?

Last edited by DasLampe (2012-09-25 19:29:51)

Offline

#2 2012-09-25 12:35:41

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

Re: [Solved] [Macbook 9,2] xrandr - "Can't open display"

When you say you get that error in commandline, do you mean a tty without X running?  If so, that is the expected result.

Not that this is part of a solution, but it may refocus on the problem: X/i3 is failing to start properly, this may not actually be related to xrandr.

As a test, have you / can you try starting the twm session described in the beginners guide?  Does that work?

Then please post your ~/.xinitrc.


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

Offline

#3 2012-09-25 12:53:02

DasLampe
Member
Registered: 2012-08-24
Posts: 6

Re: [Solved] [Macbook 9,2] xrandr - "Can't open display"

Yes I can start the twm.

I have not .xinitrc
I try the xinit command on commandline. (xinit i3)

The error shows in an X Window ... it looks like an i3 window.

Offline

#4 2012-09-25 13:03:14

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

Re: [Solved] [Macbook 9,2] xrandr - "Can't open display"

DasLampe wrote:

I have not .xinitrc
I try the xinit command on commandline. (xinit i3)

The error shows in an X Window ... it looks like an i3 window.

There's the problem.  Create an ~/.xinitrc.


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

Offline

#5 2012-09-25 19:28:51

DasLampe
Member
Registered: 2012-08-24
Posts: 6

Re: [Solved] [Macbook 9,2] xrandr - "Can't open display"

Oh. xD

Thanks for helping! smile

Offline

Board footer

Powered by FluxBB