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

Reply via email to