From owner-freebsd-questions Tue Aug 19 11:05:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA23604 for questions-outgoing; Tue, 19 Aug 1997 11:05:46 -0700 (PDT) Received: from europe.std.com (europe.std.com [199.172.62.20]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA23593 for ; Tue, 19 Aug 1997 11:05:37 -0700 (PDT) Received: from world.std.com by europe.std.com (8.7.6/BZS-8-1.0) id OAA10700; Tue, 19 Aug 1997 14:05:17 -0400 (EDT) Received: from mercury40 (ppp0a031.std.com) by world.std.com (5.65c/Spike-2.0) id AA19497; Tue, 19 Aug 1997 14:05:10 -0400 Message-Id: <3.0.1.32.19970819140432.0091b6a0@world.std.com> X-Sender: joelman@world.std.com X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Tue, 19 Aug 1997 14:04:32 +0100 To: freebsd-questions@freebsd.org From: Joel Gwynn 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.