71
submitted 9 months ago* (last edited 9 months ago) by dysprosium@lemmy.dbzer0.com to c/linux@lemmy.ml

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)

top 50 comments
sorted by: hot top controversial new old
[-] daniyeg@lemmy.ml 43 points 9 months ago

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.

[-] someonesmall@lemmy.ml 7 points 9 months ago

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

[-] daniyeg@lemmy.ml 6 points 9 months ago

ah sorry it's more accurate to say it can "break" your xorg config cause that was my case. looking at this package it has libgl as one of its dependencies. as i have said i'm not familiar with how exactly it works but it can probably mess with your graphics drivers.

[-] Titou@feddit.de 32 points 9 months ago

Most stable Manjaro experience

[-] Luci@lemmy.ca 28 points 9 months ago

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.

load more comments (20 replies)
[-] null@slrpnk.net 17 points 9 months ago

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

load more comments (21 replies)
[-] Rustmilian@lemmy.world 11 points 9 months ago* (last edited 9 months ago)

If you have it setup timeshift should work...

But please know that the AUR + Manjaro is not a supported or recommend combination. The AUR is intended to be used with the official Arch repos; Manjaro repos are often weeks or sometimes even up to a month behind. Even the Manjaro devs put a warning for this reason.
Not only that, the Manjaro base packages often aren't even built with the same flags as Arch base packages; which is probably what happened here.
Consider using EndeavorOS or archinstall , else this won't be the last time something like this happens.

[-] BaalInvoker@lemmy.eco.br 7 points 9 months ago* (last edited 9 months ago)

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

[-] lemmyvore@feddit.nl 3 points 9 months ago

I'm using 75 AUR packages without any issues and I've been using Manjaro for 4 years. But I'm really worried now that you've said that. 😬 When should I begin to expect AUR trouble? Does it happen on the 5th year? What if I reinstall, do I get another 4 years?

[-] BaalInvoker@lemmy.eco.br 3 points 9 months ago

Good for you. Have you heard about anecdotal evidence already?

load more comments (1 replies)
load more comments (5 replies)
[-] deikoepfiges_dreirad@lemmy.zip 7 points 9 months ago

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)

[-] deikoepfiges_dreirad@lemmy.zip 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

[-] yardy_sardley@lemmy.ca 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.

[-] Presi300@lemmy.world 7 points 9 months ago* (last edited 9 months ago)

I'm not usually one to blame the distro but... as another comment here has stated, "Most stable manjaro experience". Try EndeavorOS, it's manjaro but not bad.

[-] lemmyvore@feddit.nl 6 points 9 months ago

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)
[-] someonesmall@lemmy.ml 6 points 9 months ago* (last edited 9 months ago)

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

load more comments (4 replies)
[-] zkrzsz@hexbear.net 2 points 9 months ago

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.

load more comments (2 replies)
[-] Offbus@lemmy.world 2 points 9 months ago

How did you go about installing the other two packages from git? Do you know what directory they were first cloned to? Did you build from source or run an executable like an appimage? Did any of these actions occur prior to the install of masterpdfeditor?

load more comments
view more: next ›
this post was submitted on 21 Feb 2024
71 points (92.8% liked)

Linux

48334 readers
1347 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