public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] new user can't run X apps
@ 2010-05-05 20:41 Grant
  2010-05-05 20:51 ` Arttu V.
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Grant @ 2010-05-05 20:41 UTC (permalink / raw
  To: Gentoo mailing list

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] new user can't run X apps
  2010-05-05 20:41 [gentoo-user] new user can't run X apps Grant
@ 2010-05-05 20:51 ` Arttu V.
  2010-05-05 21:02   ` Grant
  2010-05-27 11:29 ` David Relson
  2010-05-27 23:14 ` [gentoo-user] " walt
  2 siblings, 1 reply; 6+ messages in thread
From: Arttu V. @ 2010-05-05 20:51 UTC (permalink / raw
  To: gentoo-user

On 5/5/10, Grant <emailgrant@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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] new user can't run X apps
  2010-05-05 20:51 ` Arttu V.
@ 2010-05-05 21:02   ` Grant
  2010-05-05 23:14     ` Arttu V.
  0 siblings, 1 reply; 6+ messages in thread
From: Grant @ 2010-05-05 21:02 UTC (permalink / raw
  To: gentoo-user

>> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] new user can't run X apps
  2010-05-05 21:02   ` Grant
@ 2010-05-05 23:14     ` Arttu V.
  0 siblings, 0 replies; 6+ messages in thread
From: Arttu V. @ 2010-05-05 23:14 UTC (permalink / raw
  To: gentoo-user

On 5/6/10, Grant <emailgrant@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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] new user can't run X apps
  2010-05-05 20:41 [gentoo-user] new user can't run X apps Grant
  2010-05-05 20:51 ` Arttu V.
@ 2010-05-27 11:29 ` David Relson
  2010-05-27 23:14 ` [gentoo-user] " walt
  2 siblings, 0 replies; 6+ messages in thread
From: David Relson @ 2010-05-27 11:29 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: new user can't run X apps
  2010-05-05 20:41 [gentoo-user] new user can't run X apps Grant
  2010-05-05 20:51 ` Arttu V.
  2010-05-27 11:29 ` David Relson
@ 2010-05-27 23:14 ` walt
  2 siblings, 0 replies; 6+ messages in thread
From: walt @ 2010-05-27 23:14 UTC (permalink / raw
  To: gentoo-user

On 05/05/2010 01:41 PM, 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...

Are you also using X as yourself at the same time newuser is trying
to use X?




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-28  0:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 20:41 [gentoo-user] new user can't run X apps Grant
2010-05-05 20:51 ` Arttu V.
2010-05-05 21:02   ` Grant
2010-05-05 23:14     ` Arttu V.
2010-05-27 11:29 ` David Relson
2010-05-27 23:14 ` [gentoo-user] " walt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox