From owner-freebsd-questions@FreeBSD.ORG Mon Apr 24 13:44:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 8FC0D16A400 for ; Mon, 24 Apr 2006 13:44:38 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D4CA43D46 for ; Mon, 24 Apr 2006 13:44:37 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [208.206.151.59] (host59.gtisd.com[208.206.151.59]) by comcast.net (sccrmhc11) with ESMTP id <2006042413443601100qem02e>; Mon, 24 Apr 2006 13:44:36 +0000 Message-ID: <444CD642.2060900@computer.org> Date: Mon, 24 Apr 2006 08:44:34 -0500 From: Eric Schuele User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: Joseph Vella References: <444BA52D.1030401@computer.org> <20060424112637.1e919788@localhost> <444C3969.20900@computer.org> <200604232123.00281.satyam@sklinks.com> In-Reply-To: <200604232123.00281.satyam@sklinks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: GDM sessions.... [Solved] 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: Mon, 24 Apr 2006 13:44:38 -0000 Joseph Vella wrote: > On Sunday 23 April 2006 19:35, Eric Schuele wrote: >> Norberto Meijome wrote: >>> On Sun, 23 Apr 2006 11:02:53 -0500 >>> Eric Schuele wrote: >>> >>>> I have GDM installed and working. I *do not* have gnome installed. I >>>> was hoping GDM would do as XDM and just run my .xsession. But it does >>>> not. I would simply like it to be an XDM replacement. I >> >> I stuck my head in a gnome IRC channel and got some pointers. Got it >> running well now. >> > > > So what got it working for you? Ah, yes... sorry. So... I had found a few HowTo's on customizing GDM on the web. All said similar things but nothing worked for me. What they said to do *was* important, and in fact was 99% of the work. So here's what I did to get GDM to run my .xsession file (last step did the trick): 1) install /x11/gdm 2) make sure you have an ~/.xsession file (setup however you like) 3) make sure you have #!/bin/sh as first line 4) make sure ~/.xsession is executable 5) create a file /usr/X11R6/etc/gdm/Sessions/MySession.desktop (replace MySession with whatever name you like) 6) Give it the following contents [Desktop Entry] Encoding=UTF-8 Name=XSession Comment=This session will run your ~/.xsession Exec=~/.xsession Icon= Type=Application (feel free to change name and comment to liking) 7) Edit your /usr/X11R6/etc/gdm/gdm.conf. Search for SessionDesktopDir. In my conf file it was commented out (plus a typo). So I created a new SessionDesktopDir and pointed it where I placed my *.desktop file. Such as SessionDesktopDir=/usr/X11R6/etc/gdm/Sessions/. That's it. My new session is now visible, and runs my .xsession seemingly just as XDM had. There's plenty of eye candy for GDM. I'm sure there is a port in ports that will install some, but haven't looked. I simply copied a dir of themes from a gentoo box. HTH. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Regards, Eric