From owner-freebsd-questions@FreeBSD.ORG Wed Mar 9 16:21:56 2005 Return-Path: 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 E8CC916A4CE for ; Wed, 9 Mar 2005 16:21:56 +0000 (GMT) Received: from prosporo.hedron.org (hedron.org [66.11.182.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 398AD43D53 for ; Wed, 9 Mar 2005 16:21:56 +0000 (GMT) (envelope-from ean@hedron.org) Received: from www.hedron.org (localhost.hedron.org [127.0.0.1]) by prosporo.hedron.org (Postfix) with ESMTP id 24363C12C; Wed, 9 Mar 2005 11:22:12 -0500 (EST) Received: from 216.220.59.169 (SquirrelMail authenticated user ean); by www.hedron.org with HTTP; Wed, 9 Mar 2005 11:22:12 -0500 (EST) Message-ID: <2307.216.220.59.169.1110385332.squirrel@216.220.59.169> In-Reply-To: References: Date: Wed, 9 Mar 2005 11:22:12 -0500 (EST) From: "Ean Kingston" To: "Fractal" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: Configuring xdm X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 16:21:57 -0000 > I have FreeBSD 5.3-RELEASE with Xorg X server installed on > my machine and I have problems with configuring xdm. > Namely, the problem is: if I run xdm on X display :0, and > set session program, /usr/X11R6/bin/wmaker for example, in > ~/.xsession, when I try to login using xdm, after few seconds of > blank screen I see again xdm login prompt, but no wmaker. > After this, my ~/xsession-errors contain message like this: > "Connection to display :0 refused by server". I tried following > command in .xsession: I'm not super familiar with wmaker but your ~/.xsession should look something like this: exec /usr/X11R6/bin/wmaker > xinit /usr/X11R6/bin/wmaker -- /usr/X11R6/bin/Xorg :1 xinit is only run if you are not using xdm. As in if you log in on the command line first and start X manually. > This worked, but in this case after login I have two X displays > on different terminals: one with only X server screen with cross > cursor, and another with wmaker. Does it mean that if I run xdm > on display :0 then I cannot run session program on the same display? XDM should hand off control of the display to the session manager (wmaker in your case). After you tried my suggestion, if things still don't work post a copy of your .xsession and .xsession-errors and I'll have a look. Also, if you have fiddled with any of the files in /usr/X11R6/lib/X11/xdm post those a well. -- Ean Kingston E-Mail: ean_AT_hedron_DOT_org PGP KeyID: 1024D/CBC5D6BB URL: http://www.hedron.org/