From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#27264: gnome-shell-3.24.2 consistently dies during initialization Date: Thu, 8 Jun 2017 16:20:28 +0200 Message-ID: <20170608142028.GA441@eduroam-ipv4-3-0836.triple-a.uni-kl.de> References: <87o9u13e4i.fsf@netris.org> <8760g8t769.fsf@gnu.org> <87shjbwjdc.fsf@netris.org> <87ink6zo19.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIyIB-0002vr-Gp for bug-guix@gnu.org; Thu, 08 Jun 2017 10:20:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIyI8-0003YW-Cz for bug-guix@gnu.org; Thu, 08 Jun 2017 10:20:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIyI8-0003YO-8s for bug-guix@gnu.org; Thu, 08 Jun 2017 10:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIyI5-0007fr-Uz for bug-guix@gnu.org; Thu, 08 Jun 2017 10:20:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87ink6zo19.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27264@debbugs.gnu.org On Thu, Jun 08, 2017 at 02:01:22PM +0200, Ludovic Courtès wrote: > I think many of us use GTK+/GNOME applications, but fewer use GNOME, so > I suppose we just didn’t test a full GNOME setup. > > Next time we should probably do that or, even better, have an automated > test that logs in, takes a screenshot, and does some OCR to check > whether we got something that looks like a GNOME screen. > > WDYT? > > Ludo’. > Like a reftest, i.e. comparing a screenshot to what one expects the screenshot to look like? You can probably take a screenshot of the GNOME desktop by running gnome-screenshot or by making a D-Bus call to org.gnome.Shell.Screenshot.Screenshot for a new user (so themes do not affect it) and compare what is shown in the upper left corner. It says Activities and the font and color of the top left corner will presumably change rarely. A simpler and possibly preferable solution would be checking if GNOME can successfully start an application set to autostart as per the xdg desktop specification without gnome-session crashing. I am not sure how such a test can be run without disrupting a running login session. Possibly GNOME can be launched on an X server configured to use xf86-video-dummy like I once tried on a headless server, see: https://wiki.archlinux.org/index.php/Vino#Running_on_a_headless_server I do not know if this can eventually be adapted to Wayland. Xdummy probably does not support KMS which I believe is required on Wayland. I so far have not got around to contributing code to the Guix project, so I probably will not be implementing this either... Regards, Florian