From owner-freebsd-questions Fri May 12 5:45:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail11.jump.net (mail11.jump.net [207.8.124.20]) by hub.freebsd.org (Postfix) with ESMTP id 29C1237B5AF for ; Fri, 12 May 2000 05:45:41 -0700 (PDT) (envelope-from kweiss@jump.net) Received: from kamui.animeniac.com (ns.animeniac.com [216.30.96.14]) by mail11.jump.net (8.9.0/) with SMTP id HAA24690 for ; Fri, 12 May 2000 07:45:46 -0500 (CDT) Subject: having problems with .xsession for FreeBSD 4.0 From: Kevin Reply-To: Kevin Message-ID: <000367531020275f_mailit@smtp.jump.net> Date: Thu, 11 May 2000 07:49:40 +0000 X-Mailer: BeatWare Mail-It 2.0.4 X-BeOS-Platform: Intel or clone X-Priority: 3 (Normal) To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all, I just received FreeBSD 4.0, and I am trying to get X Window (in particular, xdm) to read my .xsession file. First, here is my .xsession file. This one is from another machine I have running FreeBSD 3.4: #!/bin/sh # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi # start some nice programs xterm -geometry 80x24-240+180 & blackbox It is not reading my .xsession file, so everytime I try to login, xdm just returns me back to the login screen. I checked to make sure my .xsession file was executable (it was-- chmod 544), and even tried linking .xsession to .xinitrc (didn't work). Startx runs fine with any of my installed window managers, so I at least know that X Window is working. Could this be a problem with my path (or lack thereof)? Thank you in advance! Kevin Weiss kweiss@jump.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message