Regarding possible screen sharing issues (experienced with Slack mainly), wayland needs to be disabled and x11 enabled.
In case:
echo $XDG_SESSION_TYPE
shows:
wayland, your system is usingwayland.x11, yout system is usingx11.
wayland can be disabled and x11 enabled by uncommenting in /etc/gdm3/custom.conf:
WaylandEnable=false
Now reboot the system and:
echo $XDG_SESSION_TYPE
should display x11.