Hello all. I had OpenOffice 1.0.0 successfully installed on my system for a couple of months. On Saturday, I removed it, to do a clean install of OpenOffice 1.0.1. I followed the instructions on the OO.org site, which have not changed since the previous successful installation. You download the package into /tmp, su to root, untar the package, which creates a /tmp/install directory and dumps hundreds of files in there. Then, you cd to /tmp/install and run the install script. When I do that, this is the result: mybox:/tmp/install # ./install --prefix=/opt Installation starting, please be patient ... glibc version: 2.2.5 Initializing installation program.......... Xlib: connection to ":0.0" refused by server Xlib: No protocol specified cannot connect to X server Installation Completed mybox:/tmp/install # I tried earlier suggestions in the OpenOffice[users] list, but they assumed that I was using a terminal without X. In fact, I tried several different ways of running a terminal from withn KDE, and the result was the same every time. I'm making the assumption that if I have invoked a Konsole from the KDE menu of the desktop panel, then I am probably using X... yes? So, I searched the last few months of this list (SuSE-KDE) and found the suggestion by Ben Rosenberg:
You would need to do this...
ssh -X -l root localhost
The -X lets you exectute X programs as root :)
Again, I got exactly the same result as above.... though now, at least, "localhost" is in the database of trusted callers <grin>. So, the questions are: X is working, why is it refusing to acknowledge OO1.0.1 install? Or, why would OO1.0.1 install script be failing to get itself properly ingratiated with the X server? Is there some sort of link I could create, to fool somebody as to who they are talking to? Is there something like that "source" bash command that was used to fool OpenOffice1.0 into believing that I was running its favorite version of Java? Currently using SuSE 8.0, KDE 3.0.2, and XFree86 version 4.2.0. One difference between now and when OO1.0.0 was successfully installed, is that I probably had KDE 3.0.1 installed then. However, it still worked after I "upgraded" to KDE 3.0.2, so that's probably not the problem... (or is that a bad assumption?)_ There may be other differences, because I run YOU every couple of weeks. Thoughts? Suggestions? If it's RTFM, which FM do you mean? I've been searching FAQs and finding nothing related to this situation. The "Installation Guide" PDF ignores this issue. Thanks, /kevin (who needs an office suite to work, but doesn't have one)
On Monday 19 August 2002 17.36, Kevin McLauchlan wrote:
the package into /tmp, su to root, untar the package, which
Don't "su" to root. Use "sux" instead.
ssh -X -l root localhost
The -X lets you exectute X programs as root :)
Again, I got exactly the same result as above.... though now, at least, "localhost" is in the database of trusted callers <grin>.
Are you saying this didn't work? That is completely unbelievable. Or did you "ssh" *after* you had su:ed? Here's the deal: X doesn't know about root, it know only about the user that started it. That user has all the permissions to run programs that use the running X. As that user you need to grant permissions to other users to run programs. There are several ways to do this: As the user that started X, run "ssh -X root@localhost" As root after "su", run "export XAUTHORITY=/home/user/.Xauthority" where "user" is the user that started X. As the user that started X, run "sux" instead of "su" to go to root. This will essentially do the XAUTHORITY thing I mentioned, but you won't have to know about it :) As the user who started X, run "xhost +inet:localhost". This will allow *all* users logged in to the local machine to run X programs. I'm sure there are other ways, but these should be enough to be getting on with //Anders -- 'Deserves [death]. I daresay he does. Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends.' --Tolkien, The Lord of the Rings
participants (2)
-
Anders Johansson
-
Kevin McLauchlan