You are not logged in.

#1 2018-01-29 21:33:39

olocin
Member
Registered: 2018-01-03
Posts: 171

weird behavior of gdm

I use gnome display manager with either dwm or gnome desktop environment. Upon reboot, it presents a list of those desktop environments, ordered alphabetically, so dwm is first and selected automatically. However, if I just press enter it logs into gnome display manager, while to log into dwm I have to first select something in the menu and then select dwm again. Is this correct behavior? if not, is it a bug?

Offline

#2 2018-01-30 12:49:39

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: weird behavior of gdm

What is your default session set to in /var/lib/AccountsService/users/username ?
See wiki for GDM

Last edited by chicha (2018-01-30 12:55:07)

Offline

#3 2018-01-30 16:17:33

olocin
Member
Registered: 2018-01-03
Posts: 171

Re: weird behavior of gdm

it's

[User]
Language=en_US.UTF-8
XSession=dwm
SystemAccount=false

Offline

#4 2018-01-30 17:05:54

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: weird behavior of gdm

This is weird indeed. According to Gnome documentation this should work.
Do you have this issue if you ?

  1. Login selecting dwm session

  2. Logout

  3. Login with just pressing enter

Offline

#5 2018-01-30 19:22:01

olocin
Member
Registered: 2018-01-03
Posts: 171

Re: weird behavior of gdm

No, I only have it (most of the times) upon fresh boot (or reboot).

Is it a bug then?

Offline

#6 2018-01-31 16:40:08

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: weird behavior of gdm

And if you do it the other way round, I mean :

  1. Login selecting gnome session

  2. Logout

  3. Login with just pressing enter

Do you go to dwm or gnome-session ? This would show whether the problem is isolated to reboot or shows that gdm simply remembers your last choice as a default.

Offline

#7 2018-01-31 18:37:21

olocin
Member
Registered: 2018-01-03
Posts: 171

Re: weird behavior of gdm

If I do the other way around, I get gnome, namely it remembers the last choice.
What happens with fresh boot or reboot (sometimes, not always!) is that, even if dwm is selected in the dropdown menu (e.g. because it remembers the choice from before powering off, or just because it is the default one) then if I enter the password and hit enter, gnome appears.

Offline

#8 2018-01-31 18:45:06

chicha
Member
From: France
Registered: 2007-04-20
Posts: 271

Re: weird behavior of gdm

Ok so basically gdm remembers your last used session type except that it does not work sometimes on reboot.
If you do not have a reproducible behavior then indeed this might be a bug that it is worth reporting to the gnome bug tracker.

Offline

#9 2018-01-31 18:46:25

olocin
Member
Registered: 2018-01-03
Posts: 171

Re: weird behavior of gdm

I agree, thanks for helping.

Offline

Board footer

Powered by FluxBB