From owner-freebsd-questions Thu Jun 3 10:16:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailgw3a.lmco.com (mailgw3a.lmco.com [192.35.35.24]) by hub.freebsd.org (Postfix) with ESMTP id 2247315058 for ; Thu, 3 Jun 1999 10:16:45 -0700 (PDT) (envelope-from michael.e.remski@lmco.com) Received: from emss04g01.ems.lmco.com ([166.17.13.122]) by mailgw3a.lmco.com (8.8.8/8.8.8) with ESMTP id NAA30189; Thu, 3 Jun 1999 13:16:42 -0400 (EDT) Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-32 #38332) id <0FCR00501HBSJT@lmco.com>; Thu, 3 Jun 1999 13:16:41 -0400 (EDT) Received: from sanw00100321 ([129.86.163.80]) by lmco.com (PMDF V5.2-32 #38332) with SMTP id <0FCR002XEHBLOX@lmco.com>; Thu, 03 Jun 1999 13:16:34 -0400 (EDT) Date: Thu, 03 Jun 1999 13:06:54 -0400 From: Michael Remski Subject: Re: Locked in X-login at boot To: freebsd-questions@freebsd.org Cc: smithg@mail.nwc.whecn.edu Reply-To: michael.e.remski@lmco.com Message-id: <3756B62E.289A@lmco.com> Organization: Sanders A Lockheed Martin Company MIME-version: 1.0 X-Mailer: Mozilla 3.01 (WinNT; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. When you login under xdm, the first thing that is looked for is a file called .xession. It is basically the same as your .xinitrc (just cp .xinitrc to .xsession) and make sure to chmod a+x .xsession. Just to make sure, you can create a simple .xsession file thusly: #!/bin/sh exec /usr/X11R6/bin/xterm Again, make sure it is executable and try logging in. You should wind up with an xterm without any window manager running. Move the mouse and click on it and type /usr/X11R6/bin/twm &. That should startup twm as the window manager. To logout, just ^D in the xterm. If that worked, then just copy .xinitrc to .xsession, make executable and you should be all set. m -- "You are in a maze of twisty passages, all alike" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message