SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-11 12:42:33

blpl
New Member
Registered: 2015-09-10
Posts: 7

Autofill user name in lightdm login/lock screen?

In SLiM greeter its was easy to do. How do this in lightdm greeter?

Offline

Be excellent to each other!

#2 2015-09-11 14:48:47

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Autofill user name in lightdm login/lock screen?

blpl wrote:

In SLiM greeter its was easy to do. How do this in lightdm greeter?

Edit /etc/lightdm/lightdm.conf (Menu -> System -> Login settings)

Uncomment and edit what you need to in the "#autologin" lines.

NB Many questions like this can be answered by going to the wikis in the Help menu item wink

Last edited by damo (2015-09-11 15:02:30)


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#3 2015-09-11 15:07:03

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Autofill user name in lightdm login/lock screen?

I thought /etc/lightdm/lightdm.conf gets overriden by debian's own config file.

What works for me is to first install AccountsService...

sudo apt-get install accountsservice

Then edit /usr/share/lightdm/lightdm.conf.d/01-debian.conf and set...

greeter-hide-users=false

Reboot.


bunsenlabs     8)     forum mod squad

Offline

#4 2015-09-11 15:08:58

blpl
New Member
Registered: 2015-09-10
Posts: 7

Re: Autofill user name in lightdm login/lock screen?

damo wrote:

Uncomment and edit what you need to in the "#autologin" lines.

I tried this but not working.

Now I must type user name and password to unlock screen or login screen, I would like type only password to unlock/login to system. Is there any solution?

Offline

#5 2015-09-11 15:12:40

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: Autofill user name in lightdm login/lock screen?

@hhh

I'll have to do some more research then, because my post is the way that has worked for me in the past.
Debian wiki/LightDM

EDIT: Nope, my mistake. @OP wants to autofill username, not autologin  :8
(Another reason I prefer Slim, apart from the better themeing possibilities it has!)

Last edited by damo (2015-09-11 15:19:01)


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#6 2015-09-11 15:19:23

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Autofill user name in lightdm login/lock screen?

^Except he doesn't want autologin, he just wants the user field to already show his name.

@blpl, I just tried without accountsservice and that works too, at least with only one user on the system.


bunsenlabs     8)     forum mod squad

Offline

#7 2015-09-11 15:21:38

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Autofill user name in lightdm login/lock screen?

blpl wrote:

Now I must type user name and password to unlock screen or login screen, I would like type only password to unlock/login to system. Is there any solution?

You probably missed my post.

In /usr/share/lightdm.conf.d/01-debian.conf set...

greeter-hide-users=false

Then reboot.


bunsenlabs     8)     forum mod squad

Offline

#8 2015-09-11 15:29:24

blpl
New Member
Registered: 2015-09-10
Posts: 7

Re: Autofill user name in lightdm login/lock screen?

hhh wrote:

^Except he doesn't want autologin, he just wants the user field to already show his name.

Exactly. This solution was in CB and still is for example in Xubuntu. On login screen your username is typed, you have to type only password.

@hhh

After your solution nothing's changed.

Offline

#9 2015-09-11 15:37:00

blpl
New Member
Registered: 2015-09-10
Posts: 7

Re: Autofill user name in lightdm login/lock screen?

By the way, I think current solution in Hydrogen's lockscreen (type username and pass) as a kind of impediment.

Last edited by blpl (2015-09-11 15:38:06)

Offline

#10 2015-09-11 15:38:19

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: Autofill user name in lightdm login/lock screen?

Right, in Bunsen make the same change in /etc/lightdm/lightdm.conf.bunsen at line #100. You can change the other file back or leave it, it gets overridden by this setting. Reboot.


bunsenlabs     8)     forum mod squad

Offline

#11 2015-09-11 15:50:57

blpl
New Member
Registered: 2015-09-10
Posts: 7

Re: Autofill user name in lightdm login/lock screen?

hhh wrote:

Right, in Bunsen make the same change in /etc/lightdm/lightdm.conf.bunsen at line #100. You can change the other file back or leave it, it gets overridden by this setting. Reboot.

Bingo, it's working. Big thanks. Will nice to see this solution in stable version of BL.

Offline

#12 2015-09-11 17:07:52

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: Autofill user name in lightdm login/lock screen?

Not everyone wants this. A lot of people don't want a username at all coming up. Others would prefer to use accountsservice to populate the entire user list with the added possibility of custom icons per user.

Last edited by tknomanzr (2015-09-11 17:08:15)

Offline

#13 2015-09-12 01:55:26

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: Autofill user name in lightdm login/lock screen?

Just to clarify the files a bit.
(As to lightdm's settings themselves, I'm not an expert.)

The default config file is /etc/lightdm/lightdm.conf.
What gets overridden by Debian is not the whole file but the default greeter-hide-users=false setting, by /usr/share/lightdm/lightdm.conf.d/01_debian.conf
If greeter-hide-users=false is explicitly set, by uncommenting the line in /etc/lightdm/lightdm.conf, then it should override Debian's default.

It's made more complicated by BunsenLab's custom settings. We use a file /etc/lightdm/lightdm.conf.bunsen, and the standard /etc/lightdm/lightdm.conf is now a symlink to the bunsen file. (This is managed by dpkg overrides, via the config-packages tool.) You can edit either file, the symlink will ensure you end up in the same place.

I don't think it's necessary to install accountsservice to get the users unhidden, but it is needed if you want custom user icons.

This topic came up during a general theme discussion back in March: http://crunchbang.org/forums/viewtopic. … 72#p422472
Point 1) for the custom default login icon is already done in BunsenLabs, but point 2) might be relevant.

login_user_avatar.jpg


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo