Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been searching the net for a couple hours now trying to find SOMETHING that will give me a clue as to what I'm CERTAIN I'm doing wrong here...
Here are the instructions...
1. Open a shell or terminal window
(No problem there)
2. Enable graphics display for the superuser.
As a normal user, enter the following command:
"xhost +"
(I don't THINK I screwed that up but I've never done it before so ...who knows...in any case, no errors)
3. Become superuser.
enter su - to become superuser
(I usually just type su and hit enter not sure what the dash is for but I tried it both ways and it didn't seem to make a difference)
4. Set the DISPLAY variable to point to your machine.
"export DISPLAY=your_machine_name:0.0"
or enter the equivalent commands for your shell environment.
(I think this is where I screwed the pooch...I'm not even 100% sure what my machine name is nor am I certain where to find it. As for the :0.0 <shrug>)
5. Change to the directory that contains the StarOffice 8 installation program.
(not a problem)
6. Start the setup script
"./setup"
and here's where I run into problems...
I get the following and have no idea how to fix it. I'm a newbie (I've been playing with different distros but I'm still pretty green so I'd appreciate not getting flamed for not doing my "research" when I have no idea what other research I can do besides googling the error message and searching for it on here)
The Installation Wizard can't run in GUI mode.
Maybe the DISPLAY environment variable isn't set correctly.
linux:/var/tmp/unpack_staroffice #
I'm tired and ticked...anybody think they have the answer? (Just so long as it doesn't include slapping me upside the head with a dead fish that's been laying in the hot sun all day)
Have you tried to install without X running? I do not know anything about StarOffice I use OpenOffice but your error says it can't run in a GUI. You can kill X with Ctrl-Alt-F1 then command "etc/init.d/kdm stop" without the quotations and assuming if you are in SuSE you are probably using KDE. Alternately you can just reboot in safe mode. Once you have killed X and logged in as root navigate to the file and run setup again. If install goes then either reboot or "etc/init.d/kdm start" then "startx". Again, without the quotation marks.
Nope...no love. Same error as before. Thanks though.
anybody else know what it is I might be doing wrong? (and actually I'm running gnome if that makes a difference)
Quote:
Originally Posted by TuxSurfer
Have you tried to install without X running? I do not know anything about StarOffice I use OpenOffice but your error says it can't run in a GUI. You can kill X with Ctrl-Alt-F1 then command "etc/init.d/kdm stop" without the quotations and assuming if you are in SuSE you are probably using KDE. Alternately you can just reboot in safe mode. Once you have killed X and logged in as root navigate to the file and run setup again. If install goes then either reboot or "etc/init.d/kdm start" then "startx". Again, without the quotation marks.
4. Set the DISPLAY variable to point to your machine.
"export DISPLAY=your_machine_name:0.0"
or enter the equivalent commands for your shell environment.
I've always used "xhost local:0" but that's a side note
FWIW, I recently installed an evaluation version of StarOffice in SUSE 10.0 (using KDE) and did not follow the instructions. (They look as though they were written for a network setup, not a local setup.) It still worked though. Here are the steps (as I recall).
1. Open a terminal window.
2. Become superuser by entering
su
and then entering your password when prompted. You should get the # prompt.
3. Move to the directory that included the installation shell script, which was so-8-pp2-eval-bin-linux-en-US.sh in my case.
4. Enter
sh so-8-pp2-eval-bin-linux-en-US.sh
the system will run.
5. Move to the directory created (/opt/staroffice8) and run the setup script by entering
./setup
6. Follow the instructions.
FWIW, I recently installed an evaluation version of StarOffice in SUSE 10.0 (using KDE) and did not follow the instructions. (They look as though they were written for a network setup, not a local setup.) It still worked though. Here are the steps (as I recall).
1. Open a terminal window.
2. Become superuser by entering
su
and then entering your password when prompted. You should get the # prompt.
3. Move to the directory that included the installation shell script, which was so-8-pp2-eval-bin-linux-en-US.sh in my case.
4. Enter
sh so-8-pp2-eval-bin-linux-en-US.sh
the system will run.
5. Move to the directory created (/opt/staroffice8) and run the setup script by entering
./setup
6. Follow the instructions.
Good luck in any case.
OH MY GOD!!!!
THOSE PEOPLE SHOULD BE HUNG BY THEIR F*CKING TOES!!!
THAT WORKED!!!! I CAN HARDLY BELIEVE THAT ALL MY TROUBLE AND FRUSTRATION WAS DUE TO THE FACT THAT I WAS FOLLOWING THE DIRECTIONS!!!!
For some people, in order to run anything as root in X, you have to enter the xhost local command.
That's why that step is included. I don't really see the point of pointing it to a specific screen though, unless you're on a server or have multiple screens set up...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.