You are not logged in.

#1 2014-05-02 17:38:53

LittleBigUser
Member
Registered: 2013-09-18
Posts: 8

login, cdm, xorg isn't working (anymore).

Short Description:

I have installed cdm (ConsoleDisplayManager). Since 2014-05-01 it is not launching xorg with i3 anymore after login on tty1.

Long Description:

I'm using cdm now for a few weeks. cdm was launching automaticly after login on tty1. I have setup to choices in cdm: i3 and bash. This configuration was working until the 2014-05-01. After login on tty1 cdm is still launching, but if I select the i3 menu entry, cdm falls back to login. The intresting point is, if I login on to the bash (or another tty) and than manuall launching cdm, choosing i3, i3 is launching like I expect it and like it did it on login before 2014-05-01.

I would be happy about ideas to solve this behaviour.

Thank you very much.

LittleBigUser

Offline

#2 2014-05-02 18:05:24

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: login, cdm, xorg isn't working (anymore).

Make sure your machine is fully updated. check dmesg. check journalctl and xorg logs to see what could have failed.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2014-05-02 18:15:47

LittleBigUser
Member
Registered: 2013-09-18
Posts: 8

Re: login, cdm, xorg isn't working (anymore).

Thank you for your fast answer.

I already checked all you mentioned without result. dmesg and journalctl is clean. xorg.log (Xorg.0.log or Xorg.log.0 or whatever) looks, like xorg is not called. So I think, the problem belongs to cdm and how it is running automaticly after login on tty1. But okay, I see I have to check, were in cdm exactly it isn't working.

Offline

#4 2014-05-02 21:59:49

LittleBigUser
Member
Registered: 2013-09-18
Posts: 8

Re: login, cdm, xorg isn't working (anymore).

The call-order is

login on tty1
-> /etc/profile.d/zzz-cdm.sh
-> /usr/bin/cdm
-> /usr/bin/cdm-xlaunch
-> /usr/bin/startx
-> /usr/bin/xinit

Currently, it looks like the problem is inside startx and do not belong to cdm. startx is called, but a Xorg.log isn't created, so I think xinit isn't called. But remember, if I login to the bash and than manually call startx (or xinit) it works perfect. And were is since two days the difference between calling startx via the automatic profile.d calls and a manuall call form the bash?

Last edited by LittleBigUser (2014-05-02 22:04:25)

Offline

#5 2014-05-03 13:27:10

LittleBigUser
Member
Registered: 2013-09-18
Posts: 8

Re: login, cdm, xorg isn't working (anymore).

Okay, I was wrong. The problem doesn't belong to /usr/bin/startx.

/usr/bin/cdm-xlaunch is calling /usr/bin/startx via the line:

setsid startx "$@" > "$startxlog" 2>&1 &

In my case the call looks like:

setsid startx /usr/bin/i3 -- :0 -nolisten tcp vt7 > /dev/null 2>&1 &

Any ideas, why this call is working from a bash (via calling cdm manually), but not from a automatic call (via /etc/profile.d/zzz-cdm.sh)?

Offline

#6 2014-05-03 18:11:32

LittleBigUser
Member
Registered: 2013-09-18
Posts: 8

Re: login, cdm, xorg isn't working (anymore).

Somehow the problem belongs to the last "&" in the call. If I remove it, the wm session starts as expected, but on the other hand the login-tty is ocupied, what isn't the normal behavior. Does someone have an idea, why this "&" could become from one day to the next one a problem?

Last edited by LittleBigUser (2014-05-03 18:12:14)

Offline

#7 2014-05-07 08:14:28

Legogris
Member
Registered: 2012-09-11
Posts: 38

Re: login, cdm, xorg isn't working (anymore).

I haven't taken time to do proper research here, but can testify that I've run a similar setup for quite some time and also ran into the exact same problem you describe since a system update last week.

Offline

#8 2014-05-07 08:28:16

jayasinghe
Member
From: Germany
Registered: 2011-12-16
Posts: 23
Website

Re: login, cdm, xorg isn't working (anymore).

Same here. Your workaround helped. Is CDM still under maintenance? I guess that the developer(s) might have some deeper understanding what is happening here.

Robin

Offline

#9 2014-05-07 09:01:16

jayasinghe
Member
From: Germany
Registered: 2011-12-16
Posts: 23
Website

Re: login, cdm, xorg isn't working (anymore).

I created a git hub issue for this problem: https://github.com/ghost1227/cdm/issues/32

Offline

#10 2014-05-08 22:38:23

LittleBigUser
Member
Registered: 2013-09-18
Posts: 8

Re: login, cdm, xorg isn't working (anymore).

I'm not happy about the problem, but I'm happy to be not the only one with the problem. Thank you jayasinghe, for opening an issue.

Last edited by LittleBigUser (2014-05-08 22:38:50)

Offline

Board footer

Powered by FluxBB