From adrian@mail.ubergeeks.com  Fri Oct 14 16:50:43 2005
Return-Path: <adrian@mail.ubergeeks.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DB71D16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Oct 2005 16:50:43 +0000 (GMT)
	(envelope-from adrian@mail.ubergeeks.com)
Received: from mail.ubergeeks.com (lorax.ubergeeks.com [209.145.65.55])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 74A0D43D58
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Oct 2005 16:50:43 +0000 (GMT)
	(envelope-from adrian@mail.ubergeeks.com)
Received: from mail.ubergeeks.com (localhost [127.0.0.1])
	by mail.ubergeeks.com (8.13.3/8.13.3) with ESMTP id j9EGocF6054401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Oct 2005 12:50:38 -0400 (EDT)
	(envelope-from adrian@mail.ubergeeks.com)
Received: (from adrian@localhost)
	by mail.ubergeeks.com (8.13.3/8.13.3/Submit) id j9EGock6054400;
	Fri, 14 Oct 2005 12:50:38 -0400 (EDT)
	(envelope-from adrian)
Message-Id: <200510141650.j9EGock6054400@mail.ubergeeks.com>
Date: Fri, 14 Oct 2005 12:50:38 -0400 (EDT)
From: Adrian Filipi <adrian@ubergeeks.com>
Reply-To: Adrian Filipi <adrian@ubergeeks.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: wdm Xsession script does not load Xresources
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87448
>Category:       ports
>Synopsis:       wdm Xsession script does not load Xresources
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 17:00:25 GMT 2005
>Closed-Date:    Sat Oct 15 02:23:16 GMT 2005
>Last-Modified:  Sat Oct 15 02:23:16 GMT 2005
>Originator:     Adrian Filipi <adrian@ubergeeks.com>
>Release:        FreeBSD 6.0-RC1 i386
>Organization:
Ubergeeks Consulting
>Environment:
System: FreeBSD nsa.cs.virginia.edu 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 9 20:32:57 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	"xrdb" is missing from the Xsession script and causes user's
	.Xresources files not to be loaded.

>How-To-Repeat:
	Install wdm using the package found at
	ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-current/Latest/wdm.tbz

	Login and look in .xsession-errors for "-load: not found".

>Fix:

	Not sure, but it's probably in how the port is being
	configured.  Then again it could be how X11 is installed
	since I believe it references X11 configuration info through
	xmkmf or imake.

	In the end, this changes in the diff below are what should
	happen:


--- Xsession	Fri Aug  5 10:05:26 2005
+++ /usr/X11R6/lib/X11/wdm/Xsession	Fri Oct 14 11:20:42 2005
@@ -9,7 +9,7 @@
 # ~/.Xclients.
 
 # cleanup wdm resources
-         -load /dev/null
+        /usr/X11R6/bin/xrdb -load /dev/null
 
 
 case $# in
@@ -70,7 +70,7 @@
 resources=$HOME/.Xresources
 
 if [ -f $resources ]; then
-         -load $resources
+        /usr/X11R6/bin/xrdb -load $resources
 fi
 
 if [ -x $startup ]; then
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Sat Oct 15 02:23:15 GMT 2005 
State-Changed-Why:  
Fixed. Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87448 
>Unformatted:
