You are not logged in.

#1 2020-10-27 06:48:56

fire100265
Member
Registered: 2020-10-05
Posts: 95

[SOLVED] I am unable to start a plasma session after running startx

Hello,
I tried to use the i3 window manager and installed the i3 group through pacman. The ArchWiki said that making an .xinitrc file would be a good idea to run i3. So, I did it. What happened was that when I tried to run a plasma session after running startx, I could not get past the login screen. Putting in my password results in nothing happening. After this, I uninstalled xorg-xinit, reinstalled plasma and deleted ~/.xinitrc. This does not fix the problem and I do not know how to fix it now. Any help would be appreciated. Thank you.

Last edited by fire100265 (2020-10-28 07:33:05)

Offline

#2 2020-10-27 07:30:28

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

Re: [SOLVED] I am unable to start a plasma session after running startx

So your plasma problems do actually not have to do anything w/ xinit and we cannot even inspect the xinitrc to see what you might have done else.

Please post a complete system journal covering the failed login, you can follow the first link in my signature to upload the output from a text shell.
If you tried to sudo-fix something on the road, you might have messed up the permissions in your $HOME, check (as your regular user!)

find ~ \! -user $USER -print

Offline

#3 2020-10-27 09:45:59

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: [SOLVED] I am unable to start a plasma session after running startx

Thank you for your reply. After running the command, I got this output:

/home/$USER/.Xauthority
/home/$USER/pkgs

This is my systemd log of the failed login:

curl http://ix.io/2Cba

Offline

#4 2020-10-27 13:18:41

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

Re: [SOLVED] I am unable to start a plasma session after running startx

This is bad: /home/$USER/.Xauthority

stat /home/$USER/.Xauthority

You likely want to fix the permissions on ~/pkgs a well.

Offline

#5 2020-10-28 02:08:33

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: [SOLVED] I am unable to start a plasma session after running startx

Sorry for the late reply. It was night time in my country. After running that command, I got the following output:

File: /home/$USER/.Xauthority
  Size: 128             Blocks: 8          IO Block: 4096   regular file
Device: 816h/2070d      Inode: 5509923     Links: 1
Access: (0600/-rw-------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2020-10-27 14:05:14.252882668 +0800
Modify: 2020-10-27 14:05:14.252882668 +0800
Change: 2020-10-27 14:05:14.252882668 +0800
 Birth: 2020-10-27 14:05:14.252882668 +0800

Offline

#6 2020-10-28 05:25:56

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: [SOLVED] I am unable to start a plasma session after running startx

Should I just backup everything and reinstall Arch?

Offline

#7 2020-10-28 07:02:58

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

Re: [SOLVED] I am unable to start a plasma session after running startx

No, just fix the ownership of those files.

Offline

#8 2020-10-28 07:06:01

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: [SOLVED] I am unable to start a plasma session after running startx

What commands do I need to run to fix ownerships?

Offline

#9 2020-10-28 07:10:25

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

Offline

#10 2020-10-28 07:32:45

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: [SOLVED] I am unable to start a plasma session after running startx

Thank you so much! I changed ownership of /home/$USER/.Xauthority to $USER and I could start a plasma session.

Offline

Board footer

Powered by FluxBB