Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66055 - Symlink missing so gdm doesn't detect KDE
Summary: Symlink missing so gdm doesn't detect KDE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 51777 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-01 12:36 UTC by Ryan Milne
Modified: 2004-12-25 07:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Milne 2004-10-01 12:36:00 UTC
There should be a symlink from /usr/kde/$VERSION/share/apps/kdm/sessions/kde.desktop to /usr/share/xsessions/kde.desktop where $VERSION is the KDE version number so that new GDM versions show KDE in their sessions.

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-10-02 01:55:48 UTC
I see it's a recurring request here and on the forums (bug 45050, bug 47074, 
bug 40711), but I think the solution should be more general:

The current policy is that each wm puts a file in /etc/X11/Sessions/

I propose to either
- change the policy so that each wm puts a '.desktop' file 
  in /usr/share/xsession, or
- keep the policy, but make gdm create its own '.desktop' files from the files 
  in /etc/X11/Sessions, as kde currently does (see http://www.gentoo.org/cgi-bin/viewcvs.cgi/kde-base/kdebase/files/3.3.0/Xsetup?rev=1.1&content-type=text/vnd.viewcvs-markup).

What do you think?
Comment 2 Dan Armak (RETIRED) gentoo-dev 2004-11-20 11:48:57 UTC
I second the proposal to change the policy to install .desktop session files
in /usr/share/xsessions. That's the default, natively supported behaviour of
kdm and gdm today. /etc/X11/Sessions is a Gentoo-specific thingy that needs
extra code for kdm/gdm to work with it (and gdm doesn't have such code anymore
AFAIK).

Cf last three comments of bug 15315.
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2004-12-04 05:34:37 UTC
*** Bug 51777 has been marked as a duplicate of this bug. ***
Comment 4 Dan Armak (RETIRED) gentoo-dev 2004-12-25 07:59:56 UTC
both kdebase and kdebase-startkde now install 
/usr/share/xsessions/kde-$ver.desktop.