You are not logged in.

#1 2015-11-27 19:25:05

toonaero
Member
Registered: 2015-01-03
Posts: 37

Arch Linux can't login after update. I can login with root however

Hey everyone! So I booted up into arch and when I tried logging in, all that showed up was a flash of text then the login window again. It's not the wrong password because I tried using a wrong password and it would say incorrect. I can also login with root but idk what I should do, any help would be appreciated!

Offline

#2 2015-11-27 19:32:47

markzz
Member
From: Michigan, United States
Registered: 2013-06-08
Posts: 89
Website

Re: Arch Linux can't login after update. I can login with root however

What is the error?  It isn't much use to tell us that there's a problem with little to no details.


I don't want to work.  I want to bang on the drum all day.

Offline

#3 2015-11-27 19:39:36

toonaero
Member
Registered: 2015-01-03
Posts: 37

Re: Arch Linux can't login after update. I can login with root however

Well there is no error message. And if there is one I'm not sure where I would look to find it.

Offline

#4 2015-11-27 19:39:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: Arch Linux can't login after update. I can login with root however

Logs?

Offline

#5 2015-11-27 19:51:09

toonaero
Member
Registered: 2015-01-03
Posts: 37

Re: Arch Linux can't login after update. I can login with root however

Scimmia wrote:

Logs?

looked and the only thing that their reporting is "systemd-logind: releasing fd for 13:65

Offline

#6 2015-11-27 20:18:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Arch Linux can't login after update. I can login with root however

Boot into what? Log into what? What does the journal say. Please make some effort to help us help you.
Read How To Ask Questions The Smart Way...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-11-28 09:29:44

Fuxino
Member
From: Slovakia
Registered: 2014-09-26
Posts: 185

Re: Arch Linux can't login after update. I can login with root however

Are you using a display manager? What's in your Xorg log?

Also, what packages were updated?

Last edited by Fuxino (2015-11-28 09:40:12)


Arch + XMonad

Dotfiles: https://github.com/Fuxino/dotfiles

Offline

#8 2015-11-28 09:43:50

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Arch Linux can't login after update. I can login with root however

toonaero wrote:

It's not the wrong password because I tried using a wrong password and it would say incorrect.

So using the wrong password says incorrect.  I understand this much.  But how does that tell you that the right password is right?

Offline

#9 2015-11-28 18:52:34

dcj123
Member
Registered: 2009-12-27
Posts: 58

Re: Arch Linux can't login after update. I can login with root however

With what little inforamtion you have posted I would recommend logging into root since you say you can do that and change the password to your user as root. Run passwd username and logout and than try to login as your regular user. That would be my first step in debugging.

Offline

#10 2015-11-28 23:11:13

toonaero
Member
Registered: 2015-01-03
Posts: 37

Re: Arch Linux can't login after update. I can login with root however

Sorry for the late response, something came up and I had to head out! But 

frank604 wrote:
toonaero wrote:

It's not the wrong password because I tried using a wrong password and it would say incorrect.

So using the wrong password says incorrect.  I understand this much.  But how does that tell you that the right password is right?

Its right because it logs me in for ~ 1 second, and I can see a flash of text that resembles how my command line shell looks when I start up linux.

Fuxino wrote:

Are you using a display manager? What's in your Xorg log?

Also, what packages were updated?

Nope, no display manager being used just the command line shell. My where can I find the xorg log and which packages were updated?(when I upgraded I did pacman -Syu I believe)

dcj123 wrote:

With what little inforamtion you have posted I would recommend logging into root since you say you can do that and change the password to your user as root. Run passwd username and logout and than try to login as your regular user. That would be my first step in debugging.

Ill try this thank you!

Offline

#11 2015-11-28 23:15:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,561
Website

Re: Arch Linux can't login after update. I can login with root however

I suspect you `exec` something from your bashrc.  What is it?

Do you have X set to start automatically upon login?  Or tmux?  Or something else?

No need to reset your password, as you are succesfully logging in, you are just immediately being logged out due to a failed exec command.

If you don't know if you have an exec command in your bashrc, log in as root, and check your users bashrc to find out.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#12 2015-11-28 23:21:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Arch Linux can't login after update. I can login with root however

What display manager are you using?
What happens if you use CTRL-ALT-F2 to flip to your second console and log in from there.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#13 2015-11-28 23:29:49

toonaero
Member
Registered: 2015-01-03
Posts: 37

Re: Arch Linux can't login after update. I can login with root however

Trilby wrote:

I suspect you `exec` something from your bashrc.  What is it?

Do you have X set to start automatically upon login?  Or tmux?  Or something else?

No need to reset your password, as you are succesfully logging in, you are just immediately being logged out due to a failed exec command.

If you don't know if you have an exec command in your bashrc, log in as root, and check your users bashrc to find out.

I did not have X to start automatically upon login or anything.



I think I learned what's causing me to get logged out. I took my camera out and recorded what it said when I would log in and I got an error message saying error while loading shared libraries: libncursesw.so.5 no such file or directory exist.

Offline

#14 2015-11-28 23:39:11

toonaero
Member
Registered: 2015-01-03
Posts: 37

Re: Arch Linux can't login after update. I can login with root however

Problem solved. After learning what was causing the problem a quick google search helped me diagnosis this issue. Just create a symblink of libncursesw.so.6 to libncursesw.so.5

Offline

#15 2015-11-29 00:16:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Arch Linux can't login after update. I can login with root however

toonaero wrote:

Problem solved. After learning what was causing the problem a quick google search helped me diagnosis this issue. Just create a symblink of libncursesw.so.6 to libncursesw.so.5

This is not a fix: it is a stupid workaround. Fully update your system: https://wiki.archlinux.org/index.php/Pa … nsupported


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#16 2015-11-29 00:18:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,561
Website

Re: Arch Linux can't login after update. I can login with root however

That's a solution in the same way duct tape on a hole in a spaceshuttle is a solution.  It might hold the air in momentarily ... if you're lucky, but you'd never take off in that thing.

Rebuild whatever AUR package requires ncurses.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#17 2015-12-02 01:14:05

Daviljoe193
Member
From: the boring old Fall River M.A
Registered: 2015-06-24
Posts: 36

Re: Arch Linux can't login after update. I can login with root however

toonaero wrote:

Problem solved. After learning what was causing the problem a quick google search helped me diagnosis this issue. Just create a symblink of libncursesw.so.6 to libncursesw.so.5

You should mark this as solved then, as I came here thinking it was unsolved, then being disappointed to see otherwise.

EDIT: Accidentally quoted wrong post. :\

Last edited by Daviljoe193 (2015-12-02 01:15:16)


I'm a noob, a noob that has installed Arch (And Gentoo.) several times on obscure hardware, and a noob that has used Linux exclusively for 6 years now, but I'm still just a noob.
Main Computer: Dell Inspiron 11 - 4GB ram, 500 GB spinning rust, plain Arch X86-64, UEFI

Offline

Board footer

Powered by FluxBB