LinuxQuestions.org
Review your favorite Linux distribution.
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 05-25-2021, 08:16 PM   #1
LinLuc
LQ Newbie
 
Registered: Sep 2018
Posts: 9

Rep: Reputation: Disabled
LFS10.1: Gnome session says 'Oops something went wrong'. Unable to start Gnome.


Hi All,
I am trying to install Gnome on my LFS 10.1 desktop. Unfortunately, when I try to start gnome-session, I get the message 'Oops something went wrong'. So far I do not get any fruther.

From the command prompt I try to start:
XDG_SESSION_TYPE=x11 gnome-session

from Journalctl -b I see the following worrying message:
dbus-daemon[491]: [session uid=1000 pid=489] Activating service name='org.freedesktop.systemd1' requested by ':1.8' (uid=1000 pid=481 comm="/opt/gnome-10.1/libexec/gnome-sessio>
dbus-daemon[491]: [session uid=1000 pid=489] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
gnome-session-binary[481]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
gnome-session-binary[481]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.

Any suggesttions, how to get any fruther to the solution and getting gnome running on my desktop?

Luc
 
Old 05-26-2021, 11:23 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Have you tried doing what the error messages suggest?

It's a long time since I built LFS with systemd but istr you needed to reinstall systemd after adding the pam_systemd package.
 
Old 05-29-2021, 03:51 AM   #3
LinLuc
LQ Newbie
 
Registered: Sep 2018
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks Hazel. I thought I tried to recompile systemd already, but thought why not retry. Unfortunately it did not work. Same results.

I am rather new to Gnome. Thought, maybe I misunderstand how to start, therefore, I went on to install gdm and systemctl enable gdm. The boot process will hang at 'starting gdm' now.
I have spent quite a while on finding logs, where I can read the exact error messages of what goes wrong. No such a thing. Also do not see the error messages describes above anymore.

Is there an effective way how to find out why gdm is not starting. For your info, when I disable gdm, I can start X with a normal startx.

Luc
 
Old 05-29-2021, 05:51 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,610
Blog Entries: 19

Rep: Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458Reputation: 4458
Does gdm itself produce any kind of log? You can check in /var/log and also in /~/.local. But I suspect that if you do find a log, it will just contain the same error messages as before. There's definitely some kind of disconnect between gdm, pam and systemd, but I don't know enough about any of them to go any further. I never use complex desktops like gnome for precisely that reason. I don't want stuff running on my machine that I can't understand.

Of course you could just continue to use startx
 
Old 05-30-2021, 06:13 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
you could try a different login manager like lightdm, from personal experience i know some will workbut others wont
 
Old 06-02-2021, 11:13 PM   #6
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
Quote:
Originally Posted by LinLuc View Post
Hi All,
...

Any suggesttions, how to get any fruther to the solution and getting gnome running on my desktop?

Luc

1. I usually start gnome from lxdm.

2. Starting Gnome from tty

Code:
XDG_SESSION_TYPE=x11 dbus-run-session gnome-session
change x11 to wayland to start gnome-wayland

It was working in BLFS-8.2, but it is not working for BLFS-9.1
I have not made it for BLFS-10.1 (just starting build Xorg), so I do not know the result.

3. using .xinitrc file

Code:
$ cat > ~/.xinitrc << "EOF"
> exec gnome-session
> EOF

$ startx
This (number 3) is the best method for me to run gnome from tty. Always work.

Last edited by anak_bawang; 06-02-2021 at 11:19 PM.
 
  


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
[SOLVED] Spotify does not start and shows “Oops! Something went wrong Spotify” error. Andrewbrownfield Linux - Software 5 01-30-2021 12:52 AM
LFS10: strange characters in vim via ssh derguteweka Linux From Scratch 2 01-09-2021 07:44 AM
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
LXer: Where Google Went Wrong with Android? and Where Nokia & Intel Went Right? LXer Syndicated Linux News 2 10-26-2010 07:22 AM
red hat 9 + ati drivers..something went wrong. rezzer Linux - Newbie 0 10-05-2003 07:00 PM

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

All times are GMT -5. The time now is 12:17 AM.

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