Bug 448888

Summary: gdm does not allow custom xsessions (~/.xsession)
Product: [openSUSE] openSUSE 11.4 Reporter: Forgotten User il58cQohHy <forgotten_il58cQohHy>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: hpj, mika.fischer, ncutler
Version: Final   
Target Milestone: Final   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User il58cQohHy 2008-11-25 19:29:02 UTC
Apparently lots of changes were made to gdm, and I can't seem to make it recognize my ~/.xsession script. It works as expected in kdm4 and did previously in gdm with 11.0.

[evan@aeroevan:~]$ rpm -qf `which gdm`
gdm-2.24.0-4
Comment 1 Hans Petter Jansson 2008-12-12 21:26:25 UTC
GDM was rewritten from scratch upstream. However, just glancing over the way it's set up on my system, /etc/gdm/Xsession calls /etc/X11/xdm/Xsession, which looks for and (supposedly) executes $HOME/.xsession.

Not sure exactly what's going wrong here.
Comment 2 Jon Nelson 2008-12-27 23:50:25 UTC
Possibly related to bug 462524?
Possibly related to bug 460591?
Comment 3 Jon Nelson 2009-03-24 23:57:06 UTC
Will this be fixed for 11.2 ?
Comment 4 Jon Nelson 2010-09-07 14:48:00 UTC
Is this still an issue? I don't use gdm.
Comment 5 Forgotten User il58cQohHy 2010-09-07 17:13:08 UTC
Yes (on 11.3, gdm-2.30.2-5.8.x86_64).

It looks like it will execute your ~/.xsession if the "custom" command is sent, but the option isn't available in the dropdown (and there isn't any other input method I could find). Something like test -f $HOME/.xsession and then append Custom to the list of available dropdowns would be nice (and I'm fairly sure that's what it did before, but I can't recall).

My workaround was to ln -s .xsession .xinitrc, but that doesn't really solve the issue.
Comment 6 Larry Finger 2011-04-04 04:43:05 UTC
The version with which you had the bug is now obsolete. I'll close this as NORESPONSE. If you can still reproduce it in current 11.4, please reopen the bug and move it to the appropriate version. Thanks!
Comment 7 Forgotten User il58cQohHy 2011-04-04 20:41:40 UTC
The bug still exists in gdm-2.32.0-9.14.1.x86_64 on 11.4, so I'm reopening this bug as requested.
Comment 8 Nathan Cutler 2017-08-11 15:49:31 UTC
This bug has been open for ages and it is an issue in the software ("GNOME") itself rather than in package/distribution, thus the report should go there.