I can't start any of my desktop environments/window managers even after reinstalling them

Which one?

But it seems I can’t help. For other helper post which one you use snapper or timeshift.
Also, how you boot in the different DE’s.

IIRC, no boot without .Xauthority.

1 Like

I have both

Both in /home/$USER/

IDK

No.

1 Like

well then where else could the pacman log be?

    The one in the home directory.

Both in /home/$USER/

home/USER/.xinitrc is the file

Do not post like in a chat room, edit your post until someone answer.

(Can't post as text, sorry. Error 403)

My .xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
    for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
        [ -x "$f" ] && . "$f"
    done
    unset f
fi

export DESKTOP_SESSION=plasma
exec startplasma-x11
3 Likes

I have the same .xinitrc as you.

[2022-06-19T21:17:59-0300] [PACMAN] Running 'pacman -S arandr'
[2022-06-19T21:18:02-0300] [ALPM] running '05-snap-pac-pre.hook'...
[2022-06-19T21:18:02-0300] [ALPM] transaction started
[2022-06-19T21:18:02-0300] [ALPM] installed arandr (0.1.10-7)
[2022-06-19T21:18:02-0300] [ALPM] transaction completed
[2022-06-19T21:18:02-0300] [ALPM] running '10-pacwall.hook'...
[2022-06-19T21:18:02-0300] [ALPM] running '30-systemd-update.hook'...
[2022-06-19T21:18:02-0300] [ALPM] running 'foreign.hook'...
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] apm 2.6.5-2
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] aseprite 1.2.33-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] atom 1.61.0beta0-2
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] betterdiscord-installer 1.1.1-2
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] bitburner 1.4.0-3
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] dl-musescore 0.31.0-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] dunelegacy 0.96.4-2
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] electron9 9.4.4-6
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] freyr-git r872.3155a69-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] headlines 0.5.3-2
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] kipi-plugins 21.12.3-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] lgogdownloader 3.9-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] libkipi 21.12.3-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] logisim 2.7.1-7
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] m8c 1.0.3-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] maltego 4.3.0-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] media-downloader 2.2.0-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] minecraft-server 1.18.2-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] minepkg 0.1.4-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] mullvad-vpn 2021.6-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] ntk-git 0.r166.720d8d3-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] openmpt 1.30.03.00-3
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] pacwall-git 2.3.r4.g6a79bbb-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] popcorntime-bin 0.4.7-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] python-itunespy 1.6-2
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] python-puremagic 1.12-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] python-requests-futures 1.0.0-3
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] python-sabyenc3 4.0.2-3
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] python-torrequest 0.1.0-3
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] raven-reader-bin 1.0.72-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] samba-mounter-git 186.29ebad4-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] sherlock-git r1633.294e1e6-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] splatmoji-git r92.b8d14b4-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] spline 0.3.0-4
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] spotiflyer-bin 3.6.1-3
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] tetris 7.0.1-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] twitter-nativefier 1.0-2
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] unciv 4.1.3.REL-1
[2022-06-19T21:18:02-0300] [ALPM-SCRIPTLET] xcursor-sweet 20200612-1
[2022-06-19T21:18:02-0300] [ALPM] running 'orphans.hook'...
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] blueprint-compiler-git r180.c094743-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] chrpath 0.16-3
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] cmake 3.23.2-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] dos2unix 7.4.3-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] electron12 12.2.3-4
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] electron13 13.6.9-3
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] electron15 15.5.4-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] electron16 16.2.5-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] electron9 9.4.4-6
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] elfutils 0.187-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] gendesk 1.0.9-3
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] gn 0.2042.2ecd43a1-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] go 2:1.18.3-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] gradle 7.4.2-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] help2man 1.49.2-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] innoextract 1.9-6
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] jq 1.6-4
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] lgogdownloader 3.9-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] libcroco 0.6.13-2
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] libmms 0.6.4-3
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] libofa 0.9.3-9
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] libticables 1.3.5-2
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] libtifiles 1.1.7-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] lld 13.0.1-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] mathjax2 2.7.9-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] nasm 2.15.05-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] neard 0.18-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] nodejs-nativefier 47.2.0-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] ntk-git 0.r166.720d8d3-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] par2cmdline 0.8.1-2
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-cheetah3 3.2.6-4
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-cherrypy 18.6.1-4
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-css-parser 1.0.6-5
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-dulwich 0.20.43-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-feedparser 6.0.3-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-guessit 3.4.3-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-itunespy 1.6-2
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-jaraco.itertools 6.2.1-2
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-jaraco.logging 3.1.1-2
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-jaraco.stream 3.0.3-2
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-notify2 0.3.1-7
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-puremagic 1.12-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-sabyenc3 4.0.2-3
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python-toml 0.10.2-7
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] python2 2.7.18-5
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] qt4 4.8.7-35
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] ruby-bundler 2.3.15-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] snap-pac 3.0.1-1
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] xf86-video-intel 1:2.99.917+916+g31486f40-2
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] yarn 1.22.19-1
[2022-06-19T21:18:03-0300] [ALPM] running 'pacnew-check.hook'...
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] e[1m.pac* files found:e[0m
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] /etc/locale.gen.pacnew
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] /etc/pacman.d/mirrorlist.pacnew
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] /etc/paru.conf.pacnew
[2022-06-19T21:18:03-0300] [ALPM-SCRIPTLET] e[1mPlease check and mergee[0m
[2022-06-19T21:18:03-0300] [ALPM] running 'update-desktop-database.hook'...
[2022-06-19T21:18:03-0300] [ALPM] running 'zz-snap-pac-post.hook'...
[2022-06-19T21:18:03-0300] [ALPM] running 'zzz_post.hook'...
[2022-06-19T21:30:22-0300] [PACMAN] Running 'pacman -S xrandr'
[2022-06-19T21:57:44-0300] [PACMAN] Running 'pacman -Sy'
[2022-06-19T21:57:44-0300] [PACMAN] synchronizing package lists
[2022-06-19T21:57:46-0300] [PACMAN] Running 'pacman -Sy'
[2022-06-19T21:57:46-0300] [PACMAN] synchronizing package lists
[2022-06-19T21:57:47-0300] [PACMAN] Running 'pacman -Su -y'
[2022-06-19T21:57:47-0300] [PACMAN] synchronizing package lists

my pacman.log around the time of the disaster in case this might help

Changing the ownership of the home directory and of the file .Xauthority to the user fixes the issue. I'm sorry to those I was acting improper towards, I was slightly stressed by this whole thing.

1 Like

Who might have changed that?

2 Likes

I have no clue, maybe arandr?

This often happens due to misuse of sudo, like sudo startx or similar, or starting applications with sudo from the terminal when sudo is not needed, or maybe in some scripts.

5 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.