LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Disable cinnamon smartcard daemon (csd-smartcard) (https://www.linuxquestions.org/questions/linux-newbie-8/disable-cinnamon-smartcard-daemon-csd-smartcard-4175615211/)

zetrotrack000 10-07-2017 06:01 AM

Disable cinnamon smartcard daemon (csd-smartcard)
 
Hi
I am using cinnamon desktop on arch linux. The cinnamon desktop loads several daemons at startup. Among these daemons one is "csd-smartcard". This daemon is giving following error at cinnamon startup:
Code:

[cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driver could be found
which results in delayed startup of cinnamon desktop. As I am not using any smart cart so my question is that is there a way to disable or uninstall this cinnamon daemon?
Regards

jsbjsb001 10-07-2017 06:13 AM

Quote:

Originally Posted by zetrotrack000 (Post 5767273)
Hi
I am using cinnamon desktop on arch linux. The cinnamon desktop loads several daemons at startup. Among these daemons one is "csd-smartcard". This daemon is giving following error at cinnamon startup:
Code:

[cinnamon-settings-daemon-smartcard] Failed to start: no suitable smartcard driver could be found
which results in delayed startup of cinnamon desktop. As I am not using any smart cart so my question is that is there a way to disable or uninstall this cinnamon daemon?
Regards

Yes, type the following in a terminal as root;

Code:

systemctl disable cinnamon-settings-daemon-smartcard
See the following for more information: https://wiki.archlinux.org/index.php/systemd

zetrotrack000 10-07-2017 06:23 AM

systemctl disables startup services. csd-smartcard is not a system service, rather it is a desktop daemon, so I cannot be manipulated by systemctl. However, still I checked the command, provided by you and it gave following error:
Code:

Failed to disable unit: Unit file cinnamon-settings-daemon-smartcard.service does not exist.
Regards

jsbjsb001 10-07-2017 06:40 AM

Quote:

Originally Posted by zetrotrack000 (Post 5767286)
systemctl disables startup services. csd-smartcard is not a system service, rather it is a desktop daemon, so I cannot be manipulated by systemctl. However, still I checked the command, provided by you and it gave following error:
Code:

Failed to disable unit: Unit file cinnamon-settings-daemon-smartcard.service does not exist.
Regards

Arh, sorry about that. While this is written for Ubuntu, it should still apply to the Cinnamon settings daemon: http://manpages.ubuntu.com/manpages/...-daemon.1.html

Usually a "daemon" refers to what is also known as a "system service", but not in this case.

zetrotrack000 10-07-2017 06:59 AM

The solution is to append following lines to /etc/xdg/autostart/cinnamon-settings-daemon-smartcard.desktop:
Code:

X-GNOME-Autostart-enabled=false
X-GNOME-Autostart-Phase=false
X-GNOME-Autostart-Notify=false
X-GNOME-AutoRestart=false



All times are GMT -5. The time now is 10:05 PM.