You are not logged in.

#1 2022-04-24 19:04:16

pasturegliding
Member
Registered: 2022-03-24
Posts: 24

[SOLVED] Desktop environment or X won't start

I was having an sudden issue with GRUB not booting from my encrypted root partition, so I uncommented the os-prober line in /etc/default/grub and re-configured and re-installed GRUB. That solved the issue, but created a new one. My Gnome session wouldn't start. I also tried to start openbox and KDE, but all failed.

At first Gnome failed by freezing up the system until I restarted.
I booted into my arch install USB to arch-chroot in and check

journalctl  -b -1 

and found Gnome froze it by trying over and over to start the session (129 sessions). To see if I could isolate the problem, I uninstalled Gnome and installed KDE.

This was the journal bit that tipped me off

Gdm: GdmDisplay: Session never registered, failing

Now it will let me go to the TTY after decrypting root, (not frozen), but the desktop environment still doesn't start. When I try to do it manually, it says the xserver cannot be reached.

Here is the output of

journalctl -b -7 | grep gdm-x-session | nc termbin.com 9999

https://termbin.com/7inx

Here is the output of 

journalctl -b | nc termbin.com 9999

https://termbin.com/k8sr

After putting in my password, it says

/dev/mapper/cryptroot: clean, 1494562/61038592 files, 175673749/244135089 blocks
_

This is what it usually says, but now it's not starting X.

Any advice is greatly appreciated.

Last edited by pasturegliding (2022-04-24 20:46:34)

Offline

#2 2022-04-24 19:08:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Desktop environment or X won't start

pasturegliding wrote:

Unless you know of a command line way to send command outputs directly to a pastebin with no browser.

https://wiki.archlinux.org/title/List_o … n_services


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-04-24 19:16:20

pasturegliding
Member
Registered: 2022-03-24
Posts: 24

Re: [SOLVED] Desktop environment or X won't start

jasonwryan wrote:
pasturegliding wrote:

Unless you know of a command line way to send command outputs directly to a pastebin with no browser.

https://wiki.archlinux.org/title/List_o … n_services

Wow I didn't think that would be so easy lol

Thanks, I have updated the post

Last edited by pasturegliding (2022-04-24 19:33:50)

Offline

#4 2022-04-24 19:59:53

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Desktop environment or X won't start

Have you tried enabling early KMS?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2022-04-24 20:15:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,690

Re: [SOLVED] Desktop environment or X won't start

Apr 24 00:59:00 archcrypt systemd-modules-load[574]: Failed to find module 'nvidia-uvm'
Apr 24 00:59:02 archcrypt kernel: nvidia-gpu 0000:09:00.3: i2c timeout error e0000000
Apr 24 00:59:02 archcrypt kernel: ucsi_ccg 0-0008: i2c_transfer failed -110
Apr 24 00:59:02 archcrypt kernel: ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
Apr 24 00:59:02 archcrypt kernel: ucsi_ccg: probe of 0-0008 failed with error -110

and there's no trace of either the nvidia nor nouveau kernel module and you're running the zen kernel.

pacman -Qs nvidia; lspci

Online

#6 2022-04-24 20:46:13

pasturegliding
Member
Registered: 2022-03-24
Posts: 24

Re: [SOLVED] Desktop environment or X won't start

seth wrote:
Apr 24 00:59:00 archcrypt systemd-modules-load[574]: Failed to find module 'nvidia-uvm'
Apr 24 00:59:02 archcrypt kernel: nvidia-gpu 0000:09:00.3: i2c timeout error e0000000
Apr 24 00:59:02 archcrypt kernel: ucsi_ccg 0-0008: i2c_transfer failed -110
Apr 24 00:59:02 archcrypt kernel: ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
Apr 24 00:59:02 archcrypt kernel: ucsi_ccg: probe of 0-0008 failed with error -110

and there's no trace of either the nvidia nor nouveau kernel module and you're running the zen kernel.

pacman -Qs nvidia; lspci

Yes, I was originally running linux-lts but I switched to zen. I had forgotten that linux-zen requires nvidia-dkms and changes to the mkinitcpio.conf file.

After following the guide about Nvidia and linux-zen, I have solved it. Thank you

Offline

Board footer

Powered by FluxBB