ports/65634: x11-wm/xfce4 and x11/gdm2 - GDM session file not installing correctly
Linh Pham
question+freebsdpr at closedsrc.org
Fri Apr 16 18:10:23 UTC 2004
>Number: 65634
>Category: ports
>Synopsis: x11-wm/xfce4 and x11/gdm2 - GDM session file not installing correctly
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 16 11:10:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Linh Pham
>Release: FreeBSD 5.2.1-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD q.internal.closedsrc.org 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #0: Fri Mar 5 14:09:42 PST 2004 question at q.internal.closedsrc.org:/usr/obj/usr/src/sys/Q i386
>Description:
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.
>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
>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.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list