Bug 65634 - x11-wm/xfce4 and x11/gdm2 - GDM session file not installing correctly
Summary: x11-wm/xfce4 and x11/gdm2 - GDM session file not installing correctly
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Oliver Lehmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 19:10 UTC by Linh Pham
Modified: 2004-04-16 19:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Linh Pham 2004-04-16 19:10:22 UTC
When building and installing x11-wm/xfce4 from Ports with "WITH_GDM" set,
the XFCE4.desktop session file is not installed correctly if
${X11BASE}/etc/dm/Sessions/ is not created. Instead of creating a directory,
the contents of files/XFCE4.desktop is installed as
${X11BASE}/etc/dm/Sessions as a file and not
${X11BASE}/etc/dm/Sessions/XFCE4.desktop.

This causes GDM to not recognize the session files and logs the following
error into syslog:

gdmgreeter[pid]: No default session link found. Using Failsafe GNOME

It could be that x11/gdm2 is not creating the Sessions directory in the
first place as the default session link isn't even created during install, but
there needs to be a check in the Makefile that should create the directory if
it doesn't exist.

Fix: 

x11/gdm2 should be installing ${X11BASE}/etc/dm/Sessions along with a default
session link file at the end of 'make install'.

x11-wm/xfce4 needs to check to see if ${X11BASE}/etc/dm/Sessions exists as a
directory and create it if it does not exist.
How-To-Repeat: 1. Clean Install of FreeBSD 5.2.1-RELEASE
2. Build and install x11/XFree86-4
3. Build and install x11/gdm2
4. Build and install x11-wm/xfce4
Comment 1 Oliver Lehmann freebsd_committer freebsd_triage 2004-04-16 19:17:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

I'll handle that
Comment 2 Oliver Lehmann freebsd_committer freebsd_triage 2004-04-16 19:26:58 UTC
State Changed
From-To: open->closed

Committed, Thanks!