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.
john@Bluebox:~$ sudo /usr/bin/*writer*
[sudo] password for john:
(soffice:2983): dbind-WARNING **: 19:12:55.151: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Got this dialog box pop up:
Code:
Either another instance of LibreOffice is accessing your personal settings or your personal settings are locked.
Simultaneous access can lead to inconsistencies in your personal settings. Before continuing, you should make sure user 'john' closes LibreOffice on host 'Bluebox'.
Do you really want to continue? Yes? No?
Selected "Yes", got an outer window border, delay a few seconds and then quit.
John
You didn't run what he asked.To launch writer from the command line try:
Code:
$ lowriter
FYI, frankbell wanted you to run:
Code:
$ ls /usr/bin/*writer*
That would search /usr/bin for any file with "writer" in its name and return "lowriter" which is the libreoffice writer.
After running lowriter in a terminal, post what error messages you get. That will help troubleshoot what's going on. If your not sure what to do post back and I'll give more detailed instructions.
By golly, you are correct - I misread and copied badly.
The search does produce just what you noted.
Re-doing produces the same result, but the dialog box says that root should close LibreOffice (previously user john).
So, if john attempts a launch, the system complains about root not previously closing, and when root attempts a launch the system complains about user john not previously closing.
That would indicate you have a libreoffice process running which has probably hung up, probably the one you inadvertently launched with your sudo command since it's complaining about root running. Libreoffice will apparently only allow one instance to run at a time. Post the output of:
Code:
$ ps aux | grep libreoffice
That should list all the libreoffice processes running which you can kill off one at a time. Or you could just reboot and try running lowriter from the command line again. The reboot should automatically kill off all running libreoffice processes.
You have no running libreoffice processes so that can only mean that your personal settings are locked for some reason. The configuration files for libreoffice are located in your home directory .config/libreoffice directory in most distros. You could try renaming that directory like so:
And then try launching writer again. The program will automatically generate a new ~/.config/libreoffice directory. If it launches OK, then you know the problem is in the configuration files in your old libreoffice directory. My speculation is that if you start digging down in there you might find some files owned by root which are screwing things up.
Did some digging and found a [.lock] file with [User=root], timestamped the previous night.
Used the GUI File Manager to accomplish the rename, then Terminal to launch LOWriter, and got the same result.
The File Manager now shows [.config/libreoffice] rebuilt with what seems to be identical contents, with the [.lock] file now containing [User=john], timestamped this morning corresponding to my attempted launch.
I will do some more investigations into the content of the [.config] files.
I have Calc, Base etc to compare to, they would presumably have the same system of configuration methods and records.
In the meantime, AbiWord has been pressed into service.
Thanks for the help, you have opened up a new area of investigation.
John
You should also check the .config directory in /root. If you find a libreoffice directory there, that would be a likely cause for your problem, i.e. something with root privileges is locking your personal settings. If you are using a *buntu, you won't be able to access or read /root from the command line since only root has read privileges and *buntus have no proper root account. Running the following is my workaround:
Code:
$ sudo su
<enter admin password>
# cd /root/.config
# ls -al
If you find a libreoffice directory there, rename it like you did before:
No [.config[ in [/root], the only config specific to LibreOffice is [/home/john/.config], the one that has been renamed a couple of times.
Thanks for prompting me into dipping my toe into user [root], interesting.
On Lubuntu, PCManFM does a good job of investigating the hidden contents, so very little need for [root].
I will keep digging, all the files checked so far for Writer and Calc appear to be identical, allowing for the different programs to be launched.
I will now go back to the log files, alternately launching Calc and Writer, to see if I can detect an inconsistency.
There was, a few days ago, a reference in a log file to modules [crypto: libbd_crypto.so.2] and [mdraid: libbd_mdraid.so.2] failing to load at about the time a Writer launch was attempted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.