Re: [gentoo-user] new user can't run X apps

2010-05-27 Thread David Relson
On Wed, 5 May 2010 13:41:19 -0700
Grant wrote:

 I created a new user with useradd but I get X errors like cannot open
 display and cannot connect to X server when I try to run X apps as
 the new user.  I've tried restarting with the same results.  Does
 anyone know why this is happening?
 
 - Grant

Have you tried strace?  It'll help tell what the app is doing just
before the cannot open ... message is displayed.

HTH,

David



[gentoo-user] new user can't run X apps

2010-05-05 Thread Grant
I created a new user with useradd but I get X errors like cannot open
display and cannot connect to X server when I try to run X apps as
the new user.  I've tried restarting with the same results.  Does
anyone know why this is happening?

- Grant



Re: [gentoo-user] new user can't run X apps

2010-05-05 Thread Arttu V.
On 5/5/10, Grant emailgr...@gmail.com wrote:
 I created a new user with useradd but I get X errors like cannot open
 display and cannot connect to X server when I try to run X apps as
 the new user.  I've tried restarting with the same results.  Does
 anyone know why this is happening?

Is the user in the video group?

-- 
Arttu V.



Re: [gentoo-user] new user can't run X apps

2010-05-05 Thread Grant
 I created a new user with useradd but I get X errors like cannot open
 display and cannot connect to X server when I try to run X apps as
 the new user.  I've tried restarting with the same results.  Does
 anyone know why this is happening?

 Is the user in the video group?

Yes, I should have said that.

- Grant



Re: [gentoo-user] new user can't run X apps

2010-05-05 Thread Arttu V.
On 5/6/10, Grant emailgr...@gmail.com wrote:
 I created a new user with useradd but I get X errors like cannot open
 display and cannot connect to X server when I try to run X apps as
 the new user.  I've tried restarting with the same results.  Does
 anyone know why this is happening?

 Is the user in the video group?

 Yes, I should have said that.

How have you set up the X session for the users? Is it specified,
e.g., in /etc/env.d/90xsession or in some user-specific configuration
files that only the other one would have?

Does anything exceptional appear in Xorg.log?

(As you can notice, I'm just guessing and shooting in the dark here.)

-- 
Arttu V.