XDG_SESSION switching from X11 to wayland automatically when I switch User in RHEL 8
I'm executing a shell script inside profile.d, which needs x11 as the default gnome-session. It works fine when I login into system as USER1, but the XDG_SESSION_TYPE is shifting from x11 to wayland when I try to switch user to USER2 as a result not executing my script in profile.d. I've removed the comment for the line Wayland=false from the custom.conf located in /etc/gdm/ to make x11 as default XDG_SESSION_TYPE. Can anyone help me with making x11 as default for the second logged in user as well!?
I've found that multiple TTY sessions can support Xorg simultaneously, but I'm unable to do that in my RHEL 8 system. Second User session is being started in wayland.
|