Bug 451850
| Summary: | Allow non-GNOME default session in gdm | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Warren Togami <wtogami> |
| Component: | gdm | Assignee: | jmccann |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 9 | CC: | cschalle, mclasen, rdieter, rstrode, ssorce |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-10-08 21:26:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 438943 | ||
So, while I expect we'd take a patch to change this it won't help you if the user has already selected a session. The session stored in the .dmrc will always override this default. > So, while I expect we'd take a patch to change this it won't help you if the
> user has already selected a session. The session stored in the .dmrc will
> always override this default.
This is fine.
Since we'll be changing this part, perhaps we could discuss alternative ideas.
I would prefer an optional system-wide dmrc that is read before user's dmrc (so
other DM's could read it from the common location). But Ray and Jon said that
some "IPA" based thing should be providing this in the future. They don't want
to add a global dmrc now because they plan on eliminating all .dmrc's.
What exactly is this future thing? Are any details of it written down anywhere?
How soon will we have it?
Not sure why I am needinfo here, changing to assigned as I have no knowledge of internal GDM stuff. I believe this is more or less fixed by the splitting off of gnome-session-xsession. It is now possible to use gdm without installing the file /usr/share/xsessions/gnome.desktop. In that case, the fallback code mentioned in this report won't return gnome, but instead find the first desktop file in /usr/share/xsessions. Considering this fixed, since no further input was provided. |
daemon/gdm-session-direct.c: static char * get_fallback_session_name (void) { const char **search_dirs; int i; char *name; name = g_strdup ("gnome"); if (get_session_command_for_name (name, NULL)) { return name; } The hard coded "gnome" here makes it impossible to specify any other session as default globally for the system. Ray Strode mentioned that it should grab this from the /etc/gdm/custom.conf. Could we have this in a F-9 update as well?