Gentoo Archives: gentoo-user

From: David Sveningsson <ext@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Xt error: Can't open display: :1
Date: Tue, 07 Dec 2010 15:53:58
Message-Id: 4CFE5830.1050307@sidvind.com
In Reply to: [gentoo-user] Xt error: Can't open display: :1 by David Sveningsson
1 On 2010-12-06 18:27, David Sveningsson wrote:
2 > Hi, for years I've been running a multiple monitor setup based on two
3 > screens, on a few different machines.
4 >
5 > Recently, I can not say exactly when but after system upgrades, I am
6 > unable to open windows on the secondary monitor.
7 >
8 > At first I thought this was related to ati-drivers as they cause lots of
9 > issues anyway but today I got the same problem with another machine
10 > running nvidia-drivers.
11 >
12 > In the console (running X) all I see is:
13 >
14 > xterm Xt error: Can't open display: :1
15 >
16 > However, by starting a terminal at :0 and address the other monitor as
17 > :0.1 (which is the correct name) I can start a terminal and from there
18 > start everything. But that is quite inconvenient.
19 >
20 > I don't really know how to debug this as there is so many different
21 > factors involved, so got any clue on how to solve this? In both cases I
22 > upgraded the system in one go, so I cant pinpoint a specific version of
23 > any package without downgrading one at a time.
24 >
25 > Xorg is setup as following:
26 > 2 monitors, 2 cards (multihead), 2 screens and serverlayout setting the
27 > layout of the monitors.
28 >
29 > As window manager I am using fluxbox.
30 >
31 > # emerge -pvq fluxbox xorg-x11 xorg-server nvidia-drivers
32 >
33 > [ebuild R ] x11-base/xorg-server-1.9.2.901 USE="ipv6 nptl udev xorg -dmx
34 > -doc -kdrive -minimal -static-libs -tslib"
35 > [ebuild R ] x11-wm/fluxbox-1.1.1-r2 USE="imlib nls slit toolbar truetype
36 > -gnome -newmousefocus -vim-syntax -xinerama"
37 > [ebuild R ] x11-base/xorg-x11-7.4-r1
38 > [ebuild R ] x11-drivers/nvidia-drivers-260.19.21 USE="(multilib) -acpi
39 > -custom-cflags -gtk"
40 >
41 > So, any ideas?
42 >
43
44 To further investigate the problem I used genlop and a small
45 pythonscript to mask all packages recently updated.
46
47 I found that downgrading from x11-libs/libX11-1.4.0 to
48 x11-libs/libX11-1.3.6 resolves the issue.
49
50 Still no idea why it stops working thought.