Re: Error: Can't open display: 192.168.21.159:0.0
Re: Error: Can't open display: 192.168.21.159:0.0
- Subject: Re: Error: Can't open display: 192.168.21.159:0.0
- From: Jeremy Huddleston <email@hidden>
- Date: Thu, 9 Dec 2010 17:34:12 -0800
On Dec 9, 2010, at 11:11, William Adams wrote:
> Managed to puzzle out that the missing file I mentioned previously was not being found 'cause I failed to execute a
>
> source /etc/xyvision/xyv.cshrc
>
> line.
>
> Now, I'm stymied by the error in the subject line:
>
> Error: Can't open display: 192.168.21.159:0.0
Don't set $DISPLAY unless you *really really really* know what you're doing.
> I've entered the command:
>
> [William-Adamss-iMac-2:~] williamadams% xhost +
> access control disabled, clients can connect from any host
That is highly insecure. Also, TCP/IP connections are disabled by default (to prevent people from doing things like this). If you really want to open yourself up to security risks, you can enable this in the security preference pane.
> I was told to try:
>
> [William-Adamss-iMac-2:~] williamadams% echo $DISPLAY
> :1.0
That would be wrong to. Don't set $DISPLAY. Check your ~/.*rc ~/.profile files
If you do it right (ie, you do nothing), it will look like this:
$ echo $DISPLAY
/tmp/launch-XXXXXX/org.macosforge.xquartz:0
or
$ echo $DISPLAY
/tmp/launch-XXXXXX/org.x:0
There's an entry for this in our FAQ with more details, but the website seems to be down for some reason right now.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden