Ask Your Question

Login loop

asked 2017-07-15 19:30:37 +0000

updated 2017-07-17 16:08:40 +0000

Upgraded from Fedora 25 to Fedora 26 and I am stuck at a login loop.

After a reboot, when i log in with GDM, screen goes black and returns to login screen.

If I Ctrl-Alt-F1 to a console and log in, return to login screen, I can then log in normally.

Affects wayland and gnome X sessions as well as LXqt .

It is NOT a selinux problem as it persists with selinux in permissive mode.

Logs: https://paste.fedoraproject.org/paste...

UPDATE: It does not seem to be a login loop.

After logging in screen flashes black and returns to log in screen.

At that time, if I choose shutdown (at GDM screen) it shows I am logged in (asks for confirmation prior to shutdown).

If I switch to console and back - Ctrl-alt-F2 Ctrl-alt-F1 I can then login.

lspci | grep VGA 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Temash [Radeon HD 8250/8280G]

lsmod | grep radeon radeon 1495040 30 i2calgobit 16384 1 radeon drmkmshelper 151552 1 radeon ttm 94208 1 radeon drm 348160 31 radeon,ttm,drmkmshelper

Radeon HD 8250 card and radeon (open source) driver.

Perhaps a problem with radeon ?

edit retag flag offensive close merge delete



Thanks for the drive by down vote without asking for further information or providing suggestions, really helps solve my problem.

bodhi.zazen ( 2017-07-19 04:25:05 +0000 )edit

@bodhi.zazen The same bad user did the same to me. We can see who downvoted your question; checking the current people answering recently and your karma... I will vote positive your question remember, You must do the same with another.

davidva ( 2017-07-19 08:47:33 +0000 )edit

Update: .. It wasn't the .Xauthority file. This login loop happened to me again after an update and removing the .Xauthority file didn't fix the problem. Does anybody know how to fix this. I can login successfully using root user but not my user. when I Ctrl + Alt + F2 and sign in as user, i am able to login to the console but starting graphical interface using startx errors out with /usr/libexec/Xorg.wrap: Only console users are allowed to run the X server xinit: giving up

chet20r ( 2017-10-10 22:50:01 +0000 )edit

I managed to login. Apparently, it was due to the zsh shell which was configured to start in my .bashrc file export SHELL=`which zsh` exec $SHELL -l Commented out the above and I was able to login. Still not sure why having zsh startup automatically in.bashrc file would cause a login loop. some sot of authority issue. Does anyone know?

chet20r ( 2017-10-15 11:50:59 +0000 )edit

@chet20r - that is not the most elegant way to use zsh. Set your login shell to zsh chsh -s zsh or see https://askubuntu.com/questions/13182...

bodhi.zazen ( 2017-10-16 14:54:51 +0000 )edit

1 answer

Sort by » oldest newest most voted

answered 2017-10-16 14:51:12 +0000

Just to be complete this was fixed by an update, not sure which one as I had not updated in about 3-4 weeks and update today resolved the issue.

It was nothing in the /home directory as my problem affected all users including a new user I created for testing user settings.

I do use zsh, but again, I could always log into the console, and in addition the new user I created used bash, so hard to blame zsh in my case.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2017-07-15 19:30:37 +0000

Seen: 957 times

Last updated: Oct 16 '17