xopendisplay no display varibale declared

Glynn Clements glynn at gclements.plus.com
Wed Sep 22 02:53:49 PDT 2010


yoni dana wrote:

> I have a software which is loaded before the X server is running.
> After the X server is up,I try to use the xopendisplay function with NULL ,
> parameters and fails.(Reason no display parameter declared)
> Any idea how to solve this problem?

Either set $DISPLAY, or pass something other than NULL as the display
argument to XOpenDisplay(). Ideally, the program should provide a
-display switch to specify the display to connect to.

-- 
Glynn Clements <glynn at gclements.plus.com>



More information about the xorg mailing list