From owner-freebsd-questions@FreeBSD.ORG Thu Mar 4 23:25:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E8C1106564A for ; Thu, 4 Mar 2010 23:25:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2EF8FC0C for ; Thu, 4 Mar 2010 23:25:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-85-11.dynamic.qsc.de [92.195.85.11]) by mx01.qsc.de (Postfix) with ESMTP id 3DA433DAA7; Fri, 5 Mar 2010 00:25:21 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o24NPKmw001546; Fri, 5 Mar 2010 00:25:21 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 5 Mar 2010 00:25:20 +0100 From: Polytropon To: n dhert Message-Id: <20100305002520.c06d7d20.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: xorg, xdm, desktop env X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2010 23:25:23 -0000 On Thu, 4 Mar 2010 09:30:05 +0100, n dhert wrote: > Installed a fresh FreeBSD-8.0, xorg, configured xorg for my screen, > installed xdm. > After reboot I see a graphical login window. When entering username and > password, it seems to accept it, but immediatly present the graphical login > window again. (In console mode (Ctrl-Alt-F1) I can login at the login: > prompt with the > same username/password). > Has FreeSBD somewhere a default environment (in that case why does it not > appear after logging in at the > XDM graphical window) or do you still need to install a Desktop environment > (Gnome, KDE, Xfce) and is it > normal that after logging in at the XDM window, you are thrown out again.. As far as I know, earlier X installations came with the tab window manager - twm. This doesn't seem to be the case anymore. Because neither X or FreeBSD itself do include a complete desktop environment (such as KDE, Gnome, Xfce), you need to install it yourself, and then make it available to your user using ~/.xsession or ~/.xinitrc respectively. If those files are not present, a default should be used by X. According to which version of X you have installed, those defaults could launch twm with some xterms (the default is somewhere in /usr/local/lib/X11, ex /usr/X11R6/lib/X11), or just recognize that X program initialisation is missing and then exit - which is still a bit strange, because the X server should run anyway, "without programs". Check /var/log/Xorg.0.log for possible errors. What does happen if you don't run xdm, but instead log in with your user account and then run the "startx" command? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...