Thank you for responding. I wonder if it's intended by design.
I used to logout via 
`dbus-send --system --print-reply --dest=org.freedesktop.login1 
/org/freedesktop/login1 'org.freedesktop.login1.Manager.TerminateSession' 
string:$XDG_SESSION_ID` 
or
`loginctl kill-session $XDG_SESSION_ID`
in my scripts. 

I can live without them.
Did developers drop those environment variables?
Another question:
Is that issue related to `lightdm` or `systemd`?
Regards.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1879090

Title:
  XDG_SEAT, XDG_VTNR, XDG_SESSION_ID not set

Status in lightdm package in Ubuntu:
  Incomplete

Bug description:
  I installed Ubuntu 20.04, it is running well. I switched display manager to 
lightdm. I noticed that it fails to set environment variables XDG_SEAT, 
XDG_VTNR, XDG_SESSION_ID.
  I also tested gdm3, it's the same. I also tried liveiso to no vail.

  
  apt-cache policy lightdm
  lightdm:
    Installed: 1.30.0-0ubuntu3.1
    Candidate: 1.30.0-0ubuntu3.1
    Version table:
   *** 1.30.0-0ubuntu3.1 500
          500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1879090/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to