From owner-freebsd-questions@FreeBSD.ORG Sun Apr 13 11:46:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DE2D4F8 for ; Sun, 13 Apr 2014 11:46:21 +0000 (UTC) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ECDB915D7 for ; Sun, 13 Apr 2014 11:46:20 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id c11so4874517lbj.12 for ; Sun, 13 Apr 2014 04:46:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=DDzAbcWZgwHKuAh3t24vUFoy1ujYlR71Cedz6GVM17E=; b=YkYor5icUC8Vo4NlnamaYXUrFtfLCimDX3zc81hCwZ9S1gz0skdy+VNp9x0MWkNjxo yT/io48d2sa6TeXK44Isb7GiGC7hb2GbSJ7xhkRORjE4EwTA1QUKH6uHkYPda9IaTNyo 92oOmLStHbUXf5Tp83cCvprRKCH28XyZEjqJOEAFvuE7LjBKnDVYm8dfSLcx52wcJoEf KUrgrg+6U3k0fUDiAZFXQCSU9UsjN/JTMvk1w/0Aonc54hNJ4zeXEFn3UzoUblqQrCEf bXWyfwgXRBaEd8LQ9Hl59nq0wyrLZaqb6rjfktU8kKHiPPcu61rLuPcPp+v4gY7qS0Mu vP4Q== X-Gm-Message-State: ALoCoQm3m7T1QKU0EHqaVDenv5doCj63fuOaAcbFOk0/fMW8zp+QeqmiG39B9Bqo0Y2axVawU2fR MIME-Version: 1.0 X-Received: by 10.112.94.229 with SMTP id df5mr1274563lbb.36.1397389573181; Sun, 13 Apr 2014 04:46:13 -0700 (PDT) Received: by 10.114.29.5 with HTTP; Sun, 13 Apr 2014 04:46:13 -0700 (PDT) Date: Sun, 13 Apr 2014 07:46:13 -0400 Message-ID: Subject: Question about XDM From: Antoine Kallab To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2014 11:46:21 -0000 Hello everybody, I'm new to BSD, so please bear with me if I ask a dumb question. Thanks! --- I am trying to set up XDM. I want it to drop me in to a minimal TWM session after I log in. Right now, it just flashes the screen and puts me back at the login window. >From what I read in the handbook, there are a few configuration files in /usr/local/lib/X11/xdm that I need to change to get it to sing and dance in the way I want it to. If I remember correctly, it was Xsession that controlled what happened after a user logs in. Right now it is just an if/then loop that looks like it runs /usr/local/bin/xsm. Is that whole thing necessary? Can't I just tell it to run TWM? And if that loop is necessary, where would I add my bit for starting TWM? Google has been ZERO help. Many thanks in advance.