[Gllug] Problem with installing OpenOffice
Stephen Harker
steve at pauken.co.uk
Wed Jun 26 13:21:37 UTC 2002
On Wednesday 26 June 2002 03:32, Bernd Dittmann wrote:
> Hi,
>
> installed OpenOffice a couple of days ago. But
> unfortunately I cannot start it for the following
> reason.
>
> I installed as follow:
>
> Logged in as root on the shell, not X. Once I had the
> tarball in "/opt" I proceeded with "tar -zxvf ..",
> changed into the directory "install" to execute
> "./install --prefix=/opt".
>
> But this is the point where the problem comes up. The
> shell tells me the following:
>
> "Installation starting, please be patient ...
> glibc version 2.2.2
>
> Initializing installation programme .......
> XLib: connection to 0.0 refused by server
> XLib: invalid MIT-MAGIC-COOKIE-1 key
> cannot connect to X server
The installer is an X program. While you may be running it from a console, It
still needs access to the X server. If you are logged into X as a regular
user, you may not be able to access X as root (it depends on how the various
distributions set up Xauth etc.)
> Installation complete
It isn't complete, it's probably a saying that because the program has
terminated. A bug probably. Unless I've misunderstood you.
> X Windows System does not support locale
> "LC-CTYPE=en_GB at euro,..." the same for numeric, time,
> monetary, and so on.
>
> I wonder why the shell says something about connecting
> to X. I was working on the console, not under X.
Well if you are at a vt then it certainly wont work as there IS no X server.
> I nonetheless continued with the setup, i.e. "./setup"
> and installed as a workstation. Looked fine.
How can you tell?
> BUT: I
> cannot start Openoffice from the taskbar or the shell
> since everytime I got the complaint about the
> MAGIC-KEY (see above).
> What on earth is going on?
I think you have to run install as root and then run setup as a regular user
(for each user that wishes to use OO). Both are X applications and should be
run such that the appropriate user can access the X server.
> Do you know where the problem lies and how to solve
> it?
Actually, I'm confused now (again).
I can't remember the trickery required to let you run X applications as root
from a regular user X session but there was some discussion a while back on
the list about this. It just works on my distro (Mandrake). Or at least it
used to until I broke it :-)
Steve
--
Stephen Harker
steve at pauken.co.uk
"The sooner we fall behind, the longer we have to catch up!"
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list