this post was submitted on 21 Feb 2024
67 points (92.4% liked)

Linux

48072 readers
1 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 6 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)

all 48 comments
sorted by: hot top controversial new old
[–] daniyeg@lemmy.ml 44 points 1 year 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.

[–] someonesmall@lemmy.ml 6 points 1 year 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.

[–] daniyeg@lemmy.ml 6 points 1 year 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 31 points 1 year ago

Most stable Manjaro experience

[–] Luci@lemmy.ca 29 points 1 year 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.

[–] lemmyvore@feddit.nl -1 points 1 year ago (1 children)

Have you even looked at the picture they posted or do you just reply with nonsense by default when you see the word "Manjaro"?

[–] Luci@lemmy.ca 3 points 1 year ago (1 children)

Yeah the picture looks exactly like my experiences with Manjaro. Thanks

[–] lemmyvore@feddit.nl -1 points 1 year ago (1 children)

I've always suspected that Manjaro detractors might be mostly Linux beginners who do stupid stuff then give up at the first sign of trouble.

You're not exactly doing your best to change my mind.

[–] Rustmilian@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] lemmyvore@feddit.nl -1 points 1 year ago* (last edited 1 year ago)

So what if they're behind. AUR packages have dependency requirements too. They won't install if dependencies are not met. Unless you force it — but that wouldn't be their fault.

So how can an AUR package break something if it's not installed?

[–] null@slrpnk.net 17 points 1 year ago (1 children)

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

[–] Rustmilian@lemmy.world 10 points 1 year ago* (last edited 1 year 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 8 points 1 year ago* (last edited 1 year ago) (2 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

[–] lemmyvore@feddit.nl 1 points 1 year 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?

[–] null@slrpnk.net -2 points 1 year 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?

[–] BaalInvoker@lemmy.eco.br 6 points 1 year ago* (last edited 1 year ago) (1 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.

[–] null@slrpnk.net -1 points 1 year ago (1 children)

That's ridiculous. You can blindly install crap that breaks your system on any distro. Just don't blindly install things from the AUR and you'll be fine.

[–] BaalInvoker@lemmy.eco.br 0 points 1 year ago* (last edited 1 year ago) (1 children)

Definitely can. But AUR make it easier, once it's not officially supported and has permission to install things on your base system with root access.

It's kinda the same as you download a deb file and install it or use ppa on debian-based distro. All of that can make your system breaks, but in other distros the general recommendation is to use official repos always when the app is available on repos

[–] null@slrpnk.net 0 points 1 year ago

Right -- so like I said, nothing to do with the AUR and everything to do with being smart about what software you install.

[–] deikoepfiges_dreirad@lemmy.zip 6 points 1 year 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)

[–] yardy_sardley@lemmy.ca 2 points 1 year 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.

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

[–] someonesmall@lemmy.ml 6 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] dysprosium@lemmy.dbzer0.com 3 points 1 year ago (2 children)

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

[–] Offbus@lemmy.world 2 points 1 year 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?

[–] zkrzsz@hexbear.net 2 points 1 year 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.

[–] rotopenguin 1 points 1 year ago

If nothing else, run weston. It's not an amazing wayland server, but it's something.

[–] pruneaue 1 points 1 year ago

Run this before startx maybe:

xhost +local:
[–] delirious_owl@discuss.online 1 points 1 year ago

Check your RAM for errors.

[–] rotopenguin 0 points 1 year ago

Master PDF Editor is on Flathub. If anything can be installed as a flatpak, I would try that first. If a program fits in a sandbox, consuming the files that I give it and drawing in its own little window, Flatpak has that down cold. If a program wants the ability to stick its hands into the guts of other programs and system services and shared libraries - that should happen at the distro level or not at all.

[–] muhyb@programming.dev -4 points 1 year ago

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