Bug 103546
Summary: | new gnome-session doesn't run ~/.Xclients | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux Beta | Reporter: | Alexandre Oliva <aoliva> | ||||
Component: | gdm | Assignee: | Havoc Pennington <hp> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | beta1 | CC: | jirka | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.4.4.0-2 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-09-04 22:07:31 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: | 100643 | ||||||
Attachments: |
|
Description
Alexandre Oliva
2003-09-02 04:00:42 UTC
The way I thought it worked was: - if you choose the GNOME session in gdm, gnome-session gets run - if you choose the "Default" session .Xclients gets run if present, falling back to gnome-session I have no idea though how you got gnome-session to run .Xclients I'm noticing similar behavior on current updates; before, my .Xclients was run, now it's not. Note that this is the file switchdesk wrote. (In my case, the ssh-add's that I have as part of my session get run, but they're now talking to the wrong ssh-agent.) This is due to the xinitrc change for Xsession; it now runs whatever the first argument passed to it is, as long as it's not 'default' or 'custom'. Perhaps it's because the check is case-sensitive, or we're not migrating the users default/custom setting right? Looks like it's a default migration issue, indeed. If I select `Default system session' (sp?) instead of `Same as last login' (sp?), then my .Xclients is run again, and if I make it the default, then it works permanently. I see what's going on. We are not setting the default right. The default has now been set to gnome.desktop which is the default for the upstream tarball, but in RH we want the default to be Default.desktop. So I'm attaching a patch to add to the rpm to fix this. We were also missing the greeter/ShowLastSession=false which is the "switchdesk mode" of gdm. So will attach a patch to fix this. Created attachment 94161 [details]
patch to fix default session thingie
I added this patch to gdm 2.4.4.0-2, can you try it? Thanks, it *seems* to have fixed it, but I couldn't really guarantee it fixed the original problem because I'd already changed my default session to whatever the version in RHN Severn updates used as the default session. It did open a popup window when I first logged in after the upgrade, though, letting me know it was using the default session as the default session (or something slightly amusing to that effect :-) I suppose this wouldn't have happened had I upgraded directly from the original Severn gdm to this one. It occurred to me that, if I downgraded to the original severn, logged in once choosing the default session at that time, I'd go back to the original settings. Then, upgrading to the new package again and logging in would presumably show whether the problem was fixed. If this is true, then the problem is indeed fixed. Thanks! |