LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-20-2020, 10:33 AM   #1
cliffhanger
Member
 
Registered: Jan 2017
Posts: 60

Rep: Reputation: Disabled
Gonme fails to start


Hi

I have a new LFS/BLFS system with gnome 3.35.3. Gnome fails to start with Gdm or Lightdm. GDM gives me a black screen with blinking cursor which I can ALT-F12 out of and Lightdm gives me a login window, which after password terminates to 'OPTS something went wrong etc'

The journal gives me the failure:

Mar 19 22:22:06 cliffhanger gnome-shell[3904]: Execution of main.js threw exception: Script <main> threw an exception
Mar 19 22:22:06 cliffhanger /usr/libexec/gdm-x-session[3753]: (--) NVIDIA(GPU-0): DFP-2: disconnected
Mar 19 22:22:06 cliffhanger /usr/libexec/gdm-x-session[3753]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
Mar 19 22:22:06 cliffhanger /usr/libexec/gdm-x-session[3753]: (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
Mar 19 22:22:06 cliffhanger /usr/libexec/gdm-x-session[3753]: (--) NVIDIA(GPU-0):
Mar 19 22:22:06 cliffhanger /usr/libexec/gdm-x-session[3753]: (--) NVIDIA(GPU-0): DFP-3: disconnected
Mar 19 22:22:06 cliffhanger /usr/libexec/gdm-x-session[3753]: (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
Mar 19 22:22:06 cliffhanger /usr/libexec/gdm-x-session[3753]: (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
Mar 19 22:22:06 cliffhanger /usr/libexec/gdm-x-session[3753]: (--) NVIDIA(GPU-0):
Mar 19 22:22:06 cliffhanger systemd[3718]: Started Sound Service.
-- Subject: A start job for unit UNIT has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailma.../systemd-devel
--
-- A start job for unit UNIT has finished successfully.
--
-- The job identifier is 64.
Mar 19 22:22:06 cliffhanger gnome-shell[3904]: clutter_input_device_get_device_type: assertion 'CLUTTER_IS_INPUT_DEVICE (device)' failed
Mar 19 22:22:06 cliffhanger gnome-shell[3904]: clutter_input_device_get_device_type: assertion 'CLUTTER_IS_INPUT_DEVICE (device)' failed
Mar 19 22:22:06 cliffhanger gnome-shell[3904]: JS ERROR: Error: Requiring Meta, version none: Typelib file for namespace 'GDesktopEnums', version '3.0' not found
@resource:///org/gnome/shell/ui/environment.js:13:53
@<main>:1:1
Mar 19 22:22:06 cliffhanger gnome-shell[3904]: Execution of main.js threw exception: Script <main> threw an exception
Mar 19 22:22:06 cliffhanger systemd[3718]: gnome-shell-x11.service: Failed with result 'protocol'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailma.../systemd-devel
--
-- The unit UNIT has entered the 'failed' state with result 'protocol'.
Mar 19 22:22:06 cliffhanger systemd[3718]: Failed to start GNOME Shell on X11.
-- Subject: A start job for unit UNIT has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailma.../systemd-devel
--
-- A start job for unit UNIT has finished with a failure.

The Clutter failure seems significant, but I can find no answers elsewhere. I have downgraded the Nvidia driver thinking this maybe the culprit, but the problem remains. I am thinking of upgrading gnome to 3.36.0, but have no confidence that this would cure the problem.

Does anyone have any ideas here?

thanks

Cliff
 
Old 03-22-2020, 10:33 AM   #2
cliffhanger
Member
 
Registered: Jan 2017
Posts: 60

Original Poster
Rep: Reputation: Disabled
Hi

Right. The key to this whole problem related to the error:

'Typelib file for namespace 'GDesktopEnums', version '3.0' not found'

I found there was a text file called 'GDesktopEnums-3.0.typelib' which contains introspection data for for GSettings desktop-wide schemas.

It should be present under '/usr/lib/girepository-1.0' but was not present on my build! Why? Can't answer that.

Installed the latest 'gsettings-desktop-schemas' and voila, the system booted into gnome first time.

Cliff

Last edited by cliffhanger; 03-22-2020 at 10:35 AM. Reason: Solved
 
Old 03-27-2020, 07:55 AM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
One of the main reasons for a missing file is simply forgetting to do make install.

Please mark this thread as SOLVED
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ktorrent fails to start after update (libktorrent fails) pusrob Linux - Software 0 12-18-2011 02:10 PM
GCC fails to compile - Chapter 6.14 - C preprocessor "/lib/cpp" fails sanity check jaydoc Linux From Scratch 1 01-28-2009 05:17 PM
Missing gnomeConf.sh gonme-config !! longnam Linux - Newbie 2 04-06-2005 03:49 PM
DHCP fails, IP fails, packet framing errors? alonsomosely Fedora 2 09-17-2004 11:22 AM
Encrypted Reiserfs Fails to Mount -- Reiserfsck Fails as Well antic Linux - Hardware 0 07-30-2004 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration