Detection of session type

Christoph Pleger <[email protected]> Wed, 21 Sep 2022 16:19:55 +0200
Newsgroups gmane.comp.gnome.desktop
Message-ID <[email protected]>
--===============6501470539382880747==
Content-Type: multipart/signed; micalg="pgp-sha512";
	protocol="application/pgp-signature"; boundary="=-uU/+eLc2WRapbIr0RCZt"


--=-uU/+eLc2WRapbIr0RCZt
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

how does gnome detect the type (x11, wayland, tty, etc.) of a session?
I am trying to convert a session which originally started as x11 or tty
to wayland, but though I set XDG_SESSION_TYPE and even set the systemd
session type to wayland (after patching systemd in a way that allows
this), Gnome refuses to start, with a message in syslog telling me that
gnome-shell believes that it should run in an x11 or tty session.

Regards
  Christoph =20

--=-uU/+eLc2WRapbIr0RCZt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEHeqYcooFjlnR4zwFcOXIip7d3fEFAmMrHYwACgkQcOXIip7d
3fH6Cg//XGCBKL07phWhmPPThTkg03AlAdX11wjaBrSvjqKG68A0PQ3N7Dr++nYE
OVxgcRs9rHI0pfJ7+KxXim5DHwVabUnK6aIMvoSGvRY8i36G8ozfvevcCXjrtDaN
kXaGS8axeMN9dbPMiPovSBW6OlR7FESKu4y79SfbvRV6CaN5+MGhw/mA03+5l9Xb
MFAaenIPyaNjieSv9wbH/b17OQqW/e0uCW9Ii//bLr4HDCKYxdw7/AOfwAtN1bou
Ru6FM4kfukxUTcJaA1e4o5HfbP1hz+y5KmVNV4tzbaSfQSkaEVFQwpzXJGV0k7l4
TwUVyyV1HJHJmdtZnicE1O0FWr/WlNZ19U5jF9LMMbXATTeZXkLLYszq+pGnvsXH
ZZl/D/dCbz/iTAuo62rZZ+g5GH7kpVG4BaJ6cOQ6Mk7DMghNiQ0SuIh5RdOfO41c
MUEYDGij0usdATMLYR43ljyVBP+DTJDGt1482ufcndmdCc4xyvFLBPij0nUzIJTf
CZ2PY0phv9S4BpTFuClmfuh6CRCkvVZdAyMTOV6nEh5/V27j3xEX3y4RDzi8XgSk
Fzqt+YKkWEuLoAOKJ35Woz5mRbp7s9cZXrKiX+yP9Ufh/s3q2aEfd72Xs9aFaL29
P7fOddwJVUyxxDP9c+ywOWgt/ZZC1JdqJ0yhLsAEnuCDsdtH//c=
=EfjE
-----END PGP SIGNATURE-----

--=-uU/+eLc2WRapbIr0RCZt--


--===============6501470539382880747==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
desktop-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

--===============6501470539382880747==--