From owner-freebsd-questions Thu Apr 27 13:40:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (fw2.wilsonandhorton.co.nz [203.99.66.4]) by hub.freebsd.org (Postfix) with ESMTP id C0E6C37B818 for ; Thu, 27 Apr 2000 13:40:17 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.9.3/8.9.3) id IAA04218; Sat, 29 Apr 2000 08:35:48 +1200 (NZST) (envelope-from jonc) Date: Sat, 29 Apr 2000 08:35:48 +1200 From: Jonathan Chen To: "Gallagher, Mick" Cc: freebsd-questions@freebsd.org Subject: Re: Cannot login as root using xdm in 3.4R Message-ID: <20000429083548.A4163@jonc.itouch.co.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from mick.gallagher@roke.co.uk on Thu, Apr 27, 2000 at 01:55:37PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 27, 2000 at 01:55:37PM +0100, Gallagher, Mick wrote: > Hi All, > > I've just installed release 3.4, and am now trying to sort out my X login. > > If I login as root, and run 'xdm -nodaemon', then the login screen appears > and I am able to login as a user successfully. > > However, if I try to login as root via the xdm screen, then I am just > returned to the login screen again. Try creating a /root/.xsession file with something like: #!/bin/sh exec twm and make sure it has the execute bit set. ie: chmod 755 /root/.xsession -- Jonathan Chen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message