0

I killed xorg process and now, after rebooting, the login screen is frozen. I tried booting into recovery mode but I couldn't restart xorg.

Pardon my minimal understanding of xorg and what it does.

Events: I used pc -C Xorg to find the xrog processes. Then killed one of them. gdm3 crashed and the computer froze. rebooted. gdm3 login screen is frozen. booted into recovery mode and tried the following: 1. systemctl restart gdm3 2. init 3 3. systemctl restart display-manager

  • Can you please provide details of what you actually did. I can't see how a `kill` command could cause a change in `gdm3` but it's possibly you are talking about a different command to the `kill` I'm thinking of. Use `history` to view your command history for exact details if you used commands; it's likely the `kill` and `gdm3` are not related. – guiverc Feb 01 '20 at 10:42
  • The thing is, I killed a process and then the display manager crashed. after rebooting, the display manager is frozen – Anthon Naivelt Feb 01 '20 at 10:47

1 Answers1

0

In fact startx or xinit would start the xorg server but if you still have problems regarding the login screen,you can try sddm.
sudo apt install sddm
and during the installation, change the default display manager to sddm.
Display manager configuration

Parsa Mousavi
  • 3,197
  • 15
  • 35
  • Ok, so basically, if nothing is working, change the display manager? – Anthon Naivelt Feb 01 '20 at 10:54
  • I get an error message when executing startx-> /root/.Xauthority doesnt exists – Anthon Naivelt Feb 01 '20 at 10:57
  • "Changing the display manager":You can mess around with that for hours and hours but trying an alternative would be a good solution as it saves you a ton of time.Recently I wanted to change the color of oxygen icon theme in KDE so I decided to change some symlinks and configurations and everything in the settings looked fine but the actual icons were still the same.I even deleted that icons but I didn't know where those strange things came from.I mean sometimes picking an alternative and forgetting about past can be the solution. – Parsa Mousavi Feb 01 '20 at 11:09
  • Also take a look at [here](https://askubuntu.com/questions/124038/xauthority-required-but-missing) for that problem. – Parsa Mousavi Feb 01 '20 at 11:14
  • Try starting xorg as a user other than root(If you have.) – Parsa Mousavi Feb 01 '20 at 11:21
  • sudo group user would work? – Anthon Naivelt Feb 01 '20 at 11:41
  • Ok, after trying tons of things, I just followed your advice and installed lightdm – Anthon Naivelt Feb 01 '20 at 11:48
  • Running commands as a sudo group user still uses your home directory as ~/ . So must work fine. – Parsa Mousavi Feb 01 '20 at 11:59