From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: Re: GDM update! Date: Mon, 11 Feb 2019 10:12:31 -0500 Message-ID: <8736oucqao.fsf@ngyro.com> References: <875ztrp982.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtDG9-0002lQ-VZ for guix-devel@gnu.org; Mon, 11 Feb 2019 10:12:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtDG7-0001Y7-WA for guix-devel@gnu.org; Mon, 11 Feb 2019 10:12:37 -0500 In-Reply-To: <875ztrp982.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 10 Feb 2019 23:30:37 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Hi Ludo, Ludovic Court=C3=A8s writes: > Hello Guix! > > I=E2=80=99m happy to report that GDM basically works, including choosing = among X > session=E2=80=A6 and it has a neat Guix theme! Woohoo! I like the background! I have some changes that are more-or-less ready. It=E2=80=99s mostly just cleaning up, but it makes it so that GNOME does not have to be in the system profile for GDM to work. (Note that the GDM service references GNOME Shell, which requires most of GNOME, but it doesn=E2=80=99t end up in= the profile.) I spent some time trying to get =E2=80=9Clibgdm=E2=80=9D split out from GDM= , but GNOME Shell kept getting killed with SIGTRAP. This happens during the execution of JavaScript code, and the recommended way to get a backtrace did not work, so I=E2=80=99m stuck there. I will try and send patches in the next day or two. > The one thing I didn=E2=80=99t get to work is ~/.xsession support. Any i= deas? Digging around in the source code, there=E2=80=99s a comment that says that= the distributed =E2=80=9CXsession=E2=80=9D script should run =E2=80=9C~/.xsessi= on=E2=80=9D if passed the special keyword =E2=80=9Ccustom=E2=80=9D. However, looking at the actual s= cript suggests that this comment is mistaken. (If it did work, you might be able to make a =E2=80=9Ccustom.desktop=E2=80=9D file with =E2=80=9CExec=3Dc= ustom=E2=80=9D that would trigger the right behaviour. I did not test this.) Debian provides a custom =E2=80=9CXsession=E2=80=9D script and a custom =E2=80=9Cdefault.desktop=E2=80=9D file, which runs the script with the spec= ial argument =E2=80=9Cdefault=E2=80=9D. With this argument, the =E2=80=9CXsession=E2=80= =9D does a bunch of stuff by running all of the scripts in an =E2=80=9CXsession.d=E2=80=9D directory, in= cluding one that tries running =E2=80=9C~/.xsession=E2=80=9D. In short, it looks like we have to either fix or customize the =E2=80=9CXsession=E2=80=9D script. Making the script work like the comment= suggests and using =E2=80=9Ccustom.desktop=E2=80=9D is probably the simplest thing to do. > I=E2=80=99d real like to get that fixed and then we can finally replace S= LiM > with GDM as the default. > > BTW, at the Guix Days, there were discussions about defaulting to > LightDM instead of GDM. I forgot to mention then that using LightDM > wouldn=E2=80=99t solve the GNOME use case; in particular, closing the lid= under > GNOME wouldn=E2=80=99t lock the screen, and clicking the lock button woul= dn=E2=80=99t > have any effect, which is pretty bad. Of course, it is good to have a nice alternative to SLiM that is simpler than GDM. GDM is needed for the proper GNOME experience, but it is too much for most non-GNOME setups. Ultimately, Guix is nice and configurable, so I=E2=80=99m everyone can find a way to be happy. :) -- Tim