this post was submitted on 21 Feb 2024
70 points (92.7% liked)

Linux

48220 readers
653 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

EDIT: I kinda solved it by installing Wayland (with Nvidia card, Ouch!) to replace Xorg. Not sure if this is gonna last though. Perhaps Manjaro is the one I'm gonna throw out FIRST if anything happens from now on.

What should be the first line of defense? Timeshift?

This happened after I installed AUR package masterpdfeditor and 2 applications from github (some hashing algorithm programs, I think they were "Dilithium" and "Latice-based-cryptography-main", one of them was provided by NIST.)

If using GUI: I login, black screen for few seconds, then back at login screen.

If going to ctrl+alt+f2, login successful, then startx, see picture provided (higher quality).

I tried adding a new user, but result is the same.

I have a live usb to do the Timeshift. (I can also chroot if necessary... But I'm not extremely professional)

(page 2) 36 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 9 months ago

Run this before startx maybe:

xhost +local:
[–] [email protected] 6 points 9 months ago (2 children)

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.

load more comments (2 replies)
[–] [email protected] 6 points 9 months ago* (last edited 9 months ago) (2 children)

Don't use startx to start X, use the display manager: systemctl restart lightdm

[–] [email protected] 2 points 9 months ago (2 children)

It said I not found or something. I'll try again tomorrow for full error message

load more comments (2 replies)
load more comments (1 replies)
[–] [email protected] 2 points 9 months ago (1 children)

https://forum.endeavouros.com/t/graphical-session-doesnt-start-first-time-invalid-mit-magic-cookie-1/5947/8

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.

[–] [email protected] 1 points 9 months ago (1 children)

It's not about the host name. They clearly have invalid mappings in their ~/.Xmodmap (if you'd care to look at the picture).

load more comments (1 replies)
[–] [email protected] 28 points 9 months ago (1 children)

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.

[–] [email protected] 7 points 9 months ago (2 children)

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)

[–] [email protected] 2 points 9 months ago

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.

[–] [email protected] 2 points 9 months ago

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

[–] [email protected] 43 points 9 months ago (1 children)

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.

[–] [email protected] 7 points 9 months ago (1 children)

Why would a package called "masterpdfcreator" overwrite the x conf? I don't think the AUR packages have anything to do with the problem.

load more comments (1 replies)
[–] [email protected] 7 points 9 months ago* (last edited 9 months ago) (4 children)

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

[–] [email protected] -2 points 9 months ago (1 children)

However I still recommend you to use AUR as less as possible, cause too many AUR can mess even with Arch

Based on what?

[–] [email protected] 6 points 9 months ago* (last edited 9 months ago) (3 children)

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.

load more comments (3 replies)
load more comments (3 replies)
[–] [email protected] 17 points 9 months ago (2 children)

One of your steps should be to throw Manjaro in the trash and install EndeavourOS instead.

[–] [email protected] -2 points 9 months ago

How would their problem be any different on Endeavour? They are circumventing the normal X greeter and starting a custom X session.

[–] [email protected] -5 points 9 months ago

If you have LightDM as your display manager, try some other display managers.

load more comments
view more: ‹ prev next ›