Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Gnome crashes on startup (Read 1071 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Gnome crashes on startup

Reply #15
Both X and Wayland behave the same. Yes, I used lxdm.
And do other desktop environments / window managers start OK ?

If yes then try disabling lxdm and starting Gnome manually

I'm not guaranteeing this syntax but
Code: [Select]
export XDG_SESSION_TYPE=x11
export GDK_BACKEND=x11
startx /usr/bin/gnome-session -- -keeptty >~/xorg.log 2>&1"
should try to start Gnome with Xorg and log all messages to ~/xorg.log

You will probably need to install xorg-xinit to get the startx command.

Re: Gnome crashes on startup

Reply #16
gripped, yes, lxdm started mate and xfce without any problems. I tried to start gnome manually using xinitrc, but the startx command was misspelled...

I took the code block for xinitrc which is listed in the documentation:
Code: [Select]
export XDG_SESSION_TYPE=x11
export GDK_BACKEND=x11
exec gnome-session

Next startx and... Success. He just took it and loaded up. Well, I can believe that lxdm is to blame. I'll recheck all this later and find myself another dm or even configure everything to run without a dm. Many thanks to everyone who responded!

Re: Gnome crashes on startup

Reply #17
Well, I can believe that lxdm is to blame.
Unless the system in question has multiple user accounts I consider Display Managers a waste of time and resources.

If a single user system you can:
  • Setup autologin on tty1
  • Get X to start automatically on tty1
  • put a .desktop file in ~/.config/autostart which locks the screen (works on KDE)

With that in place the system boots straight into the desktop and you still need a password to access it.

 

Re: Gnome crashes on startup

Reply #18
I don't think they consume enough resources to worry about it.

Re: Gnome crashes on startup

Reply #19
I don't think they consume enough resources to worry about it.
It doesn't worry me. I just consider them useless for my particular use case.
And on top of that they can sometimes introduce issues which don't exist without them.

Keep it simple imho.