You are not logged in.

#1 2020-06-07 21:03:40

alexander0803
Member
Registered: 2020-06-07
Posts: 37

[SOLVED] Failed to start Simple Desktop Display Manager

Using pacman I updated some important packages like libffi and x11 trying to install tkinter lib for creating python gui (I don't know why I updated them, just read it somewhere).
When my screen went to login screen after a few minutes, it broke. Mouse and keyboard stopped responding and I saw a message related to org.kde.plasma.core and that libffi.so.6 was not found.

Following advice from the Internet I made liveUSB, mounted my partition and accessed my data with chroot. From there I issued 'pacman -Syu' and it upgraded my system. However it only helped half. My login screen was okay but my mouse and keyboard were still not responding.

I repeated this several times and then my system failed to boot. Although I downgraded my linux package and got rid of most of the problems, there is still one left:
[ERROR] Failed to start System Desktop Display Manager.

The last message on the screen is:
[OK] Reached target Graphical Interface
and it's stuck here.

Google told me that it is connected to Xorg however I still don't understand what I should do properly in order to remove this error and finally load to desktop.

Result of 'systemctl status sddm.service':
sddm.service: Scheduled restart job, restart counter is at 5
Stopped Simple Desktop Display Manager
sddm.service: Start request repeated too quickly.
sddm.service: Failed with result 'core-dump'
Failed to start Simple Desktop Display Manager

Xorg.0.log
Xorg.1.log

I'm also asked to give some details about GPU but I don't know where I can find them.

Please answer with as many details as possible because I really can't into linux

Last edited by alexander0803 (2020-06-11 09:17:51)

Offline

#2 2020-06-07 21:14:34

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

Re: [SOLVED] Failed to start Simple Desktop Display Manager

[720634.495] Current Operating System: Linux archlinux 4.18.5-arch1-1-ARCH

Partial updates are unsupported.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-06-07 21:16:09

loqs
Member
Registered: 2014-03-06
Posts: 18,762

Re: [SOLVED] Failed to start Simple Desktop Display Manager

$ lspci | grep -e VGA -e 3D

Xorg.0.log

[   484.330] Current Operating System: Linux archiso 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
....
[   484.494] (++) Using config file: "/root/xorg.conf.new"

Is the system named archiso or did you run `Xorg :0 -configure` from the installation media?

Xorg.1.log

[720634.495] Current Operating System: Linux archlinux 4.18.5-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 24 12:48:58 UTC 2018 x86_64

That is an old log.

Offline

#4 2020-06-07 21:25:35

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

loqs wrote:
$ lspci | grep -e VGA -e 3D

Xorg.0.log

[   484.330] Current Operating System: Linux archiso 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
....
[   484.494] (++) Using config file: "/root/xorg.conf.new"

Is the system named archiso or did you run `Xorg :0 -configure` from the installation media?

Xorg.1.log

[720634.495] Current Operating System: Linux archlinux 4.18.5-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 24 12:48:58 UTC 2018 x86_64

That is an old log.

Result of 'lspci | grep -e VGA -e 3D':
0a:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)

Yes, I ran something with -configure flag. I tried to configure this thing but it looks like it was in vain.

Offline

#5 2020-06-08 04:27:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,920

Re: [SOLVED] Failed to start Simple Desktop Display Manager

The problem is that Xorg.1.log is dead old and Xorg.0.log was generated from the installation iso using the -configure switch, it doesn't reflect the installed system nor any problems you might have with it.

Remove any /etc/X11/xorg.conf you might have generated, put the installation ios aside, boot the system "normally". See if you can switch to a different VT (ctrl+alt+f1,f2,f13,…)
If so, upload the present Xorg.0.log and the output of "sudo journalctl -b" (see the tip in my first signature link)

If not, reboot, but this time into the multi-user.target (second link… ;-) and post the stuff from there (but this time "sudo journalctl -b -1" for the last boot)

Offline

#6 2020-06-08 06:30:53

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

seth wrote:

The problem is that Xorg.1.log is dead old and Xorg.0.log was generated from the installation iso using the -configure switch, it doesn't reflect the installed system nor any problems you might have with it.

Remove any /etc/X11/xorg.conf you might have generated, put the installation ios aside, boot the system "normally". See if you can switch to a different VT (ctrl+alt+f1,f2,f13,…)
If so, upload the present Xorg.0.log and the output of "sudo journalctl -b" (see the tip in my first signature link)

If not, reboot, but this time into the multi-user.target (second link… ;-) and post the stuff from there (but this time "sudo journalctl -b -1" for the last boot)


New xorg.0.log
journalctl

Last edited by alexander0803 (2020-06-08 06:31:18)

Offline

#7 2020-06-08 08:26:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,920

Re: [SOLVED] Failed to start Simple Desktop Display Manager

июн 08 10:20:30 archlinux sddm[1229]: Initializing...
июн 08 10:20:30 archlinux sddm[1229]: Starting...
июн 08 10:20:30 archlinux sddm[1229]: Logind interface found
июн 08 10:20:30 archlinux sddm[1229]: Adding new display on vt 1 ...
июн 08 10:20:30 archlinux sddm[1229]: Loading theme configuration from ""
июн 08 10:20:30 archlinux sddm[1229]: Display server starting...
июн 08 10:20:30 archlinux sddm[1229]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{a44b0013-5596-4c88-a1e7-cb2323057fd7} -background none -noreset -displayfd 17 -seat seat0 vt1
июн 08 10:20:30 archlinux sddm[1229]: Failed to read display number from pipe
июн 08 10:20:30 archlinux audit[1229]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1229 comm="sddm" exe="/usr/bin/sddm" sig=6 res=1
июн 08 10:20:30 archlinux sddm[1229]: Display server failed to start. Exiting

But you reposted the same xorg.0.log.

Offline

#8 2020-06-08 09:08:39

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

seth wrote:
июн 08 10:20:30 archlinux sddm[1229]: Initializing...
июн 08 10:20:30 archlinux sddm[1229]: Starting...
июн 08 10:20:30 archlinux sddm[1229]: Logind interface found
июн 08 10:20:30 archlinux sddm[1229]: Adding new display on vt 1 ...
июн 08 10:20:30 archlinux sddm[1229]: Loading theme configuration from ""
июн 08 10:20:30 archlinux sddm[1229]: Display server starting...
июн 08 10:20:30 archlinux sddm[1229]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{a44b0013-5596-4c88-a1e7-cb2323057fd7} -background none -noreset -displayfd 17 -seat seat0 vt1
июн 08 10:20:30 archlinux sddm[1229]: Failed to read display number from pipe
июн 08 10:20:30 archlinux audit[1229]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1229 comm="sddm" exe="/usr/bin/sddm" sig=6 res=1
июн 08 10:20:30 archlinux sddm[1229]: Display server failed to start. Exiting

But you reposted the same xorg.0.log.

I deleted '/etc/X11/xorg.conf.d' and there are only two directories left: 'xinit' and 'Xsession.d'. I left them untouched.
Then I plug out the usb and rebooted, launched normally. It gives the same error 'Failed to start Simple Desktop Display Manager'.

Then I got to tty2 and sent these two files.
It seems that nothing changes the Xorg.0.log

Last edited by alexander0803 (2020-06-08 09:09:26)

Offline

#9 2020-06-08 09:30:50

adamss
Member
Registered: 2020-06-06
Posts: 20

Re: [SOLVED] Failed to start Simple Desktop Display Manager

as @jasonwryan pointed out you might have a partially updated OS which is not supported
have you tried

pacman -Syyuu

Last edited by adamss (2020-06-08 09:33:07)

Offline

#10 2020-06-08 09:48:57

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

adamss wrote:

as @jasonwryan pointed out you might have a partially updated OS which is not supported
have you tried

pacman -Syyuu

It didn't help.
Same error: ''Failed to start Simple Desktop Display Manager''

Offline

#11 2020-06-08 10:38:45

loqs
Member
Registered: 2014-03-06
Posts: 18,762

Re: [SOLVED] Failed to start Simple Desktop Display Manager

Is there a more recent Xorg.0.log in ~/.local/share/xorg/ than those in /var/log ?
Edit:

adamss wrote:

as @jasonwryan pointed out you might have a partially updated OS which is not supported
have you tried

pacman -Syyuu

If the mirror was broken that command would cause a partial upgrade by ignoring database timestamps and allowing package downgrades.

Last edited by loqs (2020-06-08 10:45:11)

Offline

#12 2020-06-08 10:41:49

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

loqs wrote:

Is there a more recent Xorg.0.log in ~/.local/share/xorg/ than those in /var/log ?

'/root/.local/share/xorg' does not exist.

Offline

#13 2020-06-08 10:43:35

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

Here is a shorter part of journalctl.
journalctl_sddm

Offline

#14 2020-06-08 10:49:40

adamss
Member
Registered: 2020-06-06
Posts: 20

Re: [SOLVED] Failed to start Simple Desktop Display Manager

I noticed that you've installed lots of drivers including ATI, while you just have a Nvidia graphics card, I will just suggest removing the ATI driver since it's not required

pacman -R xf86-video-ati

I don't think this is going to help in any way
but i wanted to point that out anyways

it might at least make reading the logs easier tongue

Last edited by adamss (2020-06-08 10:56:49)

Offline

#15 2020-06-08 10:59:53

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

I found:

'xorg.conf.new' in the /root directory
'usr/share/X11/xorg.conf.d' containing:
   10-nvidia-drm-outputclass.conf
   10-quirks.conf
   40-libinput.conf
   50-vmouse.conf
   70-synaptics.conf

I also checked the following dirs:
/etc/X11:  xinit and Xsession.d
/usr/etc/:  empty and so /usr/etc/X11 does not exist
/etc:  contains only X11
/usr/lib:  found X11 dir (contains x11perfcomp), xorg dir (contains modules and protocol.txt), Xorg file and Xorg.wrap file

Last edited by alexander0803 (2020-06-08 11:20:19)

Offline

#16 2020-06-08 11:14:58

loqs
Member
Registered: 2014-03-06
Posts: 18,762

Re: [SOLVED] Failed to start Simple Desktop Display Manager

If you stop and disable sddm.  As a none root user run startx (provided by the xorg-xinit package).  Is /var/log/Xorg.0.log updated or ~/.local/share/xorg/Xorg.0.log produced?
If so please post the updated log,  if not please post the output of:

ls -la /var/log/

Offline

#17 2020-06-08 11:30:33

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

loqs wrote:

If you stop and disable sddm.  As a none root user run startx (provided by the xorg-xinit package).  Is /var/log/Xorg.0.log updated or ~/.local/share/xorg/Xorg.0.log produced?
If so please post the updated log,  if not please post the output of:

ls -la /var/log/

1. Stopped and disabled sddm
2. su non-root user
3. sudo pacman -S xorg-xinit
4. startx
5. Got:
    /usr/bin/xauth: failed to run binary file (error in file format)
    /usr/lib/Xorg.wrap: the same error
    xinit: giving up
    xinit: unable to connect to X server: Network is unrechable
    xinit: server error

I connected to my company's VPN and instead of 'Network is unreachable' got 'Connection refused'.

I can ping 8.8.8.8 and Google.com when not connected to VPN. Moreover I used pacman -S to install the package
After disconnecting from VPN 'Network is unreachable' message returns.

Last edited by alexander0803 (2020-06-08 11:36:35)

Offline

#18 2020-06-08 11:48:12

loqs
Member
Registered: 2014-03-06
Posts: 18,762

Re: [SOLVED] Failed to start Simple Desktop Display Manager

pacman -Qkk 2>&1 | grep -ve '0 altered files'

Offline

#19 2020-06-08 11:48:35

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

loqs wrote:

If you stop and disable sddm.  As a none root user run startx (provided by the xorg-xinit package).  Is /var/log/Xorg.0.log updated or ~/.local/share/xorg/Xorg.0.log produced?
If so please post the updated log,  if not please post the output of:

ls -la /var/log/

Logs are not updated, nothing is in ~/.local/share/.
ls -ls /var/log content

Offline

#20 2020-06-08 11:53:05

adamss
Member
Registered: 2020-06-06
Posts: 20

Re: [SOLVED] Failed to start Simple Desktop Display Manager

ok it looks like there's a problem with the `/bin/usr/xauth` binary
it belongs to the package `xorg-xauth`
let's try reinstalling it

pacman -Scc xorg-xauth

then try `startx` again

Last edited by adamss (2020-06-08 11:57:45)

Offline

#21 2020-06-08 11:57:08

loqs
Member
Registered: 2014-03-06
Posts: 18,762

Re: [SOLVED] Failed to start Simple Desktop Display Manager

pacman -Scc xorg-xauth

Why the package cleanup options?  Would it not be better to wait for the pacman -Qkk output to determine if any other packages need re installation?

Offline

#22 2020-06-08 12:00:09

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

loqs wrote:
pacman -Qkk 2>&1 | grep -ve '0 altered files'

Here
However it's mostly in Russian. I tried to change locale but it seems that the result is cached somewhere and printed same.

Offline

#23 2020-06-08 12:02:21

loqs
Member
Registered: 2014-03-06
Posts: 18,762

Re: [SOLVED] Failed to start Simple Desktop Display Manager

LC_ALL=C pacman -Qkk 2>&1 | grep -ve '0 altered files'

Does that produce the output in English?

Offline

#24 2020-06-08 12:05:23

adamss
Member
Registered: 2020-06-06
Posts: 20

Re: [SOLVED] Failed to start Simple Desktop Display Manager

loqs wrote:
pacman -Scc xorg-xauth

Why the package cleanup options?  Would it not be better to wait for the pacman -Qkk output to determine if any other packages need re installation?

he already updated his OS twice today
it looks like /usr/bin/xauth is still damaged, so it's probably getting reinstalled from the cache, I just wanted a clean reinstall of it

and yeah it's better to wait for the pacman -Qkk output to determine if any other packages need reinstallation

just wanted to take a shortcut and see if it's gonna work, but still it's very reasonable to "scan" if there is any other damaged packages first rather than assuming it's only xauth, can't argue with that smile

Last edited by adamss (2020-06-08 12:11:50)

Offline

#25 2020-06-08 12:11:41

alexander0803
Member
Registered: 2020-06-07
Posts: 37

Re: [SOLVED] Failed to start Simple Desktop Display Manager

loqs wrote:
LC_ALL=C pacman -Qkk 2>&1 | grep -ve '0 altered files'

Does that produce the output in English?

Yes http://ix.io/2oBI
But in English there's much smaller output

Offline

Board footer

Powered by FluxBB