From owner-freebsd-questions Sat Jul 13 8:22:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E383A37B400 for ; Sat, 13 Jul 2002 08:22:23 -0700 (PDT) Received: from a.smtp-out.sonic.net (a.smtp-out.sonic.net [208.201.224.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 81ED343E6A for ; Sat, 13 Jul 2002 08:22:23 -0700 (PDT) (envelope-from iosphere@sonic.net) Received: (qmail 806 invoked from network); 13 Jul 2002 15:22:23 -0000 Received: from turbo.sonic.net (208.201.224.26) by a.smtp-out.sonic.net with SMTP; 13 Jul 2002 15:22:23 -0000 Received: from sonic.net (d200.nas2.sr2.sonic.net [208.201.229.200]) by turbo.sonic.net (8.11.6/8.8.5) with ESMTP id g6DFMMA02795; Sat, 13 Jul 2002 08:22:22 -0700 X-envelope-info: Message-ID: <3D304389.8070803@sonic.net> Date: Sat, 13 Jul 2002 08:13:13 -0700 From: Ios Phere User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020607 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mack Lobell Cc: FreeBSD - Questions Subject: Re: How to start xfce from kdm References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 >> To: Mack Lobell >> CC: freebsd-questions@FreeBSD.org, , >> , >> 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 >> (@) drama@slakin.net >> (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 majordomo@FreeBSD.org >> > 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 majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > . > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message