You are not logged in.

#1 2023-07-17 23:22:53

0resignati0n
Member
Registered: 2023-07-17
Posts: 1

Desktop environments only works with root, not user

I wanted to install this GUI from the AUR and my computer froze so I had to reboot the system during the make install process. When I tried to log in from LXDM display manager to my normal user, the screen got black and I was returned to the login area. I have tried starting i3 and KDE, instead of Xfce4, but it results in the same problem. What is weird is that everything runs OK when I login to these desktop environments as the `root` user. I'm new to Arch Linux and Linux in general. What can I do to solve this problem and avoid further similar issues?

AUR Package: https://aur.archlinux.org/packages/gpgfrontend
Tried Installation with

makepkg -si

--- EDIT ---

Well, I fixed the issue. While tweaking my user files in another user I created solely for this purpose, I found that a line of code was injected in my `.profile` file. I don't know how it got here, but I deleted that and everything started working as usual.
I don't remember the exact line of code because I just deleted as a saw it. But I know it was it because I was testing every change before moving on.

source .cargo/env

It was something like that. Does that came from the AUR? How can avoid problems like this in the future apart from doing backups, which is already on my list?

Last edited by 0resignati0n (2023-07-18 01:46:48)

Offline

#2 2023-07-18 05:39:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,691

Re: Desktop environments only works with root, not user

Does that came from the AUR?

Nothing. No package whatsoever. Is supposed to write into your $HOME.
https://aur.archlinux.org/packages/gpgfrontend specifically doesn't seem to rely on cargo, which is a rust-specific thing - so look at that corner of your mind.

Also please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB