You are not logged in.

#1 2013-09-09 15:51:06

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

[SOLVED] Lightdm

Hello.

Well, I have two problems with lightdm.

The first is, that since the latest update lightdm starts X at tty1 instead of tty7.
The second is that all kind of users are listed at the login screen despite the contents of my /etc/lightdm/users.conf file. They are not above the defined uid 1000, I've listed them by their names too. Lightdm does not give one.

Anyone else experiencing this?

Last edited by scar (2013-09-11 07:25:43)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#2 2013-09-09 16:32:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Lightdm

See https://projects.archlinux.org/svntogit … a3469f0815 , https://projects.archlinux.org/svntogit … 86dcccb7c2 and other changes.

Which version exactly are you running?


I think this patch https://projects.archlinux.org/svntogit … a3469f0815 is responsible for starting X on vt1.

Offline

#3 2013-09-09 16:45:08

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Lightdm

I flagged lightdm as out of date this morning as the current version is 1.7.13. It got reset - I don't know how/why?

However, the user bug you refer to is still outstanding. I fixed it by changing "[UserAccounts]" to "[UserList]"

https://bugs.launchpad.net/lightdm/+bug/1069218

Offline

#4 2013-09-09 16:47:42

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [SOLVED] Lightdm

I run lightdm 1:1.6.1-3.
You win, UI also think the same for the patches.
This behaviour can be changed by the way by changing this: "minimum-vt=1" to "minimum-vt=7".
However all systemd messages are still shown on tty1 and no login prompt is available.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#5 2013-09-09 16:58:58

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [SOLVED] Lightdm

Thanks to Vacant - I've figured it out from Karols's post by the time you were writing it.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#6 2013-09-09 17:10:05

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Lightdm

Yeah, that bug is almost a year old, shall we buy it a birthday cake? wink

Seriously, my guess is the problem rarely crops up as most lightdm/ubuntu/gnome users have "account service" installed which means users.conf is never consulted.

Offline

#7 2013-09-10 05:37:08

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [SOLVED] Lightdm

I would be really interested in reactivating console login on tty1.
(Was that a linux trojan?)

Last edited by scar (2013-09-10 05:37:49)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#8 2013-09-10 05:47:13

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Lightdm

If you actually look in the lightdm.service file, you will find "Conflicts=getty@tty1.service".  So if lightdm.service is activated and running, it will stop getty@tty1.service from activating.

This is not a bug.  In fact, I would call it a feature.  The rest of the ttys are auto activated on access.  So for most users, there is really no point in using the resources (no matter how little) to start something that they are probably not going to see or use.  So in place of the default agetty, the display-manager.service gets started.

IMO, you should leave this as is, and if you are really really concerned about having 6 TTYs, configure an additional TTY in logind.conf.

Last edited by WonderWoofy (2013-09-10 05:48:33)

Offline

#9 2013-09-10 05:57:34

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [SOLVED] Lightdm

You can call it a bug, a feautre or a virus too. It alters the way your box is working in an unexpected way.
I will not leave it, since I think all that Arch is about is customization, and I like it that way.

By the way, thank you for the hint.

[EDIT]

If I comment that line in lightdm.service, nothing changes. Still no tty1 !

Last edited by scar (2013-09-10 06:02:15)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#10 2013-09-10 06:34:33

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Lightdm

No.  It is not a bug, and it is especially not a virus. 

You can customize your machine however you please, but statements like that is just FUD.

Offline

#11 2013-09-10 07:14:43

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [SOLVED] Lightdm

The thing about the virus was just a joke, sorry, if it that hurted you so badly.
What I ment was that anytime something changes the working of a program, I would like to know about it. All that begun with another probem I've already solved, other users experienced it too, see:  https://bbs.archlinux.org/viewtopic.php?id=169552.

By the way, login at tty1 stil not working. I've copied the service file to /etc/systemd/sytem/lightdm.service and uncommented the relevant  "Conflicts=getty@tty1.service" line. Still no tty1.

If I launch manualy (systemctl start getty@tty1.service) , it launches.

[EDIT]

I think I found it. This one was missing:
/etc/systemd/system/getty.target.wants/getty@tty1.service
Otherwise the file existed on all my other boxes.

I've made a symlink to the /usr/ib/systemd/system/getty@.service and it works now.
However, I don't understand why it disappeared...

Finally, I can mark this as SOLVED

Last edited by scar (2013-09-11 07:25:25)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

Board footer

Powered by FluxBB