From owner-freebsd-questions@FreeBSD.ORG Fri Aug 15 18:10:24 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64ECB42A for ; Fri, 15 Aug 2014 18:10:24 +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 24503255C for ; Fri, 15 Aug 2014 18:10:23 +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 26AE124A6F; Fri, 15 Aug 2014 20:10:22 +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 s7FIAMOj002343; Fri, 15 Aug 2014 20:10:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 15 Aug 2014 20:10:22 +0200 From: Polytropon To: "William A. Mahaffey III" Subject: Re: Putting my new FreeBSD 9.3 desktop online .... Message-Id: <20140815201022.fe9dc564.freebsd@edvax.de> In-Reply-To: <53EE48E1.2000107@hiwaay.net> References: <53EBE6D6.8090501@hiwaay.net> <20140814072430.5e39c3bc.freebsd@edvax.de> <53ED2189.6020408@hiwaay.net> <53EE14FA.8060601@hiwaay.net> <20140815192413.78634baa.freebsd@edvax.de> <53EE4480.1080803@hiwaay.net> <20140815194224.5e9fe5fd.freebsd@edvax.de> <53EE48E1.2000107@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: 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: Fri, 15 Aug 2014 18:10:24 -0000 On Fri, 15 Aug 2014 12:52:33 -0500, William A. Mahaffey III wrote: > XFCE runs AOK from the startx command after a console login, so I think > everything is AOK w/ startxfce4 & the rest of the install .... the > recommendations for these 2 files came straight from Freebsd.org/docs, > i.e. I found them online on freebsd.org. By using startx, ~/.xinitrc is being used. But if you use a display manager (usually xdm), this file is ignored and ~/.xsession is used instead. To avoid the "two files problem" and additionally make sure your C shell settings survive in X, use the following "cascading approach": Content of ~/.xsession: #!/bin/csh source ~/.cshrc exec ~/.xinitrc Make sure ~/.cshrc exists; if it's ~/.tcshrc, adjust the file name accordingly. Maybe specify #!/bin/tcsh. But I think this is not needed, even on newer FreeBSD versions, as it's tcsh anyway, and it has kept naming compatibility to the "old" csh. Content of ~/.xinitrc: #!/bin/sh # ... your other startup initializers here ... exec startxfce4 The first line of .xinitrc here is optional. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...