Subject: login class and xdm (was: Setting a default ulimit for the whole
To: Geert Hendrickx <ghen@telenet.be>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 05/10/2007 11:35:12
On Thu, 10 May 2007, Geert Hendrickx wrote:

> FWIW, this doesn't seem to work for xdm logins.

I had a quick look at the code for xdm in NetBSD's XFree86 and Xorg's 
xdm.

Looks like I found the problem:

HAS_SETUSERCONTEXT is not defined.

A fix for HEAD (-current) and netbsd-4 exists:

http://cvsweb.netbsd.org/bsdweb.cgi/src/x11/bin/xdm/Makefile.xdm

If that solves your problem then we need to request a pullup. Please let 
me know.

If you are using Xorg from pkgsrc or using XFree86 from NetBSD HEAD then 
we will have to research it further.

  Jeremy C. Reed