Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] new user can't run X apps
Date: Thu, 27 May 2010 11:29:38
Message-Id: 20100527072908.2cb01b8a@osage.osagesoftware.com
In Reply to: [gentoo-user] new user can't run X apps by Grant
1 On Wed, 5 May 2010 13:41:19 -0700
2 Grant wrote:
3
4 > I created a new user with useradd but I get X errors like "cannot open
5 > display" and "cannot connect to X server" when I try to run X apps as
6 > the new user. I've tried restarting with the same results. Does
7 > anyone know why this is happening?
8 >
9 > - Grant
10
11 Have you tried strace? It'll help tell what the app is doing just
12 before the "cannot open ..." message is displayed.
13
14 HTH,
15
16 David