Date: Sun, 17 Aug 2014 11:51:48 +0200 From: Polytropon <freebsd@edvax.de> To: flo@snakeoilproductions.net Cc: "William A. Mahaffey III" <wam@hiwaay.net>, owner-freebsd-x11@freebsd.org, FreeBSD Questions !!!! <freebsd-questions@freebsd.org> Subject: Re: Putting my new FreeBSD 9.3 desktop online .... Message-ID: <20140817115148.4f463e8d.freebsd@edvax.de> In-Reply-To: <a7845f2a9d0d4594e5a3762fe1487c1b@snakeoilproductions.net> References: <53EBE6D6.8090501@hiwaay.net> <20140814072430.5e39c3bc.freebsd@edvax.de> <53ED2189.6020408@hiwaay.net> <53EE14FA.8060601@hiwaay.net> <CAPS9%2BSvmWzAn5RkHcr6e3LRpeS18j4ys444_hU8PqsLSXGc7Xg@mail.gmail.com> <53EE2CF3.8030700@hiwaay.net> <a7845f2a9d0d4594e5a3762fe1487c1b@snakeoilproductions.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140817115148.4f463e8d.freebsd>