oowriter won't execute as user

Mark Eggers mdeggers at gmail.com
Tue Sep 7 23:43:58 UTC 2010


On Tue, 07 Sep 2010 13:16:44 -0700, JD wrote:

> On 09/07/2010 01:03 PM, Jim wrote:
>>    On 09/07/2010 02:59 PM, JD wrote:
>>> On 09/07/2010 11:46 AM, Jim wrote:
>>>>      FC13/KDE
>>>>
>>>> oowriter will not execute as user, but it will execute as Root.
>>>>
>>>> $ ls -al oo*
>>>> -rwxr-xr-x. 1 root root 41 Aug 14 11:14 oobase -rwxr-xr-x. 1 root
>>>> root 41 Aug 14 11:14 oocalc -rwxr-xr-x. 1 root root 41 Aug 14 11:14
>>>> oodraw -rwxr-xr-x. 1 root root 35 Aug 14 11:14 ooffice -rwxr-xr-x. 1
>>>> root root 44 Aug 14 11:14 ooimpress -rwxr-xr-x. 1 root root 41 Aug 14
>>>> 11:14 oomath -rwxr-xr-x. 1 root root 41 Aug 14 11:14 ooviewdoc
>>>> -rwxr-xr-x. 1 root root 43 Aug 14 11:14 oowriter
>>>>
>>>>
>>> oowriter works just fine here as regular user.
>>>
>>> Are you sure you are executing /usr/bin/oowriter and not some oowriter
>>> in a different dir, which is also in your PATH?
>>>
>>> type the command:
>>>
>>> which oowriter
>>>
>>> to be sure.
>>>
>>>
>> I executed it as /usr/bin/oowriter in console and it tries to start ,
>> and it does not give any error messages.
> 
> So, the openoffice banner does not pop up?
> 
> I suggest you do the following:
> 
> 1. rpm -qa | grep openoffice.org | sed 's/\-[0-9].*$//' > /tmp/oo.pkgs
> 2. cat /tmp/oo.pkgs | xargs sudo rpm -e --nodeps 3. cat /tmp/oo.pkgs |
> xargs sudo yum -y install
> 
> after that, retry oowriter.
> 
> Cheers,
> 
> JD

How about:
0. su -
1. yum shell
2. resinstall openoffice.org*
3. ts list
4. run
5. quit

Step 1 puts you in the yum shell (run as root)
Step 2 sets up a reinstall of all packages beginning with openoffice.org
Step 3 shows you what is about to happen with the transaction
Step 4 actually runs the transaction
Step 5 quits

This keeps everything in yum.

. . . . just my two cents.

/mde/



More information about the users mailing list