You are not logged in.

#1 2015-10-07 17:29:09

justanotheruser
Member
Registered: 2014-11-26
Posts: 14

Stuck in login loop (Slim & Awesome)

Hi,
I am using Slim as display manager.
I was tinkering around with conky and awesome. I also installed cairo-compmgr to get transparency.
But all of a sudden I am stuck in a login loop. The moment I enter my credentials, it takes me back to the login window. Below is my .xinitrc in my home dir.

exec awesome &

I am getting messages like the one below once I try to login from one of the virtual terminals:
Waiting for X server to shutdown error setting MTR (base = 0x000000, size = 0x00cx00000, type =1) No such device (19)
(II) Server terminated successfully (0)
Closing log file.

Also when I am trying to start Awesome, I am getting the below error:

E: awesome: main:413: cannot open display (error 5)

Last edited by justanotheruser (2015-10-07 17:30:59)

Offline

#2 2015-10-07 17:55:11

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

Re: Stuck in login loop (Slim & Awesome)

You don't background your WM. Please read the wiki before posting: https://wiki.archlinux.org/index.php/Xinitrc


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-10-07 17:56:50

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Stuck in login loop (Slim & Awesome)

If your .xinitrc is that one line, it looks like you didn't read the part of the wiki I pointed you to in your other thread.

Remove the ampersand (&). I can't think of a good reason to use exec and & together like that. If you remove the exec, nothing changes.

Last edited by Raynman (2015-10-07 17:58:49)

Offline

#4 2015-10-07 18:32:17

justanotheruser
Member
Registered: 2014-11-26
Posts: 14

Re: Stuck in login loop (Slim & Awesome)

Hi Raynman,
I did read your post in the other thread and tried that out. But the thing is that that script was not satisfying any condition / logic and so I reverted to this version just to see if that would make any difference. The reason why I put in the & was that I saw some of the posts where people were putting it in the background but maybe that was the reason why they were also facing some issues.
I am still not sure though why putting it in the background caused this issue.
As for exec, yeah it could have been avoided too. In the wiki it says that lines following exec will be ignored. Is it because exec creates another shell and returns only the exit status of the last run program?

And conky is still not starting at login. I have to manually start it. But I will update the other post for this.

Thanks for helping me out with this silly little issue but it's been a long time since I have done anything like this.
I will close this thread in some time.

Offline

#5 2015-10-07 18:44:02

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Stuck in login loop (Slim & Awesome)

Please post your "/var/log/Xorg.0.log" file after attempting to login to X.

Offline

Board footer

Powered by FluxBB