Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Display manager "does not recognize" user name.

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

[Solved] Display manager "does not recognize" user name.

#1 Post by keos »

Hello,

How can I change the default display manager in Debian? -- It "does not recognize" the user and in the lightDM Gtk+ configuration there is no way to include it.

Which one do you recommend, and how it will be changed?
"does not recognize"
*I have to type the name every time I open the system.
Last edited by keos on 2024-02-28 15:22, edited 1 time in total.
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 7 times
Been thanked: 16 times

Re: Display manager "does not recognize" user name.

#2 Post by Dai_trying »

This was asked a while back and the answer may help you
viewtopic.php?p=789933#p789933

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: Display manager "does not recognize" user name.

#3 Post by keos »

I do as instructed,
In /etc/lightdm/lightdm.conf un-comment greeter-hide-users and set false if true and a few lines below that set the default user you want selected using user-session
now I can't login
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

arzgi
Posts: 1198
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 32 times

Re: Display manager "does not recognize" user name.

#4 Post by arzgi »

Try to login to console, press CTRL.ALT-F2, meaning press those three buttons at the same time. You should see black background, and login. Login the same as you tried in lightdm, give your username and password.

If you can login, type exit, then CTRL-ALT-F1 or F7, and you should see lightdm again (it can be in F1 or F7), from there reboot, does it work now?

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 7 times
Been thanked: 16 times

Re: Display manager "does not recognize" user name.

#5 Post by Dai_trying »

And once you are in your system you can check if you made a mistake with the line you un-commented, I just tested it and it works as expected, at a guess I would say you uncommented the wrong line which caused a syntax error in the file, the line you want to use is in the

Code: Select all

[Seat:*]
section, go back and adjust as required. Find below the complete section in my system

Code: Select all

[Seat:*]
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-backend=
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#unity-compositor-command=unity-system-compositor
#unity-compositor-timeout=60
#greeter-session=example-gtk-gnome
greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
#session-wrapper=lightdm-session
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false
You will notice that the line that needed to be un-commented is the only one as the system is using default values for the rest.

HTH

User avatar
keos
Posts: 142
Joined: 2021-08-23 16:16
Location: USA
Has thanked: 6 times

Re: Display manager "does not recognize" user name.

#6 Post by keos »

I entered the system through the 'recovery mode' and went straight to

Code: Select all

# nano /etc/lightdm/lightdm.conf
and do as you indicated ... now everything is fine, my user name is already ready, :wink: the problem is that in their post the user wants to log in without type ... (nothing to do with my case) and therefore indicates uncomment the 'autologin' in his commentary.

--but I probably must have done too 'something else' wrong because I couldn't even was able to log in to the system. :mrgreen:
Quad Core Intel Core i5-8265U
Model: 0WHCP7 UEFI: Dell v: 1.5.1

Debian 12 'bookworm'
Desktop: xfce4-panel 4.18.2

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 7 times
Been thanked: 16 times

Re: [Solved] Display manager "does not recognize" user name.

#7 Post by Dai_trying »

Glad you got it sorted :D

Post Reply