From owner-freebsd-questions@FreeBSD.ORG Sun Aug 17 09:51:52 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 AFD757D6; Sun, 17 Aug 2014 09:51:52 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6DC2F20BE; Sun, 17 Aug 2014 09:51:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-111-1.dynamic.qsc.de [92.195.111.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E2AC6252C9; Sun, 17 Aug 2014 11:51:48 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s7H9pmTl001923; Sun, 17 Aug 2014 11:51:48 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 17 Aug 2014 11:51:48 +0200 From: Polytropon To: flo@snakeoilproductions.net Subject: Re: Putting my new FreeBSD 9.3 desktop online .... Message-Id: <20140817115148.4f463e8d.freebsd@edvax.de> In-Reply-To: References: <53EBE6D6.8090501@hiwaay.net> <20140814072430.5e39c3bc.freebsd@edvax.de> <53ED2189.6020408@hiwaay.net> <53EE14FA.8060601@hiwaay.net> <53EE2CF3.8030700@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "William A. Mahaffey III" , owner-freebsd-x11@freebsd.org, FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2014 09:51:52 -0000 On Sun, 17 Aug 2014 11:08:23 +0200, flo@snakeoilproductions.net wrote: > Maybe I'm missing the point here entirely, but xdm uses $HOME/.xsession. > A missing .xsession has quite the same symptoms, and since XFCE works > fine after startx, > which indeed uses $HOME/.xinitrc, you might try > % echo 'exec /usr/local/bin/startxfce4' >$HOME/.xsession > and then restart xdm. This is what I suggested, except getting rid of the "two files problem" by calling .xinitrc via .xession (which is what xdm executes). Content of ~/.xsession: #!/bin/csh source ~/.cshrc exec ~/.xinitrc Content of ~/.xinitrc: #!/bin/sh # ... your other startup initializers here ... exec /usr/local/bin/startxfce4 Typically, both files have +x attribute, but that's probably not even needed (like the #!/bin/sh line of .xinitrc, it just makes clear what "language" it is written in). This should work. It works with a lot of window managers I've tested so far. I have not tested with Xfce, though. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...