Cannot open display UNIX:0.0
DISCUSSION
Cannot open display UNIX:0.0
RESOLUTION
Running sxprocess an xterm comes up successfully. Now from within this xterm you type xclock & and then you get the error: ´Error: Cannot open display UNIX:0.0 ´ Now if instead you run xclock -display unix:1 & the xclock appears. The reason for this is probably because you have no *display variable set at all in your .sxprocessrc file (or it is commented out). The same way TCP/IP will set the DISPLAY variable to be 0.0 if you don't specify a value. In the same manner under sxprocess your DISPLAY variable will get set to unix:0.0 if you don't set a display. By default sxprocess
assigns your remote PC display equal unix:1.0 since unix:0.0 is set aside for the UNIX console display when you comment out *display in the .sxprocessrc file. You can always check the value of DISPLAY simply by running ´env´ at the UNIX prompt. To remedy the problem add the entry *display: 1 to your .sxprocessrc file.
|
|