Why not create a .xsession file in your home directory? Refer to Section 11.5.3 at www.openbsd.org/faq/faq11.html for more details. The last paragraph should be most helpful.
Gilbert Hello, I want to prevent xconsole starting with xdm. I see it is started in /etc/X11/xdm/Xsetup_0. Is there a user or system specific file for xdm conf files as there are for /etc/rc.conf? If not, and I modify Xsetup_0 will it be overwritten on OS upgrade? Many thanks, Laurence