GNOME Bugzilla – Bug 313701
gdmflexiserver "Choose server" dialog
Last modified: 2005-10-05 04:16:01 UTC
After updating from gdm 2.8.0.1 to 2.8.0.2 gdmflexiserver start a weird "Choose server" with 3 "Standard server" options doing different things. This dialog also has the buttons on the wrong order.
Created attachment 50848 [details] the dialog
Confirming, same behavior on gentoo
Hmmm, looking at the code I notice a possible bug. The following line in gdmflexiserver.c read_servers() function: section = g_strdup_printf ("=%s=/%s/", config_file); should have "=%s=/" as the first argument, I believe. Looking at gdmXnestchooser.c and gdmphotosetup.c, this is how they are working to do the same thing. Could you try fixing this and see if it corrects the problem. Solaris doesn't support virtual terminals so I can't test this. If this doesn't fix the problem, it would be useful to put printf functions in the read_servers() function and make sure that gdmflexiserver is reading the right names from the configuration file. The chooser_server() function that displays the dialog is just looping over the "xservers" list that is build in read_servers. So I suspect the problem is in the way that the list is being built. I suspect that fixing the setting of the "section" variable as I describe above is the problem.
this change fixes the issue, thanks
Thanks for checking. Fixed in CVS head and in 2.12 branch.
The applied "fix" is wrong, see http://qa.mandriva.com/show_bug.cgi?id=18889 for a description and patch.
Thanks for catching this. You are right. Fixed in CVS head.