Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-18-2004, 05:47 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 14

Rep: Reputation: 0
Question Cant install Open Office

Hi, I have Debian Linux kernel 2.4. It is set to use GNome at startup.

I want to install Open-Office.

According to:

You have to be logged in as root to install it.

But GNome Desktop Manager does not let you log in as root.

So I pressed CtrlAlt-F1 and logged in as root and ran ./setup -net.
But is says "cannot connect to X Server".

So I log into Gnome and start a new terminal. Cant log in as root from here either. Tried to run the install again, and it starts, but then it tells me adminstrator rights are required.

Any thoughts on how I get Open Office installed? <g>

Should I start Linux without GNome (how again please?) and then type startx after loggin in as root? How? Even if used Ctrl-Alt-Backspace to try and kill GNome, the GNome login screen keeps coming back.

Also tried apt-get openoffice, but I dont think its in my release yet.

Only been using Linux for four days now. Any detailed help would be much appreciated! Thanks.
Old 12-18-2004, 06:08 PM   #2
LQ Newbie
Registered: Dec 2004
Distribution: SuSE 9.1
Posts: 28

Rep: Reputation: 15
Log in as your normal user, cd to the directory and then run "su" and enter your root password. Then run the setup.
Old 12-18-2004, 06:22 PM   #3
LQ Newbie
Registered: Dec 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Ahhh.... better. Thanks.

I found this way:

Disable gdm by running: update-rc.d -f xdm remove
Restart the system.
Log in as root.
Run startx to get into KDE. Run install.
Then hopefully turn it back on by running:
dpkg-reconfigure xdm

For a newbie I ma getting better at it.

But thanks for the "su". Will remember and use that again for sure.
Old 12-18-2004, 08:38 PM   #4
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 32
Here's a hint that I think you'll really like.

1) Login per usual. (normal user)
2) Press Ctrl+Alt+F1 to go to a terminal
3) Login as root
4) Type `startx -- :1`

You will be logged into a new x session with root. To switch back to your original session, Press Ctrl+Alt+F7. And back Ctrl+Alt+F8.

To set gnome as root's default environment, create the file /root/.xinitrc and put this in it:

Happy hacking!
Old 12-18-2004, 08:48 PM   #5
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 32
Actually, I didn't really want to post what I just posted, because it's bad practice to login to x as root. I posted it anyways because I'm betting it'll make you real happy. (besides, you can use it with multiple regular users too)

Anyways, I know it can be a problem of running x programs as root with Debian. Here is the more proper way.

apt-get install sux
(SU for Xwindows)

This program will transfer your x environment to the new su shell. So then you type:
$ sux -
# xprogram_name

And it should run like a charm.
Old 12-18-2004, 10:00 PM   #6
Registered: Apr 2004
Location: Timisoara, Romania
Distribution: Debian
Posts: 90

Rep: Reputation: 15
Don't tell him that!!

Ben: install aptitude(text) or synaptic(graphic). Enter aptitude and synaptic and install openoffice. Better use synaptic for a first time job, but afterwards use aptitude, because sometimes you won't have an graphical enviroment...
You do not have to enter with root into X to be able to install openoffice. Most of the programs will require for you to be root, but you don't have to be roor everywhere and anytime.
Get it?

Debian rulz )
Old 12-18-2004, 10:13 PM   #7
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 32
Sorry, he said he tried apt-get, but then thought it wasn't in his release. I just figured he was probably using woody(stable). To install OO on unstable, the full package name ends with ".org", like this:

apt-get install

And yes, I definitely recommend aptitude. It is a beautiful(for text) program.
apt-get install aptitude

To do a package search, type:
apt-cache search <search_string> | less

apt-cache search aptitude | less


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to install open office nvelez Linux - Newbie 1 09-17-2002 11:44 AM
help with open office install manuel_cano Linux - Software 4 08-31-2002 03:31 AM
Open Office Install tangle Linux - Software 1 06-11-2002 08:43 PM
open office install loganwva Linux - General 2 03-28-2002 12:05 AM
open office install-not lachlan Linux - Software 2 03-27-2002 02:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:45 PM.

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