Can't login to desktop with GNOME xorg

Hello, I have a problem on my Desktop Environment. I can’t login with GNOME Xorg.
previously I lost GDM software, every time I turn on the computer, I use the startx command, but it takes me to GNOME Flashback. I tried to reinstall GDM with the command sudo swupd bundle-add desktop-autostart, after that I have GDM, but I can’t get into GNOME only GNOME Wayland and Weston.

here are some variables from env


I’m trying to create a new account, and I can login to GNOME with Xorg on that account, but not on my main account

when i try to run obs

$ obs
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/id-ID.ini
Attempted path: /usr/share/obs/obs-studio/locale/id-ID.ini
info: Using preferred locale ‘id-ID’
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core™ i3-3217U CPU @ 1.80GHz
info: CPU Speed: 1800.000MHz
info: Physical Cores: 2, Logical Cores: 4
info: Physical Memory: 3615MB Total, 1705MB Free
info: Kernel Version: Linux 5.16.1-1116.native
info: Distribution: “Clear Linux OS” 35650
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Portable mode: false
Instruksi tidak legal (core didump)

can you post your ~/.bashrc and your ~/.xinitrc ?
try deleting ~/.Xauthority and ~/.xinitrc

here’s my .bashrc

Use global profile when available

if [ -f /usr/share/defaults/etc/profile ]; then
. /usr/share/defaults/etc/profile

allow admin overrides

if [ -f /etc/profile ]; then
. /etc/profile
source .alias
#export http_proxy=
#export https_proxy=
#export ftp_proxy=http://YOUR.FTP-PROXY.URL:PORT
#export socks_proxy=
#export no_proxy=“localhost”
#export HTTP_PROXY=$http_proxy
#export HTTPS_PROXY=$https_proxy
#export FTP_PROXY=$ftp_proxy
#export SOCKS_PROXY=$socks_proxy
#export NO_PROXY=$no_proxy

inside .alias

alias mpsyt=“env LD_LIBRARY_PATH=/usr/local/lib mpsyt”
alias cvlc=“env LD_LIBRARY_PATH=/usr/local/lib cvlc”
alias mpv=“env LD_LIBRARY_PATH=/usr/local/lib mpv”
alias vlc=“env LD_LIBRARY_PATH=/usr/local/lib vlc”

i dont have .xinitrc on my machine
I will try to delete .Xauthority

there is no different after deleting .Xauthority

your XDG_SESSION_TYPE should not be “x11” on wayland. it should be “wayland”. how does it come to be “x11” ?
what happens when you try to login to gnome on xorg from gdm ?

when i try to login, it take me back to login screen (password).