Re: [gentoo-user][SOLVED] Libreoffice-5.4.2.2 fails to start

2018-01-21 Thread thelma
On 01/21/2018 04:00 PM, Neil Bothwick wrote:
> On Sun, 21 Jan 2018 15:21:35 -0700, the...@sys-concept.com wrote:
> 
>>> Log out, log in as root (or su from another user) and see if
>>> /var/run/user/1000 exists. Rename it to something else in case you
>>> need the contents, and then see if libreoffice works.
>>>
>>> If everything seems okay, get rid of the old version
>>>
>>> (My system has multiple users, I'm the only person logged in, and
>>> folder 1000 (my user-id) is the only one there. I guess somehow some
>>> old file has got "stuck" and needs deleting.)
>>>
>>> Cheers,
>>> Wol  
>>
>> I solved it by unmerging / emerging "libreoffice".  The system required
>> reboot, after that libreoffice start working for all users on the
>> machine.
> 
> So what solved, the reinstall or the reboot?

I suspect both.
I was rebooting it before but libreoffice did not start for user
"joseph" only for "alex"
When I unmerge / emerge libreoffice it still did not work for user "joseph"
but when I turn off the PC and rebooted next day, libreoffice all of a
sudden started working for user "joseph" (both users).

>> This is like a Windows solution, they always ask you to reboot the
>> computer :-/
> 
> /var/run is a symlink to /run, which is on a tmpfs and would be cleared
> with a reboot. It appears that Wol's suggestion of spurious files
> in /var/run could well have been the cause.

Now it is showing:
ll  /var/run/user
drwx-- 2 joseph root 40 Jan 21 16:58 1000
drwx-- 3 alex   root 60 Jan 21 16:42 1001

Joseph




Re: [gentoo-user][SOLVED] Libreoffice-5.4.2.2 fails to start

2018-01-21 Thread Neil Bothwick
On Sun, 21 Jan 2018 15:21:35 -0700, the...@sys-concept.com wrote:

> > Log out, log in as root (or su from another user) and see if
> > /var/run/user/1000 exists. Rename it to something else in case you
> > need the contents, and then see if libreoffice works.
> > 
> > If everything seems okay, get rid of the old version
> > 
> > (My system has multiple users, I'm the only person logged in, and
> > folder 1000 (my user-id) is the only one there. I guess somehow some
> > old file has got "stuck" and needs deleting.)
> > 
> > Cheers,
> > Wol  
> 
> I solved it by unmerging / emerging "libreoffice".  The system required
> reboot, after that libreoffice start working for all users on the
> machine.

So what solved, the reinstall or the reboot?

> This is like a Windows solution, they always ask you to reboot the
> computer :-/

/var/run is a symlink to /run, which is on a tmpfs and would be cleared
with a reboot. It appears that Wol's suggestion of spurious files
in /var/run could well have been the cause.


-- 
Neil Bothwick

"Of course, I could switch back to Windows. At least there, if I have a
problem, I don't suffer under the illusion that I could ever fix it." -
Unknown (paraphrased)


pgpG1SW_w8KDX.pgp
Description: OpenPGP digital signature


Re: [gentoo-user][SOLVED] Libreoffice-5.4.2.2 fails to start

2018-01-21 Thread thelma
On 01/21/2018 02:16 AM, Wols Lists wrote:
> On 20/01/18 01:11, the...@sys-concept.com wrote:
>> On 01/19/2018 05:25 PM, the...@sys-concept.com wrote:
>> [snip]
>>>
>>> The strange part is that on the same box I created a new "user" and
>>> Libreoffice works just fine.
>>> But it will not work when I log in.
>>>
>>> I've deleted the folder setting. /home/joseph/.config/libreoffice/
>>> and copied the same folder from new user directory back to my directory.
>>> Libreofice still will not start.
>>>
>>> Joseph
>>
>> Additional information.
>> When I try to start soffice help I'm getting this error
>>
>> soffice --help
>> X11 connection rejected because of wrong authentication.
>>
>> (process:24269): dconf-CRITICAL **: unable to create file 
>> '/var/run/user/1000/dconf/user': Permission denied.  dconf will not work 
>> properly.
>> LibreOffice 5.4.2.2.0 40m0(Build:2)
>>
>> This error does not show up when I run it as new user that I just created.
>>
>>
> This is intuition, not knowledge, but /var/run is, I think, stuff that
> should appear when you log in, and disappear when you log out.
> 
> Log out, log in as root (or su from another user) and see if
> /var/run/user/1000 exists. Rename it to something else in case you need
> the contents, and then see if libreoffice works.
> 
> If everything seems okay, get rid of the old version
> 
> (My system has multiple users, I'm the only person logged in, and folder
> 1000 (my user-id) is the only one there. I guess somehow some old file
> has got "stuck" and needs deleting.)
> 
> Cheers,
> Wol

I solved it by unmerging / emerging "libreoffice".  The system required
reboot, after that libreoffice start working for all users on the
machine.
This is like a Windows solution, they always ask you to reboot the
computer :-/

Joseph