Re: KDE Autostart in F34

2021-05-03 Thread Neal Gompa
On Wed, Apr 28, 2021 at 4:15 AM Kevin Kofler via devel
 wrote:
>
> Rex Dieter wrote:
> > kde plasma on f34 uses systemd user session and
> > systemd-xdg-autostart-generator
>
> Why was this changed? ksmserver worked fine all this time. Why can we not
> let systemd handle, well, *system* services (as its name says) and leave
> user services to the desktop environment?
>

Because ksmserver does a bad job of user session management and it was
causing serious (nearly release blocking!) bugs for the last few
Fedora Linux releases. We had expressed interest to upstream about
using systemd user session management for the Plasma session to
resolve these issues early last year and they had made it available
for Plasma 5.20, so we switched to it then.




--
真実はいつも一つ!/ Always, there's only one truth!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: KDE Autostart in F34

2021-05-03 Thread Rajeesh K V
> > Thanks Vitaly. We will look into converting it to systemd-user unit.
> > I believe that would work for all other desktop managers as well.
>
> Yeah, you might want to ship both a systemd unit and an XDG autostart
> file for the time being. There will still be graphical desktops
> environments which are not started using systemd in the foreseeable
> future.

Hopefully fixed upstream in Plasma 5.22:
https://bugs.kde.org/show_bug.cgi?id=433987
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: KDE Autostart in F34

2021-04-28 Thread Kevin Kofler via devel
Rex Dieter wrote:
> kde plasma on f34 uses systemd user session and
> systemd-xdg-autostart-generator

Why was this changed? ksmserver worked fine all this time. Why can we not 
let systemd handle, well, *system* services (as its name says) and leave 
user services to the desktop environment?

Kevin Kofler
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: KDE Autostart in F34

2021-04-27 Thread Benjamin Berg
On Tue, 2021-04-27 at 20:03 +, Ravindra Kumar wrote:
> > This desktop file need to be replaced by the systemd-user unit,
> > IMO.
> 
> Thanks Vitaly. We will look into converting it to systemd-user unit.
> I believe that would work for all other desktop managers as well.

Yeah, you might want to ship both a systemd unit and an XDG autostart
file for the time being. There will still be graphical desktops
environments which are not started using systemd in the foreseeable
future.

If you decide to ship both, please add X-GNOME-HiddenUnderSystemd=true
and X-systemd-hidden=true to the desktop file to prevent the service
from getting started twice.

If the ExitType= patch fixes this, then the problem is that the
generated service does not handle forking services right now and it
will work fine with systemd v249 and later.

Benjamin


signature.asc
Description: This is a digitally signed message part
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: KDE Autostart in F34

2021-04-27 Thread Ravindra Kumar
> This desktop file need to be replaced by the systemd-user unit, IMO.

Thanks Vitaly. We will look into converting it to systemd-user unit. I believe 
that would work for all other desktop managers as well.

Thanks,
Ravindra
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: KDE Autostart in F34

2021-04-27 Thread Ravindra Kumar
> I commented in the bug with some debugging steps to try.

Thanks Rex. We can discuss this further in the bug.

Thanks,
Ravindra
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: KDE Autostart in F34

2021-04-27 Thread Vitaly Zaitsev via devel

On 27.04.2021 02:23, Ravindra Kumar wrote:
It looks like KDE in Fedora 34 is not honoring open-vm-tools autostart 
script in /etc/xdg/autostart/vmware-user.desktop. GNOME seems to work fine.


This desktop file need to be replaced by the systemd-user unit, IMO.

--
Sincerely,
  Vitaly Zaitsev (vit...@easycoding.org)
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: KDE Autostart in F34

2021-04-26 Thread Rex Dieter
Ravindra Kumar wrote:

> Hi,
> 
> I hope there are some KDE experts on the list who can help me debug this -
> https://bugzilla.redhat.com/show_bug.cgi?id=1953472.
> 
> It looks like KDE in Fedora 34 is not honoring open-vm-tools autostart
> script in /etc/xdg/autostart/vmware-user.desktop. GNOME seems to work
> fine.
> 
> Could you please confirm if KDE supports autostart scripts from
> /etc/xdg/autostart dir? If yes, is there a regression in F34?

kde plasma on f34 uses systemd user session and systemd-xdg-autostart-
generator, so yes, autostart is supported (but this new method has some 
quirks).

I commented in the bug with some debugging steps to try.

-- Rex
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


KDE Autostart in F34

2021-04-26 Thread Ravindra Kumar
Hi,

I hope there are some KDE experts on the list who can help me debug this - 
https://bugzilla.redhat.com/show_bug.cgi?id=1953472.

It looks like KDE in Fedora 34 is not honoring open-vm-tools autostart script 
in /etc/xdg/autostart/vmware-user.desktop. GNOME seems to work fine.

Could you please confirm if KDE supports autostart scripts from 
/etc/xdg/autostart dir? If yes, is there a regression in F34?

Thanks,
Ravindra
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure