Hello, I'm not running xfce for a window manager but I do have kde3, gnome, blackbox, etc... running with kdm on startup using XFree86. This is what I did:
I edited the shell script Xsession in /usr/local/share/config/kdm (notice kdm used not xdm). I added the suggested lines from the Handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html#X11-WM-KDE2-KDM). I went into kde3 ControlCenter->System->LoginManager->Sessions and added the corresponding session types (as root). I then edited the file ttys in /etc to look like this: #ttyv0 "/usr/libexec/getty Pc" cons25 on secure ttyv0 "/usr/local/bin/kdm -nodaemon" xterm on secure # Virtual terminals ttyv1 "/usr/libexec/getty Pc" cons25 on secure ttyv2 "/usr/libexec/getty Pc" cons25 on secure ttyv3 "/usr/libexec/getty Pc" cons25 on secure ttyv4 "/usr/libexec/getty Pc" cons25 on secure ttyv5 "/usr/libexec/getty Pc" cons25 on secure ttyv6 "/usr/libexec/getty Pc" cons25 on secure ttyv7 "/usr/libexec/getty Pc" cons25 on secure #ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure Notice the new ttyv0 line and the commented out ttyv8 line. After doing this I rebooted and kdm loaded right up. Any window manager that I've played with thus far, and added to the Xsession file with the corresponding enty in ControlCenter, has allowed me to get right into it with no problems. Hope that is some help Ios Phere Mack Lobell wrote: > Hi, > > tried that and it didn't work. > root~#cat .xsession > > #!/bin/sh > /usr/X11R6/bin/startxfce > > The whole idea of adding the entries in /usr/X11R6/lib/X11/xdm/Xsession > is so we don't need a "static" ~/.xsession file (we want to choose > desktop dynamically). > > I have followed the instructions under 5.7.3.1 > >(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html#X11-WM-KDE2-KDM) > > in the FreeBSD Handbook, but no luck. > > Regards. > > >> From: Matt Snow <[EMAIL PROTECTED]> >> To: Mack Lobell <[EMAIL PROTECTED]> >> CC: [EMAIL PROTECTED], <[EMAIL PROTECTED]>, >> <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >> Subject: Re: How to start xfce from kdm >> Date: Fri, 12 Jul 2002 20:40:31 -0700 (PDT) >> >> you'll need a .xsession file to get that to work correctly. >> >> * * * * * * * * >> Matt Snow >> (@) [EMAIL PROTECTED] >> (w) http://slakin.net. >> >> On Fri, 12 Jul 2002, Mack Lobell wrote: >> >> > Hi, >> > >> > i'm trying to use the kdm (KDE's display manager) on my FreeBSD (4.6 >> stable) >> > system to start xfce. xfce seems to start but the wm(??) doesn't >> work. Every >> > window (application) i create is missing the "top bar" (where you >> close, >> > minimize, maximize the applications). >> > >> > If i hit startx everything works fine, it's just when i start it >> from kdm. >> > >> > The following lines have been added to /usr/X11R6/lib/X11/xdm/Xsession: >> > >> > case $# in >> > 1) >> > case $1 in >> > XFCE) >> > exec /usr/X11R6/bin/startxfce >> > ;; >> > GNOME) >> > exec /usr/X11R6/bin/gnome-session >> > ;; >> > kde) >> > exec /usr/local/bin/startkde >> > ;; >> > failsafe) >> > exec xterm -geometry 80x24-0-0 >> > ;; >> > esac >> > esac >> > >> > >> > I don't have a ~/.xsession file (didn't think i needed one). >> > >> > I'm using xfce 3.8.16 and have installed the complete KDE 3.0.2. >> > >> > Any ideas? >> > >> > Regards. >> > >> > _________________________________________________________________ >> > Send and receive Hotmail on your mobile device: http://mobile.msn.com >> > >> > >> > To Unsubscribe: send mail to [EMAIL PROTECTED] >> > with "unsubscribe freebsd-questions" in the body of the message >> > >> > > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > > . > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message