From owner-freebsd-questions Fri Aug 22 13:45:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA01019 for questions-outgoing; Fri, 22 Aug 1997 13:45:21 -0700 (PDT) Received: from europe.std.com (europe.std.com [199.172.62.20]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA01014 for ; Fri, 22 Aug 1997 13:45:18 -0700 (PDT) Received: from world.std.com by europe.std.com (8.7.6/BZS-8-1.0) id QAA18973; Fri, 22 Aug 1997 16:45:14 -0400 (EDT) Received: from mercury40 (ppp0a018.std.com) by world.std.com (5.65c/Spike-2.0) id AA26530; Fri, 22 Aug 1997 16:45:12 -0400 Message-Id: <3.0.1.32.19970822164426.0091d470@world.std.com> X-Sender: joelman@world.std.com X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Fri, 22 Aug 1997 16:44:26 +0100 To: freebsd-questions@freebsd.org From: Joel Gwynn Subject: dumb questions need answers too Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm running FreeBSD 2.2.2 with XF86 3.3, using the Xi graphics Accelerated X Server. OK. startx works fine, it runs on ttyv3. When I run xdm, though, I get a login screen, and when I login, xdm shuts down the X server, then restarts it, giving me another login screen. I posted this question to usenet, and got back the answer that there might be something wrong with my .xsession script, ie that >>... if your .xsession ends with something like >>---8<--- >>fvwm & # start fvwm window manager >>--->8--- >>you'll never get a useable session; the script will indeed launch >>fvwm >>(in the background) and then terminate, and xdm will take over again, >>kill all the clients and bring up the login screen. If you delete >>that '&' >>things will work. but I don't have an .xsession in my home directory, so I assume xdm will use /usr/X11R6/lib/X11/xdm/Xsession. Is this so? and if so, I haven't modified this script, and there are no &'s in it.