Putting my new FreeBSD 9.3 desktop online ....
freebsd at edvax.de
Sun Aug 17 09:51:52 UTC 2014
On Sun, 17 Aug 2014 11:08:23 +0200, flo at 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
Content of ~/.xsession:
Content of ~/.xinitrc:
# ... your other startup initializers here ...
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. ;-)
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions