Run this before startx maybe:
xhost +local:
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Run this before startx maybe:
xhost +local:
Ok so clearly none of the people commenting here have even bothered to look at your picture or have no idea what you are doing so feel free to ignore them.
Question 1: what's in your .xinitrc?
Question 2: why are you starting X this way? It's not for beginners, and from your question it doesn't sound like you're an advanced user.
Don't use startx to start X, use the display manager: systemctl restart lightdm
It said I not found or something. I'll try again tomorrow for full error message
Check /etc/hostname
This is based on the image, the best you can do it check the logs like other comments said, it's better if the error is identified through the log.
It's not about the host name. They clearly have invalid mappings in their ~/.Xmodmap (if you'd care to look at the picture).
Start by not using Manjaro. Seriously this won't be the first time this happens to you. It's not a great distro. Consider EndevourOS if you want Arch without the command line install.
Have you checked the log files under /var/log/xorg.0....log?
Also see https://wiki.archlinux.org/title/Xorg#Troubleshooting
If you want to get your graphical session back quickly, maybe try setting up GNOME with wayland (https://wiki.archlinux.org/title/GNOME#Wayland_sessions)
I second the wayland option. Then you at least have a working gui with all your settings and recent work intact while you try to find the glitch in your Xorg install.
You can also check /var/log/pacman.log for the packages you installed, then pacman -Ql the packages to list what files they might have changed
ah classic mistake of installing AUR packages on manjaro. been there done that. check your logs and search for errors, it probably overwrote/deleted some xorg config that you must either manually add back or regenerate. sorry i can't help further im a linux noobie but that was my issue when this happened to me.
Why would a package called "masterpdfcreator" overwrite the x conf? I don't think the AUR packages have anything to do with the problem.
Manjaro is not up-to-date with Arch repos. Using AUR in Manjaro is a huge mistake.
If you wanna use AUR, I suggest you to go all in with Arch itself
However I still recommend you to use AUR as less as possible, cause too many AUR can mess even with Arch
However I still recommend you to use AUR as less as possible, cause too many AUR can mess even with Arch
Based on what?
Based on Arch USER Repository.
AUR packages are maintained by users and can install and overwrite packages in your system and if you install AUR enough, you'll certainly install a package that corrupts your system.
One of your steps should be to throw Manjaro in the trash and install EndeavourOS instead.
How would their problem be any different on Endeavour? They are circumventing the normal X greeter and starting a custom X session.
If you have LightDM as your display manager, try some other display managers.