Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing availability of desktop session type selection #105

Open
elfring opened this issue Aug 23, 2021 · 3 comments
Open

Fixing availability of desktop session type selection #105

elfring opened this issue Aug 23, 2021 · 3 comments
Labels
Confirmed Verified by someone other than the reporter.

Comments

@elfring
Copy link

elfring commented Aug 23, 2021

I switched my login interface from the GNOME Display Manager (version 40.1-1.fc34) to the LightDM GTK+ Greeter (version 2.0.8-1.fc34).
Now I am missing the widget for the selection of a desktop session alternative (as it is specified by the setting “indicators” in the file “/etc/lightdm/lightdm-gtk-greeter.conf”).
How should it be reactivated? 🤔

@Apteryks
Copy link

Apteryks commented Aug 10, 2022

Is it wholly missing, or is it there but blank? Using 2.0.8 too, this is what I see:
lightdm-session-chooser-bug

I have no clue why it occurs, the debug logs don't seem to suggest anything wrong; actually, perhaps this is related (in /var/log/lightdm/seat0-greeter.log:

(lightdm-gtk-greeter:362): Gtk-WARNING **: 18:00:30.082: Drawing a gadget with negative dimensions. Did yo
u forget to allocate a size? (node menubar owner GreeterMenuBar)
DEBUG-Message: 18:00:30.184: Read 8 bytes from daemon
DEBUG-Message: 18:00:30.184: Read 35 bytes from daemon
DEBUG-Message: 18:00:30.184: Prompt user with 1 message(s)

(lightdm-gtk-greeter:362): Gtk-WARNING **: 18:01:01.015: Drawing a gadget with negative dimensions. Did yo
u forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:362): Gtk-WARNING **: 18:01:04.754: Drawing a gadget with negative dimensions. Did yo
u forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:362): Gtk-WARNING **: 18:01:05.399: Drawing a gadget with negative dimensions. Did yo
u forget to allocate a size? (node menubar owner GreeterMenuBar)
[...]

@bluesabre bluesabre added the Confirmed Verified by someone other than the reporter. label Sep 27, 2022
@Apteryks
Copy link

This thread suggests the problem may be a memory allocation failure? https://forums.freebsd.org/threads/lightdm-doesnt-start-automatically-on-boot.73951/. That's odd to me, but the log output are very similar.

@tumashu
Copy link

tumashu commented Oct 25, 2024

I have tested and found that:

In lightdm-gtk-greeter, the following line run success and return no session.

   items = lightdm_get_sessions ();

But, in lightdm, the following function in liblightdm-gobject/session.c is not called:

/**
 * lightdm_get_sessions:
 *
 * Get the available sessions.
 *
 * Return value: (element-type LightDMSession) (transfer none): A list of #LightDMSession
 **/
GList *
lightdm_get_sessions (void)
{
    g_debug ("Run lightdm_get_sessions");
    update_sessions ();
    return local_sessions;
}

I do not know why, seem to very confuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed Verified by someone other than the reporter.
Projects
None yet
Development

No branches or pull requests

4 participants