LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2018, 06:58 PM   #1
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Rep: Reputation: Disabled
Multiple copy of application running on start up (curious why).


Hi all,

I have a Leap 15 installed and noticed sometimes I get multiple coppies of FoxitReader presented to me on start up. While it is not a big deal closing the windows, I do wonder why it happens in the first place and why it doesn't happen all the time ?


I am not sure if it is useful but I provided terminal output below:


Code:
alexei@linux-sdh1:~> ps aux | grep "foxit"
alexei    2042  0.6  2.8 1962532 111672 ?      Sl   10:42   0:02 /home/alexei/opt/foxitsoftware/foxitreader/FoxitReader -session 1014cc7e1d9000153939031500000017870013_1539390325_890861
alexei    2065  0.6  2.8 1961392 110116 ?      Sl   10:42   0:02 /home/alexei/opt/foxitsoftware/foxitreader/FoxitReader -session 1014cc7e1d9000153939033000000017870016_1539390337_433649
alexei    2082  0.6  2.8 1962332 110800 ?      Sl   10:42   0:02 /home/alexei/opt/foxitsoftware/foxitreader/FoxitReader -session 1014cc7e1d9000153939034900000017870019_1539390362_617813
alexei    2784  0.0  0.0   8688   888 pts/0    S+   10:50   0:00 grep --color=auto foxit

Your thoughts would be appreciated :-).


Alex
 
Old 10-14-2018, 08:44 AM   #2
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 350

Rep: Reputation: Disabled
Just a wide guess, but in Linux threads are implemented as processes and multithreaded applications show up in the output of ps as multiple processes. What does pstree show?
 
Old 10-14-2018, 10:36 AM   #3
lougavulin
Member
 
Registered: Jul 2018
Distribution: Slackware,x86_64,current
Posts: 262

Rep: Reputation: 94
I don't know FoxitReader (seems to be a PDF reader), but according ps' output, there is three sessions opened.

Your question is why there is several FoxitReader processes or why does it launch several times at startup ?
 
Old 10-14-2018, 11:34 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,700

Rep: Reputation: 244Reputation: 244Reputation: 244
I assume you're using kde which is the default DE for opensuse. In System Settings>Startup and Shutdown check Autostart as well as Desktop Session. Is Foxit set to autostart and if so, is that desired behaior? Also, in Desktop Session, try setting the "On Login" to "Start with empty session".
I'm not familiar with foxit, but there may be some configuration options in the application which automatically start it on login. You may want to check in foxit for such configuration options.
 
Old 10-14-2018, 07:07 PM   #5
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kilgoretrout View Post
I assume you're using kde which is the default DE for opensuse. In System Settings>Startup and Shutdown check Autostart as well as Desktop Session. Is Foxit set to autostart and if so, is that desired behaior? Also, in Desktop Session, try setting the "On Login" to "Start with empty session".
I'm not familiar with foxit, but there may be some configuration options in the application which automatically start it on login. You may want to check in foxit for such configuration options.

Many thanks for the suggestion :-). I will try "Start with empty session" as I had the "Restore" checked and see what happens. It is weird though as I don't shut it down with the Foxitread running, at least not in the GUI.


Many thanks everyone :-).
 
Old 10-14-2018, 08:09 PM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
I think there's also as setting in KDE to remember the last desktop.
 
Old 10-14-2018, 08:25 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,069

Rep: Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901
Code:
grep -rwn / -e FoxitReader
or probably this one.
grep -rwn / -e foxitreader
you could run that on your system to see if any files call it in multiple places. or multiple files calling it.

Last edited by BW-userx; 10-14-2018 at 08:26 PM.
 
Old 10-16-2018, 05:51 PM   #8
TYTA
Member
 
Registered: Dec 2017
Posts: 90

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TYTA View Post
Many thanks for the suggestion :-). I will try "Start with empty session" as I had the "Restore" checked and see what happens. It is weird though as I don't shut it down with the Foxitread running, at least not in the GUI.


Many thanks everyone :-).

It seemed to work! Many thanks everyone :-)!
 
  


Reply


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
Need to start application service only when other services are up and running itreyger Linux - General 2 05-26-2015 10:24 AM
[SOLVED] Logging in and running an application on start up macanucaire Linux - Newbie 3 07-01-2012 11:30 AM
Start python application (MoinMoin) at startup / by running a script xbeck Linux - Newbie 6 07-10-2011 01:28 AM
[SOLVED] Auto running an application on start up u03pje Linux - Newbie 4 11-02-2009 11:08 AM
Running automaticly an application when start up KDE Paulo Ges Linux - Newbie 1 03-17-2003 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration