Re: [systemd-devel] Xorg or Wayland Environment

2021-09-21 Thread Ed Greshko
On 21/09/2021 18:20, Colin Guthrie wrote: Ed Greshko wrote on 19/09/2021 12:11: OK.. I think I see the problem now.  I don't need Environment=.  But the issue is that, I assumed, "plasma-core.target" would be reached only after a user logged in to plasma. I was wrong and

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-19 Thread Ed Greshko
: On Sun, Sep 19, 2021 at 4:05 AM Ed Greshko wrote: Not a everyday systemd service writer I've written a user service file to start an app on login. It works well for Xorg with Environment=DISPLAY=:0. But I've found that under Wayland the DISPLAY=:1 after a logout of Xorg and login to a Wayland

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-19 Thread Ed Greshko
On 19/09/2021 17:53, Mantas Mikulėnas wrote: On Sun, Sep 19, 2021 at 4:05 AM Ed Greshko wrote: Not a everyday systemd service writer I've written a user service file to start an app on login. It works well for Xorg with Environment=DISPLAY=:0. But I've found that under

Re: [systemd-devel] Xorg or Wayland Environment

2021-09-19 Thread Ed Greshko
03:05 Uhr schrieb Ed Greshko: Not a everyday systemd service writer I've written a user service file to start an app on login. It works well for Xorg with Environment=DISPLAY=:0. But I've found that under Wayland the DISPLAY=:1 after a logout of Xorg and login to a Wayland session. What

[systemd-devel] Xorg or Wayland Environment

2021-09-18 Thread Ed Greshko
Not a everyday systemd service writer I've written a user service file to start an app on login.  It works well for Xorg with Environment=DISPLAY=:0. But I've found that under Wayland the DISPLAY=:1 after a logout of Xorg and login to a Wayland session. What would be the proper way to

Re: [systemd-devel] Bare Metal or VM

2021-07-16 Thread Ed Greshko
On 17/07/2021 12:49, Andrei Borzenkov wrote: On 17.07.2021 03:36, Ed Greshko wrote: Hi, This may be an "uninformed" question since I've not done much with systemd. Is there a way for a service or unit to be aware if the environment is Bare Metal or a Virtual Machine. For examp

Re: [systemd-devel] Fwd: Bare Metal or VM

2021-07-16 Thread Ed Greshko
On 17/07/2021 08:53, Albert Brox wrote: Forgot the list Thank you very much.  I will look into that, and I found the list. Ed ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

[systemd-devel] Bare Metal or VM

2021-07-16 Thread Ed Greshko
Hi, This may be an "uninformed" question since I've not done much with systemd. Is there a way for a service or unit to be aware if the environment is Bare Metal or a Virtual Machine. For example, a unit is triggered by a user logging in as a graphical user.  But, I only want the unit's

Re: [systemd-devel] systemd-resolved auto configure DNS server changed?

2021-02-20 Thread Ed Greshko
On 20/02/2021 21:23, Lennart Poettering wrote: Which software manages that interface? systemd-networkd? NetworkManager? Something else? Figure out which software actually listens to those RA messages and then propagates it to resolved. And then figure out why it does that, i.e. whether it was

Re: [systemd-devel] systemd-resolved auto configure DNS server changed?

2021-02-19 Thread Ed Greshko
On 20/02/2021 00:30, Lennart Poettering wrote: The fallback servers are only used as last resort, if there's nothing else known. They are *fallback* as the name says. Most likely the DNS servers were acquire by your network management solution (NetworkManager or networkd) and set on the device.

[systemd-devel] systemd-resolved auto configure DNS server changed?

2021-02-19 Thread Ed Greshko
First a little background.  I'm using a Fedora 33 system in a qemu VM.  I was doing some research on a question which arose on a Fedora mailing list regarding changes to FallbackDNS.  I don't know if this change was universal or Fedora only.  But a recent update changed the default to have no