Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: StoppingUnwanted programs from starting

  1. #1

    Default StoppingUnwanted programs from starting

    Running 15.0 with KDE desktop. Recently been working on usb drive encryption and using Nitrokey App and Zulucrypt.
    Have been successful with Nitrokey but not yet worked on Zulucrypt. My problem is that if I boot up I get both Nitrokey App, Zulucrypt and Zulumount starting even though I have not started any of these. Where is this autostart function coming from and how may I control this behaviour please?

  2. #2
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,270

    Default Re: StoppingUnwanted programs from starting

    Initially I'd take a look at:

    System Settings -> Startup and Shutdown -> Autostart
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191018) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  3. #3

    Default Re: StoppingUnwanted programs from starting

    Quote Originally Posted by tannington View Post
    Initially I'd take a look at:

    System Settings -> Startup and Shutdown -> Autostart
    Already done that. Not a hint of Nitrokey, Zulucrypt or Zulumount anywhere. Only two programs in Autostart and many in Background Services but none of these in the list. Thanks for the suggestion but I must look elsewhere.

  4. #4
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,270

    Default Re: StoppingUnwanted programs from starting

    OK... In this instance google may be your friend.

    Couple of other suggestions, bearing in mind I'm not familiar with any of those applications:

    Take a look below ~/.config for directories or files with related names, particularly any *.sh script files.

    Or perhaps they run as a service?

    YaST -> Services Manager
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191018) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  5. #5
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,270

    Default Re: StoppingUnwanted programs from starting

    An afterthought... probable far less likely, but maybe worth a try.

    Is your setup enabled to "Restore Previous Session"?

    System Settings -> Startup and Shutdown -> Desktop Session -> On Login
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191018) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,306
    Blog Entries
    2

    Default Re: StoppingUnwanted programs from starting

    For each of the packages you installed,
    You can view the package contents with the following
    Code:
    rpm -ql package_name
    Typically something in there will describe among other things how it starts... ie creating a systemd Unit file, writing a config file to your /home directory, etc.

    If you have problems ferreting out the part that specifies how the app is starting, post your list... often an educated guess can be made based only on the file names...

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  7. #7

    Default Re: StoppingUnwanted programs from starting

    Quote Originally Posted by tsu2 View Post
    For each of the packages you installed,
    You can view the package contents with the following
    Code:
    rpm -ql package_name
    Typically something in there will describe among other things how it starts... ie creating a systemd Unit file, writing a config file to your /home directory, etc.

    If you have problems ferreting out the part that specifies how the app is starting, post your list... often an educated guess can be made based only on the file names...

    TSU
    Hi Tsu,
    What a pain these titles are when they capitalise and include spaces when what I need is what was installed! Here is the result of your code:

    Code:
    alastair@linux-jqbk:~> rpm -ql nitrokey-app
    /usr/bin/nitrokey-app
    /usr/share/applications/nitrokey-app.desktop
    /usr/share/bash-completion/completions/nitrokey-app
    /usr/share/doc/packages/nitrokey-app
    /usr/share/doc/packages/nitrokey-app/OTP_full_specification.txt
    /usr/share/doc/packages/nitrokey-app/README.md
    /usr/share/icons/hicolor/128x128/apps/nitrokey-app.png
    /usr/share/icons/hicolor/16x16/apps/nitrokey-app.png
    /usr/share/icons/hicolor/22x22/apps/nitrokey-app.png
    /usr/share/icons/hicolor/24x24/apps/nitrokey-app.png
    /usr/share/icons/hicolor/32x32/apps/nitrokey-app.png
    /usr/share/icons/hicolor/48x48/apps/nitrokey-app.png
    /usr/share/icons/hicolor/scalable/apps/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-dark/apps/16/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-dark/apps/22/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-dark/apps/24/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-dark/apps/48/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-light/apps/16/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-light/apps/22/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-light/apps/24/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-light/apps/48/nitrokey-app.svg
    /usr/share/licenses/nitrokey-app
    /usr/share/licenses/nitrokey-app/GPLv3
    /usr/share/licenses/nitrokey-app/LGPLv3
    /usr/share/licenses/nitrokey-app/MIT
    /usr/share/metainfo/com.nitrokey.nitrokey-app.appdata.xml
    /usr/share/pixmaps/nitrokey-app.png
    alastair@linux-jqbk:~>
    I hope you can explain what starts this. Further to this, when I insert the Nitrokey USB stick is there something running in the background which detects the usb stick and starts the PIN prompt or does this come from the stick itself?

    Thanks for the reply.
    Regards,

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,306
    Blog Entries
    2

    Default Re: StoppingUnwanted programs from starting

    Quote Originally Posted by Budgie2 View Post
    Hi Tsu,
    What a pain these titles are when they capitalise and include spaces when what I need is what was installed! Here is the result of your code:

    Code:
    alastair@linux-jqbk:~> rpm -ql nitrokey-app
    /usr/bin/nitrokey-app
    /usr/share/applications/nitrokey-app.desktop
    /usr/share/bash-completion/completions/nitrokey-app
    /usr/share/doc/packages/nitrokey-app
    /usr/share/doc/packages/nitrokey-app/OTP_full_specification.txt
    /usr/share/doc/packages/nitrokey-app/README.md
    /usr/share/icons/hicolor/128x128/apps/nitrokey-app.png
    /usr/share/icons/hicolor/16x16/apps/nitrokey-app.png
    /usr/share/icons/hicolor/22x22/apps/nitrokey-app.png
    /usr/share/icons/hicolor/24x24/apps/nitrokey-app.png
    /usr/share/icons/hicolor/32x32/apps/nitrokey-app.png
    /usr/share/icons/hicolor/48x48/apps/nitrokey-app.png
    /usr/share/icons/hicolor/scalable/apps/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-dark/apps/16/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-dark/apps/22/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-dark/apps/24/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-dark/apps/48/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-light/apps/16/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-light/apps/22/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-light/apps/24/nitrokey-app.svg
    /usr/share/icons/ubuntu-mono-light/apps/48/nitrokey-app.svg
    /usr/share/licenses/nitrokey-app
    /usr/share/licenses/nitrokey-app/GPLv3
    /usr/share/licenses/nitrokey-app/LGPLv3
    /usr/share/licenses/nitrokey-app/MIT
    /usr/share/metainfo/com.nitrokey.nitrokey-app.appdata.xml
    /usr/share/pixmaps/nitrokey-app.png
    alastair@linux-jqbk:~>
    I hope you can explain what starts this. Further to this, when I insert the Nitrokey USB stick is there something running in the background which detects the usb stick and starts the PIN prompt or does this come from the stick itself?

    Thanks for the reply.
    Regards,
    Binaries are running applications, so the following is the app that has to run
    Code:
    /usr/bin/nitrokey-app
    Documentation for your nitrokey is installed in the usual location
    Code:
    /usr/share/doc/packages/
    Everything else are images supporting the app or documentation, licenses, etc that are less important.

    Typically,
    When you plug in a USB dongle,
    udev will detect, try to identify and based on what is found try to mount the key.
    The nitrokey itself likely detects the attempt to mount (access) the file system which triggers the binary installed on your machine (see the first thing I mentioned)

    Bottom line,
    Although you could manually run the binary if it's not automatically triggered, if you have a more basic mount problem, then simply running the nitrokey app may not work. But, it's a try.

    If you have problems with kodi, then I recommend you look at available guides on how nitrokey is set up on kodi.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,396
    Blog Entries
    1

    Default Re: StoppingUnwanted programs from starting

    Regarding the 'autostart' query, it may well be session-related, so read tannington's advice in post #5.
    openSUSE Leap 15.0; KDE Plasma 5

  10. #10

    Default Re: StoppingUnwanted programs from starting

    Quote Originally Posted by tannington View Post
    An afterthought... probable far less likely, but maybe worth a try.

    Is your setup enabled to "Restore Previous Session"?

    System Settings -> Startup and Shutdown -> Desktop Session -> On Login
    HJi Paul and thanks for this. I had missed this earlier and think you have solved my problem.
    Thanks again,
    Budge

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •