From owner-freebsd-questions@FreeBSD.ORG Sun May 11 08:27:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 621BC106564A for ; Sun, 11 May 2008 08:27:00 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id C57118FC13 for ; Sun, 11 May 2008 08:26:59 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from [192.168.0.1] (athedsl-68173.home.otenet.gr [87.203.147.155]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id m4B8Qt5u015476; Sun, 11 May 2008 11:26:56 +0300 Message-ID: <4826ADD1.5040003@otenet.gr> Date: Sun, 11 May 2008 11:26:57 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: nishita@mri.ernet.in References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Xfce with graphical login X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2008 08:27:00 -0000 Nishita Desai wrote: > Hello, > > I just installed Xfce4.4 on FreeBSD 7.0. I have been trying to get it > to directly give me a graphical login. The Xfce manual says this can > be done using gdm. According to it, I need to copy the example file > "xfce44.desktop" into /usr/X11R6/share/xsessions. The example file is > supposed to be located in /usr/local/share/examples (since Xfce is > installed in /usr/local.) But there is no such file. > > 1. Is there any other location this file could be? (`locate` cannot find it.) > 2. Can I download it from somewhere? Googling did not give anything. > 3. Will anyone be kind enough to send me a copy by email? > > It is strange why the file's not there. Xfce was installed using > pkg_add (the port was giving some error in compilation which I could > not solve) and is working nicely without any obvious problems. > > Thanks, > Nishita. > > This is the quick way to add XFCE to your "sessions" menu in GDM: First of all, make sure you have gdm_enable="YES" in /etc/rc.conf (I assume you already have this) Now, create a file in: /usr/local/etc/dm/Sessions Name it something like xfce44.desktop and type the following into it (adjust as needed): [Desktop Entry] Encoding=UTF-8 Name=XFCE4 Comment=This session logs you into XFCE4 Exec=/usr/local/bin/startxfce4 TryExec=/usr/local/bin/startxfce4 Icon= Type=Application Reboot, and when the GDM login screen appears, you will be able to select XFCE4 from the Sessions menu. Hope this helps, Manolis