LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2004, 06:15 AM   #1
michelbehr
Member
 
Registered: Oct 2003
Location: Brazil
Distribution: Gentoo
Posts: 35

Rep: Reputation: 15
Question OpenOffice-1.1.0 installation prob... "cannot connect to X-server"...


Hi!

Im trying to install OpenOffice 1.1.0, but after i tar the file and everything, i issue "./setup -net" (just like they say - http://www.openoffice.org/dev_docs/instructions.html) and i get this message:

glibc version: 2.3.1
./setup: cannot connect to X-server

Any suggestions?


Thanx in advance!!!

Last edited by michelbehr; 03-06-2004 at 06:19 AM.
 
Old 03-06-2004, 07:57 AM   #2
davidschob
Member
 
Registered: May 2003
Posts: 56

Rep: Reputation: 17
I've had that happen before too. Try running the install script, which is distributed with the newer versions of OO. Run it with ./install.sh it should guide you through the process. After installing you have to set it up for each user on your machine (just a quick little setup in the OpenOffice directory) but the installer should tell you how to do it. Hope that helps! One more caveat, since this seems like your first time running OO, you may have to install your anti-aliased fonts and printers through spadmin (another little script in the OpenOffice directory).

Good Luck!

david
 
Old 03-06-2004, 09:27 AM   #3
michelbehr
Member
 
Registered: Oct 2003
Location: Brazil
Distribution: Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
Thanx!

I got it installed, ran the 'little setup' u told (soffice), but i had to run it from "run..", on the desktop, u know? (im sorry, im brazilian and im a newbie! :-) If i was to run soffice from xterm it would give a error message about display or something... but anyway, i got the setup running (as root, im running XWindow as root), but now... i dont know what to do!! :-) At openoffice.org, they say at last step "That's it! If you use GNOME or KDE (provided your distro keeps the KDE user files in ~/.kde2), you will find that OpenOffice.org is fully integrated in your environment. If you use a different Windowmanager, you can start OpenOffice.org by typing ~/OpenOffice.org1.1.0/soffice" Im using XWindow, so i did the second case... and got this error message:

< Cant open display:

Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details) >

...and it didnt run with "run..." on the desktop...


Im REALLY a newbie, so... go easy, ok? :-) I mean... i dont what display is! :-) Is it a variabe, a config file...


Last edited by michelbehr; 03-06-2004 at 09:33 AM.
 
Old 03-06-2004, 01:17 PM   #4
davidschob
Member
 
Registered: May 2003
Posts: 56

Rep: Reputation: 17
I'll try to help. But I've never had that specific problem... So just to make sure. You ran "install.sh" from the unpacked directory... then as a user, not as root, you went to the openoffice install directory (usually it's in opt or /usr/share and it's called "OpenOffice" and ran "setup" which installed user specific stuff. After that you should be able to (as the user you installed it under) run "soffice" and it should come up...

ps, don't apologize for being new, we all were (as a matter of fact I think I still am no matter what my little category says underneath my name, there's too much to learn).

david
 
Old 03-06-2004, 02:31 PM   #5
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
just skimming the post, sorry if i don't answer the question directly

when you are trying to run soffice from terminal, did you do su- (enter root password) before you issued the soffice command? or did you login as another user in the terminal?

if so, that is your problem; just open a fresh terminal and type soffice
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
prob in installation of quicktime4linux nick021 Linux - Newbie 3 10-18-2005 07:01 PM
Prob w/ kubuntu installation kris2pe Linux - Software 8 05-10-2005 08:38 AM
Linux installation prob wrangler Linux - Newbie 11 02-26-2005 02:52 AM
SuSE 9.0 Installation prob. NoviceW Linux - General 7 06-05-2004 02:36 AM
RPM installation prob?? Clumsy Linux - General 1 03-28-2002 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration