You are not logged in.

#1 2020-09-13 12:00:01

myasnik
Member
Registered: 2020-09-13
Posts: 3

[SOLVED] XDM doesn't execute at system startup

Hi everyone, this is my first post on the Arch Forum! Hoping not to make people crazy smile

So here's the problem:
I use XDM since a while and everything worked well; for some reason after (maybe) an update XDM decided not to startup on boot.
So i tried downgrading, reinstalling, etc but nothing changed.

Here's some useful logs and config files:

~/.xsession

setxkbmap us
i3

~/.xsession-errors

Waiting for initial location to become available...
Location: 44.10 N, 12.20 E
[ 09/12/2020 15:29:05.108 open_config_file_at WARN ] This compositor has been renamed to "picom", the old config file paths is deprecated. Please replace the "compton"s in the path with "picom"
[ 09/12/2020 15:29:05.108 session_init WARN ] This compositor has been renamed to "picom", the "compton" binary will not be installed in the future.
CRITICAL: Cannot connect to DBus.
(INFO-661 addon.c:151) Load Addon Config File:fcitx-pinyin.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-fullwidth-char.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-ipcportal.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-mozc.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-notificationitem.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-xim.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-chttrans.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-freedesktop-notify.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-clipboard.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-kimpanel-ui.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-table.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-xkbdbus.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-spell.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-vk.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-ipc.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-classic-ui.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-imselector.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-autoeng.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-keyboard.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-quickphrase.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-unicode.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-x11.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-pinyin-enhance.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-xkb.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-remote-module.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-qw.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-dbus.conf
(INFO-661 addon.c:151) Load Addon Config File:fcitx-punc.conf
(WARN-661 dbusstuff.c:197) Connection Error (Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead)
(WARN-661 dbusstuff.c:197) Connection Error (Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead)
polybar|warn:  No monitor specified, using "DVI-I-1"
polybar|warn:  No monitor specified, using "DVI-I-1"
polybar|error: Disabling module "pulseaudio" (reason: Could not connect pulseaudio context.)
(WARN-661 dbusstuff.c:197) Connection Error (Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead)

(process:773): Rofi-WARNING **: 15:29:22.368: The old Xresources based configuration format is deprecated.

(process:773): Rofi-WARNING **: 15:29:22.368: Please upgrade: rofi -upgrade-config.

(process:806): Rofi-WARNING **: 15:29:25.869: The old Xresources based configuration format is deprecated.

(process:806): Rofi-WARNING **: 15:29:25.869: Please upgrade: rofi -upgrade-config.
(WARN-661 dbusstuff.c:197) Connection Error (Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead)
Failed to set wall message, ignoring: Interactive authentication required.
Failed to power off system via logind: Interactive authentication required.
Failed to start poweroff.target: Interactive authentication required.
See system logs and 'systemctl status poweroff.target' for details.
(WARN-661 dbusstuff.c:197) Connection Error (Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead)

(process:915): Rofi-WARNING **: 15:29:35.507: The old Xresources based configuration format is deprecated.

(process:915): Rofi-WARNING **: 15:29:35.507: Please upgrade: rofi -upgrade-config.
Failed to set wall message, ignoring: Interactive authentication required.
Failed to power off system via logind: Interactive authentication required.
Failed to start poweroff.target: Interactive authentication required.
See system logs and 'systemctl status poweroff.target' for details.
(WARN-661 dbusstuff.c:197) Connection Error (Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead)

** (process:661): WARNING **: 15:29:45.002: Error loading plugin: libnuspell.so.3: cannot open shared object file: No such file or directory

(ERROR-661 notificationitem.c:188) DBus Not initialized
dbus[661]: arguments to dbus_connection_send_with_reply() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3409.
This is normally a bug in some application using the D-Bus library.

dbus[661]: arguments to dbus_connection_flush() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3651.
This is normally a bug in some application using the D-Bus library.

(ERROR-661 ime.c:432) fcitx-keyboard-in-tel-kagapa already exists
(ERROR-661 ime.c:432) fcitx-keyboard-cm-mmuock already exists
(ERROR-661 kimpanel.c:318) DBus Not initialized
(ERROR-661 ipcportal.c:216) DBus Not initialized
[ 09/12/2020 15:29:56.414 x_fetch_region ERROR ] Failed to fetch rectangles (No error)
X connection to :0 broken (explicit kill or server shutdown).
polybar|warn:  module/i3: Attempting to reconnect socket (reason: Unexpected EOF while reading header)
polybar|error: module/i3: Failed to reconnect socket (reason: Failed to connect to i3: errno 2 (No such file or directory))
=========================
FCITX 4.2.9.7 -- Get Signal No.: 15
Date: try "date -d @1599917396" if you are using GNU date ***
ProcessID: 661
fcitx(+0x164b)[0x558bfe10e64b]
/usr/lib/libc.so.6(+0x3d6a0)[0x7f2c6c2b16a0]
/usr/lib/libc.so.6(__poll+0x17)[0x7f2c6c369437]
/usr/lib/libxcb.so.1(+0xc63b)[0x7f2c6ba6663b]
/usr/lib/libxcb.so.1(+0xe08f)[0x7f2c6ba6808f]
/usr/lib/libxcb.so.1(xcb_wait_for_reply64+0x43)[0x7f2c6ba68203]
/usr/lib/libX11.so.6(_XReply+0xf9)[0x7f2c6bace4b9]
/usr/lib/libX11.so.6(XGetSelectionOwner+0x51)[0x7f2c6bab43a1]
/usr/lib/fcitx/fcitx-x11.so(+0x3595)[0x7f2c6c4c8595]
/usr/lib/fcitx/fcitx-x11.so(+0x4113)[0x7f2c6c4c9113]
/usr/lib/fcitx/fcitx-x11.so(+0x2946)[0x7f2c6c4c7946]
/usr/lib/fcitx/fcitx-x11.so(+0x337d)[0x7f2c6c4c837d]
/usr/lib/libfcitx-core.so.0(+0x9612)[0x7f2c6c495612]
/usr/lib/libfcitx-core.so.0(FcitxInstanceRun+0x57)[0x7f2c6c495db7]
fcitx(+0x113e)[0x558bfe10e13e]
/usr/lib/libc.so.6(__libc_start_main+0xf2)[0x7f2c6c29c152]
fcitx(+0x11be)[0x558bfe10e1be]
polybar|warn:  Termination signal received, shutting down...
polybar|warn:  Termination signal received, shutting down...

/var/log/xdm.log

xdm info (pid 449): Starting xdm 1.1.12
xdm info (pid 449): Starting X server on :0

X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux tanuki 5.8.8-arch1-1 #1 SMP PREEMPT Wed, 09 Sep 2020 18:59:45 +0000 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=57425af9-0538-4644-8a20-2ea7546384f5 rw loglevel=3 quiet
Build Date: 02 September 2020  06:17:44AM

Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 13 12:58:26 2020
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
(EE) Backtrace:
(EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x55cce7350bd3]
(EE) 1: /usr/lib/Xorg (0x55cce720a000+0x151a15) [0x55cce735ba15]
(EE) 2: /usr/lib/libc.so.6 (0x7f6763b85000+0x3d6a0) [0x7f6763bc26a0]
(EE) 3: /usr/lib/Xorg (xf86BusProbe+0x1c2) [0x55cce7365e32]
(EE) 4: /usr/lib/Xorg (InitOutput+0xeaa) [0x55cce737744a]
(EE) 5: /usr/lib/Xorg (0x55cce720a000+0x39426) [0x55cce7243426]
(EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xf2) [0x7f6763bad152]
(EE) 7: /usr/lib/Xorg (_start+0x2e) [0x55cce72445ae]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xdm error (pid 449): server unexpectedly died
xdm error (pid 449): Server for display :0 can't be started, session disabled
xdm info (pid 449): Exiting

/var/log/Xorg.0.log

[     6.529]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[     6.529] Build Operating System: Linux Arch Linux
[     6.529] Current Operating System: Linux tanuki 5.8.8-arch1-1 #1 SMP PREEMPT Wed, 09 Sep 2020 18:59:45 +0000 x86_64
[     6.529] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=57425af9-0538-4644-8a20-2ea7546384f5 rw loglevel=3 quiet
[     6.529] Build Date: 02 September 2020  06:17:44AM
[     6.529]
[     6.529] Current version of pixman: 0.40.0
[     6.529]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[     6.529] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.529] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Sep 13 12:58:26 2020
[     6.545] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     6.545] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.551] (==) No Layout section.  Using the first Screen section.
[     6.551] (==) No screen section available. Using defaults.
[     6.551] (**) |-->Screen "Default Screen Section" (0)
[     6.551] (**) |   |-->Monitor "<default monitor>"
[     6.551] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[     6.551] (==) Automatically adding devices
[     6.551] (==) Automatically enabling devices
[     6.551] (==) Automatically adding GPU devices
[     6.551] (==) Automatically binding GPU devices
[     6.551] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     6.554] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     6.554]    Entry deleted from font path.
[     6.562] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     6.562]    Entry deleted from font path.
[     6.569] (==) FontPath set to:
        /usr/share/fonts/TTF,
        /usr/share/fonts/OTF,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[     6.569] (==) ModulePath set to "/usr/lib/xorg/modules"
[     6.569] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[     6.569] (II) Module ABI versions:
[     6.569]    X.Org ANSI C Emulation: 0.4
[     6.569]    X.Org Video Driver: 24.1
[     6.569]    X.Org XInput driver : 24.1
[     6.569]    X.Org Server Extension : 10.0
[     6.570] (--) using VT number 2

[     6.570] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     6.570] (II) xfree86: Adding drm device (/dev/dri/card0)
[     6.570] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[     6.571] (EE)
[     6.571] (EE) Backtrace:
[     6.571] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x55cce7350bd3]
[     6.571] (EE) 1: /usr/lib/Xorg (0x55cce720a000+0x151a15) [0x55cce735ba15]
[     6.571] (EE) 2: /usr/lib/libc.so.6 (0x7f6763b85000+0x3d6a0) [0x7f6763bc26a0]
[     6.571] (EE) 3: /usr/lib/Xorg (xf86BusProbe+0x1c2) [0x55cce7365e32]
[     6.571] (EE) 4: /usr/lib/Xorg (InitOutput+0xeaa) [0x55cce737744a]
[     6.571] (EE) 5: /usr/lib/Xorg (0x55cce720a000+0x39426) [0x55cce7243426]
[     6.571] (EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xf2) [0x7f6763bad152]
[     6.571] (EE) 7: /usr/lib/Xorg (_start+0x2e) [0x55cce72445ae]
[     6.571] (EE)
[     6.571] (EE) Segmentation fault at address 0x0
[     6.571] (EE)
Fatal server error:
[     6.571] (EE) Caught signal 11 (Segmentation fault). Server aborting
[     6.571] (EE)
[     6.571] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[     6.572] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     6.572] (EE)
[     6.572] (EE) Server terminated with error (1). Closing log file.

/etc/X11/xdm/xdm-config (never touched)

!
!
!
!
!
DisplayManager.authDir: /var/lib/xdm
DisplayManager.errorLogFile:    /var/log/xdm.log
DisplayManager.pidFile:         /var/run/xdm.pid
DisplayManager.keyFile:         /etc/X11/xdm/xdm-keys
DisplayManager.servers:         /etc/X11/xdm/Xservers
DisplayManager.accessFile:      /etc/X11/xdm/Xaccess
DisplayManager*resources:       /etc/X11/xdm/Xresources
DisplayManager.willing:         su nobody -s /bin/sh -c /etc/X11/xdm/Xwilling
! All displays should use authorization, but we cannot be sure
! X terminals may not be configured that way, so they will require
! individual resource settings.
DisplayManager*authorize:       true
!
DisplayManager*chooser:         /usr/lib/X11/xdm/chooser
DisplayManager*startup:         /etc/X11/xdm/Xstartup
DisplayManager*session:         /etc/X11/xdm/Xsession
DisplayManager*reset:           /etc/X11/xdm/Xreset
DisplayManager*authComplain:    true
! The following three resources set up display :0 as the console.
DisplayManager._0.setup:        /etc/X11/xdm/Xsetup_0
DisplayManager._0.startup:      /etc/X11/xdm/GiveConsole
DisplayManager._0.reset:        /etc/X11/xdm/TakeConsole
DisplayManager*loginmoveInterval:       10
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
DisplayManager.requestPort:     0

/etc/X11/xdm/Xresources

Xcursor.theme: Breeze_Amber

xlogin*login.translations: #override \
        Ctrl<Key>R: abort-display()\n\
        <Key>F1: set-session-argument(failsafe) finish-field()\n\
        <Key>Delete: delete-character()\n\
        <Key>Left: move-backward-character()\n\
        <Key>Right: move-forward-character()\n\
        <Key>Home: move-to-begining()\n\
        <Key>End: move-to-end()\n\
        Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
        <Key>KP_Enter: set-session-argument() finish-field()\n\
        Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
        <Key>Return: set-session-argument() finish-field()

xlogin*greeting: Welcome back senpai!~
xlogin*namePrompt: \040\040\040\040\040\040\040Login:
xlogin*fail: Login incorrect

#if WIDTH > 800
xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
xlogin*greetFace:       Serif-24:bold:italic
xlogin*face:            Helvetica-18
xlogin*promptFace:      Helvetica-18:bold
xlogin*failFace:        Helvetica-18:bold
#else
xlogin*greetFont: -adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
#-*-fontawesome-*-*-*-*-*-*-*-*-*-*-*-*
xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
xlogin*greetFace:       Serif-18:bold:italic
xlogin*face:            Helvetica-12
xlogin*promptFace:      Helvetica-12:bold
xlogin*failFace:        Helvetica-14:bold
#endif

#ifdef COLOR
xlogin*borderWidth: 1
xlogin*frameWidth: 5
xlogin*innerFramesWidth: 0
xlogin*shdColor: #ff9933
xlogin*hiColor: #ff9933
xlogin*background: black
xlogin*inpColor: black



#xlogin*foreground: #ff9933
#darkgreen
xlogin*greetColor: #ff9933
#Blue3
xlogin*failColor: red
*Foreground: #ffdeac
#black
*Background: #fffff0
#else
xlogin*borderWidth: 3
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 1
xlogin*shdColor: black
xlogin*hiColor: black
#endif
#if PLANES >= 8
#xlogin*logoFileName: /usr/share/xdm/pixmaps/xorg.xpm
#else
#xlogin*logoFileName: /usr/share/xdm/pixmaps/xorg-bw.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10

XConsole.text.geometry: 480x130
XConsole.verbose:       true
XConsole*iconic:        true
XConsole*font:          fixed

Chooser*geometry:               700x500+300+200
Chooser*allowShellResize:       false
Chooser*viewport.forceBars:     true
Chooser*label.font:             *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label:            XDMCP Host Menu from CLIENTHOST
Chooser*list.font:              -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font:           *-new century schoolbook-bold-r-normal-*-180-*
╭─myasnik@tanuki ~
╰─$ sudo systemctl status xdm                                                                                                                                                                             4ms
[sudo] password for myasnik:
● xdm.service - X-Window Display Manager
     Loaded: loaded (/usr/lib/systemd/system/xdm.service; enabled; vendor preset: disabled)
     Active: failed (Result: protocol) since Sun 2020-09-13 12:58:41 CEST; 1h 8min ago
    Process: 449 ExecStart=/usr/bin/xdm -nodaemon (code=exited, status=0/SUCCESS)
   Main PID: 449 (code=exited, status=0/SUCCESS)

Sep 13 12:58:24 tanuki systemd[1]: Starting X-Window Display Manager...
Sep 13 12:58:41 tanuki systemd[1]: xdm.service: Failed with result 'protocol'.
Sep 13 12:58:41 tanuki systemd[1]: Failed to start X-Window Display Manager.

Please let me know if you need more information and thanks a lot in advantage for all the help!

EDIT:

I forgot to say that when arch boots up the login tty is spawned; so i login and then if i run

sudo xdm

xdm works perfectly.
I don't know why systemd doesn't start xdm before all of this.

Last edited by myasnik (2020-09-13 19:16:22)

Offline

#2 2020-09-13 13:00:55

seth
Member
Registered: 2012-09-03
Posts: 51,253

Offline

#3 2020-09-13 17:47:47

myasnik
Member
Registered: 2020-09-13
Posts: 3

Re: [SOLVED] XDM doesn't execute at system startup

Thanks a lot!
Downgrading from xorg-server-common and xorg-server 1.20.9-2 to 1.20.8-3 solved the issue.
I had this idea but i only donwgraded xorg-xdm so nothing changed.

Offline

#4 2020-09-13 19:12:04

seth
Member
Registered: 2012-09-03
Posts: 51,253

Re: [SOLVED] XDM doesn't execute at system startup

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2020-09-13 19:15:43

myasnik
Member
Registered: 2020-09-13
Posts: 3

Re: [SOLVED] XDM doesn't execute at system startup

Sorry, doing it immediately!

Offline

Board footer

Powered by FluxBB