[PLUG] Opening X app when su root

AthlonRob AthlonRob at axpr.net
Sat Sep 18 11:16:02 PDT 2004

On Sat, 2004-09-18 at 10:51 -0700, Rich Shepard wrote:
> /opt/OpenOffice.org1.1.2/program/spadmin.bin X11 error: Can't open display:
>     Set DISPLAY environment variable, use -display option
>     or check permissions of your X-Server
>     (See "man X" resp. "man xhost" for details)

So set the DISPLAY environment variable or use the -display option in

export DISPLAY=:0

...to set the display to the main localhost display.  :-)

Rob                                |  If not safe,
   Jabber: athlonrob at axpr.net   |    one can never be free.

More information about the PLUG mailing list