From owner-freebsd-questions@FreeBSD.ORG Wed Jul 29 15:33:14 2009 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 20120106571A for ; Wed, 29 Jul 2009 15:33:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id CF6498FC27 for ; Wed, 29 Jul 2009 15:33:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-59-134.dynamic.qsc.de [92.195.59.134]) by mx02.qsc.de (Postfix) with ESMTP id 53B751E340; Wed, 29 Jul 2009 17:33:11 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n6TFX5N0002762; Wed, 29 Jul 2009 17:33:06 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 29 Jul 2009 17:33:05 +0200 From: Polytropon To: thanos trompoukis Message-Id: <20090729173305.a9e0f458.freebsd@edvax.de> In-Reply-To: References: <4463dcg86r.fsf@be-well.ilk.org> <441vo0o9ap.fsf@be-well.ilk.org> <44ocr3a8zq.fsf@be-well.ilk.org> 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: problem with startx..! 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: Wed, 29 Jul 2009 15:33:14 -0000 On Wed, 29 Jul 2009 18:24:14 +0300, thanos trompoukis wrote: > It seems to be like an other desktop environment very simple. > Now when I try startx I can see the same background I could see before > but now there are 3 windows (x-term) like the console window on KDE 3.5 This is twm. It's a window manager displaying three xterms. It's not a desktop environment. > Why KDE not starts? Because... maybe you're missing the correct startup files. X display managers (xdm, kdm, gdm) and the startx command behave a bit differently. The easiest way to be able to use *any* method of starting is to have the following files in your home directory: 1. ~/.xsession #!/bin/csh source ~/.cshrc exec ~/.xinitrc 1. ~/.xinitrc #!/bin/sh [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc # ... your further startup commands here, e. g. xsetroot -solid rgb:3b/4c/7a xset b 100 1000 15 & xset r rate 250 30 & xset s off & xset -dpms & # this starts your desired window manager / DE exec startkde Refer to the KDE documentation about what's the correct name to start KDE. I think it's "startkde", but I may be wrong because I am not using KDE, so it's honestly just a guess. Make sure that both files are +x attributes. % chmod +x .xinitrc .xsession -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...