Missing "Run Xclient Script" option from gdm sessions menu
Bug #399516 reported by
Jonathan Thiessen
This bug report is a duplicate of:
Bug #398300: The new gdm doesn't give an option to run /etc/X11/Xsession.
Edit
Remove
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gdm
Upon upgrading from Jaunty to Karmic, the "Run Xclient Script" is missing from the gdm sessions menu, and no similar option has taken it's place.
// -------
Description: Ubuntu karmic (development branch)
Release: 9.10
// -------
gdm:
Installed: 2.26.1-0ubuntu7
Candidate: 2.26.1-0ubuntu7
Version table:
*** 2.26.1-0ubuntu7 0
500 http://
100 /var/lib/
// -------
To post a comment you must log in.
I do not know if this is the preferred method of remedy, however, I propose the following fix:
=> Create a '.desktop' file in '/usr/share/ xsessions' [owned by root:root with permissions 644] whose 'Exec' entry is '/etc/X11/ Xsession' . See attached example. This creates a gdm sessions menu entry that runs Xsession without any arguments. The default behavior of Xsession is to check for the user's ~/.xsession, and get sh to interpret it, thus accomplishing what we want. Of course, this should work with more than just gdm [in the case that other display managers similarly lack an equivalent option by default].