Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 20:10:22 +0200
From:      Polytropon <freebsd@edvax.de>
To:        "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140815201022.fe9dc564.freebsd>