From owner-freebsd-questions@FreeBSD.ORG Thu Jun 8 17:55:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F3EA16BF9C for ; Thu, 8 Jun 2006 16:11:10 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65A6443D45 for ; Thu, 8 Jun 2006 16:11:08 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.7.193] (68.Red-80-34-55.staticIP.rima-tde.net [80.34.55.68]) by strange.daemonsecurity.com (Postfix) with ESMTP id 579652E024; Thu, 8 Jun 2006 18:11:07 +0200 (CEST) Message-ID: <44884C18.9060400@locolomo.org> Date: Thu, 08 Jun 2006 18:11:04 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: "Mayo, Richard A RDECOM CERDEC STCD SRI" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Beginner Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 17:55:22 -0000 Mayo, Richard A RDECOM CERDEC STCD SRI wrote: > I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: > > What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. Just about anything that has to do with user login can be set both globally and for the individual user. You didn't by any chance take a look at the FreeBSD handbook? There is a whole section on it, 5.6: /usr/X11R6/lib/X11/xdm/Xsession Default session script for logins. This is the default session script for XDM to run after a user has logged in. Normally each user will have a customized session script in ~/.xsession that overrides this script. If you take a look in the above file you will see that it starts twm, this is default behaviour. You can edit the file to start some other window manager as default or you can override by setting you choice in your own ~/.xsession Erik