Hi,
Look at this - https://wiki.gnome.org/Initiatives/SystemdUser and related
merge requests. As far as I understand, current behaviour is expected one
when a session is started/managed by systemd --user. You already confirmed
that with --builtin / --systemd test.
And this confirms above:
Hi Alberts,
One example of a real problem is
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040917.
https://manpages.ubuntu.com/manpages/impish/man5/org.freedesktop.login1.5.html
also seems pretty clear to me:
> *GetSessionByPID()* and *GetUserByPID()* get the session/user object the
>
Hi,
I just logged into the Ubuntu GNOME x11 session. The XDG_SESSION_ID
environment variable is not set there either. Also GetSessionByPID for
gnome-shell returns the same error at least for me.
Sorry but you will have to link to relevant documentation if you think that
there are real problems.
Hi Alberts,
I believe that way you can get *a session id*. However, the fact that the dbus
query returns an error means that the various X11 processes (those started by
gnome-session as well as those started by the user) are actually not part of
that session (or any session, for that matter).
Can not you get session id from logind manager using
/org/freedesktop/login1/session/auto path?
dbus-send --system --print-reply --dest=org.freedesktop.login1
/org/freedesktop/login1/session/auto org.freedesktop.DBus.Properties.Get
string:org.freedesktop.login1.Session string:Id
On Sun, Jul 16,
Another finding: starting gnome-session with `--builtin` instead of `--systemd`
works around the problem.
retitle 1040920 "Gnome flashback breaks out of logind session"
thanks
Upon closer examination, the problem is not that GNome flashback unsets
XDG_SESSION_ID, but that it breaks out of the active logind session (so
unsetting the variable is, in some way, correct).
In other desktop environments
On Wed, 12 Jul 2023, at 13:22, Alberts Muktupāvels wrote:
> Maybe... Why do you need that variable?
>
> On Wed, Jul 12, 2023 at 3:12 PM Nikolaus Rath wrote:
>> Could this be an unintended side effect of
>>
Maybe... Why do you need that variable?
On Wed, Jul 12, 2023 at 3:12 PM Nikolaus Rath wrote:
> Could this be an unintended side effect of
> https://salsa.debian.org/gnome-team/gnome-session/-/commit/6f5c3c80be8f92ababd8d6201c5c58e732b47f54
> ?
>
>
--
Alberts Muktupāvels
Could this be an unintended side effect of
https://salsa.debian.org/gnome-team/gnome-session/-/commit/6f5c3c80be8f92ababd8d6201c5c58e732b47f54?
10 matches
Mail list logo