Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 1997 19:29:57 -0500 (CDT)
From:      "Jay D. Nelson" <jdn@qiv.com>
To:        "Chris F." <theta@gte.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: XWindows:  Can't open display:
Message-ID:  <Pine.BSF.3.96.970726192820.4449B-100000@acp.qiv.com>
In-Reply-To: <199707261927.OAA24580@smtp.gte.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Try:

	export DISPLAY=:0.0

or

	setenv DISPLAY :0.0

depending on your shell. You have to do this anytime you use 'su -'. You
shouldn't be working as root anyway.

-- Jay

On Sat, 26 Jul 1997, 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:
->
->(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. 
->
->Thank you,
->Chris
->
->




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970726192820.4449B-100000>