You are not logged in.

#1 2015-10-27 18:50:59

MW
Member
Registered: 2007-07-27
Posts: 127

[SOLVED] /bin/bash calls lowriter

Every time I open a terminal session or something that calls /bin/bash, lowriter is triggered/launched.

I have tried to troubleshoot with ps, but that did not help a bunch, and this is new territory for me.

My question, how can I trace what is causing the lowriter call?

This happens every time bash is called, i.e, opening konsole or yakuake, with ssh, etc.

Here is sample output of an ssh session to the affected PC:

Last login: Tue Oct 27 20:37:19 2015 from 192.168.0.2
Failed to open display
soffice.bin: cannot connect to X server 

Here is the relevant ps auxf output after opening konsole on affected PC:

      2392  1.1  0.7 508680 60196 ?        Sl   20:46   0:00 /usr/bin/konsole
      2395  0.0  0.0  16000  3188 pts/2    Ss+  20:46   0:00  \_ /bin/bash
      2399  0.0  0.0  13876  3004 pts/2    S+   20:46   0:00      \_ /bin/sh /usr/bin/lowriter
      2400  0.0  0.0 200336  5744 pts/2    Sl+  20:46   0:00          \_ /usr/lib/libreoffice/program/oosplash --writer
      2412  4.0  2.0 1125372 164156 pts/2  Sl+  20:46   0:01              \_ /usr/lib/libreoffice/program/soffice.bin --writer --splash-pipe=5
      2413  0.1  0.0      0     0 pts/2    Z+   20:46   0:00                  \_ [soffice.bin] <defunct>

Thanks for taking time to read and help!

Last edited by MW (2015-10-27 19:14:20)

Offline

#2 2015-10-27 19:01:54

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] /bin/bash calls lowriter

I'd start with your ~/.bashrc and anything it sources.

Otherwise, running bash manually with -x may be helpful in troubleshooting. If you've never used -x in any context though, the output may be overwhelming.

Last edited by alphaniner (2015-10-27 19:03:31)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2015-10-27 19:06:02

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] /bin/bash calls lowriter

In the bash initialization files. ~/profile ~/.bash_profile ~/.bashrc /etc/profile /etc/bashrc ? You probably have edited one of these files and put this command by error in one of  them.

Offline

#4 2015-10-27 19:13:45

MW
Member
Registered: 2007-07-27
Posts: 127

Re: [SOLVED] /bin/bash calls lowriter

Idiot me, I went through all those files time and again and only now noticed the following in .bashrc:

SAL_USE_VCLPLUGIN=kde4 lowriter

From here:
https://wiki.archlinux.org/index.php/LibreOffice#Theme

/me bangs head on table a couple of times out of embarrassment...

Offline

#5 2015-10-27 19:21:54

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] /bin/bash calls lowriter

@olive

I may be wrong, but I think the profile files are only sourced in the case of login shells.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#6 2015-10-27 19:33:14

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,422
Website

Re: [SOLVED] /bin/bash calls lowriter

MW wrote:

Idiot me, I went through all those files time and again and only now noticed the following in .bashrc:

SAL_USE_VCLPLUGIN=kde4 lowriter

From here:
https://wiki.archlinux.org/index.php/LibreOffice#Theme

/me bangs head on table a couple of times out of embarrassment...

You're only supposed to copy the environment variable (and add export), not the actual application name ...


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB