Subject: Re: bug#43396: 27.1; Customized "cursor" face has no effect in daemon mode

From: Eli Zaretskii <[email-masked]>
Date: Mon, 14 Sep 2020 18:33:31 +0300

> From: Teemu Likonen <[email-masked]>
> Date: Mon, 14 Sep 2020 16:23:39 +0300
> 
> The "cursor" face's background attribute can be customized to change
> text cursor's color. However, customized cursor does not have any effect
> in Emacs session which is started with "emacs --daemon" in KDE Plasma
> desktop system.

I think you need to do that in server-after-make-frame-hook instead,
to make it work in a daemon session.  When the daemon reads your init
file, it doesn't have a GUI frame to play with, so some
display-related customizations don't work until there's a frame.