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 05-12-2005, 10:57 PM   #1
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Suddenly can't run as regular user--or install for one

I've been using OpenOffice.org1.1.3 just fine for quite a while. Today I was using it with no problems, went out to dinner, and when I came back both my spreadsheet and word-processing document (which I keep going all the time, starting them from .xinitrc) had disappeared from the screen; when I went to start up soffice again, I got messages complaining about not being able to associate a name with certain java files--I'm sorry, but I didn't copy the messages down. I tried again and got many messages about not finding libraries.

Then I tried running it as root, and it ran normally.

I tried uninstalling and reinstalling from the same package I'd successfully used before, and saved, and was able to do the "setup -net" part and get root's copy installed and it works OK, but if I try to install for my regular user (me), the setup just hangs and I have to do a kill -9 to get rid of it. I have tried this about ten times or more, with both the original installation that worked earlier today, and brand new ones.

With the new installations, root can use the program, but even if I change ownership and permissions of root's directory, I can't run as a normal user. Sometimes I get complaining messages about libraries and sometimes nothing happens at all.

Any suggestions? I hate to lose my macros, auto-corrections, etc. that I've accumulated; but even if I rename my ~/.openoffice directory I still cannot install as normal user.

Running it as root is not a solution I want to adopt, because on principle I believe it's a bad idea to operate as root except when necessary to do things only root is allowed to do.

Last edited by jonr; 05-12-2005 at 10:58 PM.
Old 05-12-2005, 11:07 PM   #2
Senior Member
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Original Poster
Rep: Reputation: 47
Update: I have a partial solution, along with a new problem that I know how to solve.

By attempting to run, as root, the program the way normal user "jon" runs it, I found out that the lock file was active in jon's directory. As jon I went and deleted it and then I was able once more to run as jon.

But I got the message that direct rendering had been disabled. prefers to have direct rendering on, since it lets it run faster.

I know how to fix that. It happened the other day--the lines setting mode "666" for direct rendering had disappeared from my xorg.conf file.

That's another mystery... If I find out what's causing those lines to disappear every now and then, I'll post under "Success Stories." Till then, this particular problem is solved, and another takes its place.
Old 05-20-2005, 01:49 PM   #3
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
When I had what looks like the same problem (soffice working for root but not user), I finally got things back to normal again by deleting the file /tmp/mcop-username/secret-cookie. Prior to trying this, I looked for a .lock file for OOo, but I didn't see one.

So maybe deleting the secret-cookie will help some others, too.

Last edited by dhave; 05-20-2005 at 01:53 PM.


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
Cannot install davcefai Debian 3 10-06-2005 04:56 PM
Cannot run call of duty as regular user aeruzcar Linux - Software 1 06-03-2005 08:23 AM
The_Sims for Linux doesnt run in regular User, but in Root. Slackware issue. RHLinuxGUY Linux - Games 4 11-02-2004 10:35 PM
KDE suddenly won't run as user anymore simon.bach Slackware 2 02-29-2004 11:33 AM run problem (Application ErrorAborted) sooaai Linux - Software 2 04-10-2003 03:12 PM

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

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