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
Responsible Changed From-To: freebsd-ports-bugs->oliver I'll handle that
State Changed From-To: open->closed Committed, Thanks!