OpenOffice-bin Installer can't connect to X-server

Chris sums3l at yahoo.de
Tue Feb 3 15:22:36 GMT 2004


Also make sure your DISPLAY variable is set if you login as "su -". 
"export DISPLAY=:0.0" should do it.

Chris

Terry Chan wrote:
> The "xhost +localhost" instruction could be a little clearer.
> 
> The intended situation is:
> 
> 1. You have started X as a regular user (either from startx as regular user
> or logged in as a regular user from xdm|kdm|gdm).
> 
> 2. One of your xterm's is running as root (through the "su -")
> 
> 3. In the xterm you are logged in as regular user (not root),
> you need to give the command "xhost +localhost" before you try
> to "lin openoffice-bin" in the xterm that is logged in as root.
> 
> If you are running your entire X session already as root then
> you do not need to mess around with "xhost +localhost" because
> root already has access to the display.
> 
> And of course you are inside of X for all of this right ?
> 
> You are not trying to "lin openoffice-bin" from a linux console
> right ?
> 
> Terry Chan
> -----------------------------------------------------------------
> On Mon, Feb 02, 2004 at 09:25:27PM -0700, Carl R. Powers wrote:
> 
>>Installation of openoffice-bin keeps failing because the installer
>>can't connect to the X-server.   I've followd their instructions about
>>setting "xhost +localhost" to no avail.  The only networking I have
>>installed and working is dialup ppp.
>>
>>Any suggestions?  I realize I could untar the archive, edit their
>>install script to set the lunar preferred paths, and then just run
>>that file, but I'd rather do it the right way.
>>
>>Thanks,
>>Carl Powers
>><powers at trac.wsmr.army.mil><powers at copper.net>
>>


More information about the Lunar mailing list