Return to BSD News archive
Newsgroups: comp.os.386bsd.questions From: ian@helen.demon.co.uk (Ian Newham) Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!pipex!demon!helen.demon.co.uk!ian Subject: XOpenDisplay failures Organization: (none) Reply-To: ian@helen.demon.co.uk X-Newsreader: Simple NEWS 2.0 (ka9q DIS 1.24) Lines: 22 Date: Sat, 11 Jun 1994 15:34:47 +0000 Message-ID: <771348887snz@helen.demon.co.uk> Sender: usenet@demon.co.uk I'm running NetBSD-current, 5th March ...not so current:) with XFree86 2.00 I've recently tried compiling a few things, eg ghostscript, but they all seem to fail with a Cannot Open Display ':0.0' or similar message All the binaries that came with xfree are fine, they run ok. I have noticed though that I managed to build gtetris4 ok, but that calls XrmInitialize() then XOpenDisplay(), whereas those that fail go straight in with XOpenDisplay(0). Have I got to rewrite everything open the display with XrmInitialize first? Is there something dumb I'm missing here (more than likeley)- I'm OK on unix but I don't know much about X. Any thought's? BTW If this is in a faq or something forgive me I seem to have waded through so many man pages etc... I thought I'd give up and ask -- +----------------------------------------------------+ | Ian Newham Nottingham, U.K. | | ian@helen.demon.co.uk | +----------------------------------------------------+