Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 1997 10:01:01 +0200
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        "Chris F." <theta@gte.net>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: Xwindows apps: Can't open display
Message-ID:  <19970728100101.34612@gil.physik.rwth-aachen.de>
In-Reply-To: <199707261902.OAA18226@smtp.gte.net>; from "Chris F." <theta@gte.net> on Sat, Jul 26, 1997 at 02:02:11PM -0500
References:  <199707261902.OAA18226@smtp.gte.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 26, 1997 at 02:02:11PM -0500, Chris F. wrote:
> I am using FreeBSD 2.2.2.  When running Xwindows applications I get the
> following error:
> 
> (When I don't set the display variable)
> 
> Error: Can't open display:

This is normal. You gotta set the DISPLAY variable.

> 
> (When I set it to :0)
> 
> Error: Can't open display: :0
> 
> I don't know what I should set my display variable to.  I have tried setting
> it to :0, unix:0, unix:0.0, as they were suggested in archived mailing list
> messages.  None of them caused any different results.  Please copy all
> suggestions to me at theta@gte.net. 

Setting it to :0 should work.

Which X server are you running?

Did you su to some other user? 

> 
> Thank you,
> Chris

-- 
--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970728100101.34612>