Which config files must I correct when X11 is not working for one user?

I run KDE on Wayland on Manjaro Linux, and I have done something to my normal user’s config so that I cannot run on X11. I have made a new user, and when logging in as that one I can choose X11 or Wayland and both work. When I compare the config files for those two users, I cannot find which files in my normal user’s config that I must edit to get X11 working like it does in the new user. What should I do?

Operating System: Manjaro Linux
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.10.0-1-MANJARO (64-bit)
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 590 Series

KWin version: 6.0.5
Qt Version: 6.7.2
Qt compile version: 6.7.2
XCB compile version: 1.17.0

Graphics Platform: Wayland
interface: 'wl_compositor',                              version:  6, name:  1
interface: 'zwp_tablet_manager_v2',                      version:  1, name:  3
interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1',  version:  1, name:  4
interface: 'zxdg_decoration_manager_v1',                 version:  1, name:  5
interface: 'wp_viewporter',                              version:  1, name:  6
interface: 'wp_security_context_manager_v1',             version:  1, name:  7
interface: 'wp_fractional_scale_manager_v1',             version:  1, name:  8
interface: 'wl_shm',                                     version:  1, name:  9

Graphics Platform: X11
X.Org version: 21.1.13

I solved my problem with a big hammer. I do not tweak the Manjaro default setup much, so setting things up to my liking is relatively painless.

  1. create a new user named cleanx

  2. boot and log in on X11 as cleanx and set up display as I want it (multiple monitors placement etc.)
    avoid doing anything else that creates files in .config

  3. boot, switch to tty with Ctrl-Alt-F3 and log in as myself

sudo find /home/cleanx -type d -exec chmod 'u+r,u+x,g+r,g+x,o+r,o+x' {} '+'
sudo find /home/cleanx -type f -exec chmod 'u+r,g+r,o+r' {} '+'
rm -rf $HOME/.cache
cp -ar $HOME/.config /my/backup/directory
cp -ar $HOME/.local  /my/backup/directory
cp -ar /home/cleanx/.config $HOME/.config
  1. boot and log in on X11 as myself
    set up things as I like them, using some help from /my/backup/directory