You are not logged in.

#1 2017-11-17 20:54:03

Morok
Member
Registered: 2017-11-17
Posts: 7

Neither X no DE won't start

Here're my settings:

$ cat ~/.xinitrc 
exec startxfce4

$ cat ~/.bash_profile 
#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
  exec startx
fi

On boot this doesn't work: it stops at some point and nothing happens. It's not frozen.
I have to press Alt+F2, enter my credentials and run "startxfce4" manually. After that all is good.

How to fix it?

Last edited by Morok (2017-11-17 20:54:56)

Offline

#2 2017-11-17 21:04:55

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: Neither X no DE won't start

How do you suppose your x server knows what DE should load if your xinitrc wants to load xfce4 before attempting to load xorg? wink

if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
  exec startx
fi
exec startxfce4

EDIT: nope, i wrote a pile of bullshit but the meaning is the same: your xinitrc is blank, having just "exec startsomething" would not suffice, delete that xinitrc and ensure you have installed the xorg-xinit package, a default .xinitrc should be generated, edit that and add " exec startxfce4" at the end...

EDIT 2: second time writing bullshit, just read https://wiki.archlinux.org/index.php/Xinit#xinitrc and let me have some rest (better, some coffee) for today

Last edited by lo1 (2017-11-17 21:13:41)

Offline

#3 2017-11-17 21:38:25

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

Re: Neither X no DE won't start

systemctl list-unit-files --state=enabled

Offline

#4 2017-11-18 02:00:18

Morok
Member
Registered: 2017-11-17
Posts: 7

Re: Neither X no DE won't start

$ sudo systemctl list-unit-files --state=enabled
 
UNIT FILE                                   STATE  
autovt@.service                             enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service  enabled
display-manager.service                     enabled
getty@.service                              enabled
NetworkManager-dispatcher.service           enabled
NetworkManager.service                      enabled
postgresql.service                          enabled
sddm.service                                enabled
systemd-timesyncd.service                   enabled

Offline

#5 2017-11-18 02:03:41

Morok
Member
Registered: 2017-11-17
Posts: 7

Re: Neither X no DE won't start

>>EDIT 2: second time writing bullshit, just read https://wiki.archlinux.org/index.php/Xinit#xinitrc and let me have some rest (better, some coffee) for today

Bingo. That's what I had done before even posting

Offline

#6 2017-11-18 02:05:42

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,741
Website

Re: Neither X no DE won't start

Morok wrote:

On boot this doesn't work: it stops at some point and nothing happens. It's not frozen.

Please post Xorg's log from that session.

The output of `ls -l ~/.xinitrc` might show something noteworthy.

Offline

#7 2017-11-18 03:07:48

Morok
Member
Registered: 2017-11-17
Posts: 7

Re: Neither X no DE won't start

$ ls -l ~/.xinitrc
-rw-r--r-- 1 iiii users 16 Nov 18 04:41 /home/iiii/.xinitrc

$ cat /var/log/Xorg.0.log
[    51.129] 
X.Org X Server 1.19.5
Release Date: 2017-10-12
[    51.129] X Protocol Version 11, Revision 0
[    51.129] Build Operating System: Linux 4.9.54-1-lts x86_64 
[    51.129] Current Operating System: Linux something1234 4.13.12-1-ARCH #1 SMP PREEMPT Wed Nov 8 11:54:06 CET 2017 x86_64
[    51.129] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=aaa-bbbb-ccc-addd3f5-eeee rw quiet splash
[    51.129] Build Date: 12 October 2017  09:59:53PM
[    51.129]  
[    51.129] Current version of pixman: 0.34.0
[    51.129]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    51.129] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    51.129] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Nov 18 04:11:06 2017                                                                             
[    51.130] (==) Using system config directory "/usr/share/X11/xorg.conf.d"                                                                                  
[    51.131] (==) No Layout section.  Using the first Screen section.                                                                                         
[    51.131] (==) No screen section available. Using defaults.                                                                                                
[    51.131] (**) |-->Screen "Default Screen Section" (0)                                                                                                     
[    51.131] (**) |   |-->Monitor "<default monitor>"                                                                                                         
[    51.132] (==) No monitor specified for screen "Default Screen Section".                                                                                   
        Using a default monitor configuration.                                                                                                                
[    51.132] (==) Automatically adding devices                                                                                                                
[    51.132] (==) Automatically enabling devices                                                                                                              
[    51.132] (==) Automatically adding GPU devices                                                                                                            
[    51.132] (==) Automatically binding GPU devices                                                                                                           
[    51.132] (==) Max clients allowed: 256, resource mask: 0x1fffff                                                                                           
[    51.136] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".                                                                         
[    51.136]    Entry deleted from font path.                                                                                                                 
[    51.136]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").                                                                                              
[    51.136] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".                                                                          
[    51.136]    Entry deleted from font path.                                                                                                                 
[    51.136]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").                                                                                               
[    51.136] (==) FontPath set to:                                                                                                                            
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/
[    51.136] (==) ModulePath set to "/usr/lib/xorg/modules"
[    51.136] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    51.137] (II) Loader magic: 0x55b1c1dd0d60
[    51.137] (II) Module ABI versions:
[    51.137]    X.Org ANSI C Emulation: 0.4
[    51.137]    X.Org Video Driver: 23.0
[    51.137]    X.Org XInput driver : 24.1
[    51.137]    X.Org Server Extension : 10.0
[    51.137] (--) using VT number 1

[    51.137] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    51.138] (II) xfree86: Adding drm device (/dev/dri/card0)
[    51.139] (--) PCI:*(0:0:2:0) 8086:1916:17aa:2238 rev 7, Mem @ 0xf0000000/16777216, 0xe0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[    51.139] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    51.139] (II) LoadModule: "glx"
[    51.141] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    51.150] (II) Module glx: vendor="X.Org Foundation"
[    51.150]    compiled for 1.19.5, module version = 1.0.0
[    51.150]    ABI class: X.Org Server Extension, version 10.0
[    51.150] (==) Matched intel as autoconfigured driver 0
[    51.150] (==) Matched intel as autoconfigured driver 1
[    51.150] (==) Matched modesetting as autoconfigured driver 2
[    51.150] (==) Matched fbdev as autoconfigured driver 3
[    51.150] (==) Matched vesa as autoconfigured driver 4
[    51.150] (==) Assigned the driver to the xf86ConfigLayout
[    51.150] (II) LoadModule: "intel"
[    51.150] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    51.153] (II) Module intel: vendor="X.Org Foundation"
[    51.153]    compiled for 1.19.5, module version = 2.99.917
[    51.153]    Module class: X.Org Video Driver
[    51.153]    ABI class: X.Org Video Driver, version 23.0
[    51.153] (II) LoadModule: "modesetting"
[    51.154] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    51.154] (II) Module modesetting: vendor="X.Org Foundation"
[    51.154]    compiled for 1.19.5, module version = 1.19.5
[    51.154]    Module class: X.Org Video Driver
[    51.154]    ABI class: X.Org Video Driver, version 23.0
[    51.154] (II) LoadModule: "fbdev"
[    51.154] (WW) Warning, couldn't open module fbdev
[    51.154] (II) UnloadModule: "fbdev"
[    51.154] (II) Unloading fbdev
[    51.154] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    51.154] (II) LoadModule: "vesa"
[    51.155] (WW) Warning, couldn't open module vesa
[    51.155] (II) UnloadModule: "vesa"
[    51.155] (II) Unloading vesa
[    51.155] (EE) Failed to load module "vesa" (module does not exist, 0)
[    51.155] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    51.155] (II) intel: Driver for Intel(R) HD Graphics
[    51.155] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    51.155] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    51.155] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    51.176] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20170619
[    51.176] (II) intel(0): SNA compiled from 2.99.917-800-g37a682aa
[    51.283] (WW) Falling back to old probe method for modesetting
[    51.286] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 520
[    51.286] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[    51.286] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    51.286] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    51.286] (==) intel(0): RGB weight 888
[    51.286] (==) intel(0): Default visual is TrueColor
[    51.287] (II) intel(0): Output eDP1 has no monitor section
[    51.288] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[    51.288] (II) intel(0): Enabled output eDP1
[    51.288] (II) intel(0): Output DP1 has no monitor section
[    51.288] (II) intel(0): Enabled output DP1
[    51.288] (II) intel(0): Output HDMI1 has no monitor section
[    51.288] (II) intel(0): Enabled output HDMI1
[    51.288] (II) intel(0): Output DP2 has no monitor section
[    51.289] (II) intel(0): Enabled output DP2
[    51.289] (II) intel(0): Output HDMI2 has no monitor section
[    51.289] (II) intel(0): Enabled output HDMI2
[    51.289] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    51.289] (II) intel(0): Output VIRTUAL1 has no monitor section
[    51.289] (II) intel(0): Enabled output VIRTUAL1
[    51.289] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[    51.290] (==) intel(0): TearFree enabled
[    51.290] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    51.290] (==) intel(0): DPI set to (96, 96)
[    51.290] (II) Loading sub module "dri3"
[    51.290] (II) LoadModule: "dri3"
[    51.290] (II) Module "dri3" already built-in
[    51.290] (II) Loading sub module "dri2"
[    51.290] (II) LoadModule: "dri2"
[    51.290] (II) Module "dri2" already built-in
[    51.290] (II) Loading sub module "present"
[    51.290] (II) LoadModule: "present"
[    51.290] (II) Module "present" already built-in
[    51.290] (II) UnloadModule: "modesetting"
[    51.290] (II) Unloading modesetting
[    51.290] (==) Depth 24 pixmap format is 32 bpp
[    51.294] (II) intel(0): SNA initialized with Skylake (gen9) backend
[    51.294] (==) intel(0): Backing store enabled
[    51.294] (==) intel(0): Silken mouse enabled
[    51.295] (II) intel(0): HW Cursor enabled
[    51.295] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    51.296] (==) intel(0): DPMS enabled
[    51.296] (==) intel(0): Display hotplug detection enabled
[    51.297] (II) intel(0): [DRI2] Setup complete
[    51.297] (II) intel(0): [DRI2]   DRI driver: i965
[    51.297] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    51.297] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[    51.297] (II) intel(0): hardware support for Present enabled
[    51.297] (--) RandR disabled
[    51.361] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    51.361] (II) AIGLX: enabled GLX_ARB_create_context
[    51.361] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    51.361] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    51.361] (II) AIGLX: enabled GLX_INTEL_swap_event
[    51.361] (II) AIGLX: enabled GLX_SGI_swap_control
[    51.361] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    51.361] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    51.361] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    51.361] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    51.361] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    51.361] (II) AIGLX: Loaded and initialized i965
[    51.361] (II) GLX: Initialized DRI2 GL provider for screen 0
[    51.366] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    51.371] (II) intel(0): Setting screen physical size to 508 x 285
[    51.436] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[    51.436] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    51.436] (II) LoadModule: "libinput"
[    51.437] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    51.441] (II) Module libinput: vendor="X.Org Foundation"
[    51.441]    compiled for 1.19.3, module version = 0.26.0
[    51.441]    Module class: X.Org XInput Driver
[    51.441]    ABI class: X.Org XInput driver, version 24.1
[    51.441] (II) Using input driver 'libinput' for 'Power Button'
[    51.441] (**) Power Button: always reports core events
[    51.441] (**) Option "Device" "/dev/input/event5"
[    51.441] (**) Option "_source" "server/udev"
[    51.442] (II) event5  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    51.442] (II) event5  - (II) Power Button: (II) device is a keyboard
[    51.442] (II) event5  - (II) Power Button: (II) device removed
[    51.467] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event5"
[    51.467] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    51.467] (II) event5  - (II) Power Button: (II) is tagged by udev as: Keyboard
[    51.467] (II) event5  - (II) Power Button: (II) device is a keyboard
[    51.468] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[    51.468] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    51.468] (II) Using input driver 'libinput' for 'Video Bus'
[    51.468] (**) Video Bus: always reports core events
[    51.468] (**) Option "Device" "/dev/input/event7"
[    51.468] (**) Option "_source" "server/udev"
[    51.468] (II) event7  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[    51.468] (II) event7  - (II) Video Bus: (II) device is a keyboard
[    51.468] (II) event7  - (II) Video Bus: (II) device removed
[    51.507] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input10/event7"
[    51.507] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    51.509] (II) event7  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[    51.509] (II) event7  - (II) Video Bus: (II) device is a keyboard
[    51.510] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[    51.510] (II) No input driver specified, ignoring this device.
[    51.510] (II) This device may have been added with another device file.
[    51.511] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[    51.511] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    51.511] (II) Using input driver 'libinput' for 'Sleep Button'
[    51.511] (**) Sleep Button: always reports core events
[    51.511] (**) Option "Device" "/dev/input/event4"
[    51.511] (**) Option "_source" "server/udev"
[    51.512] (II) event4  - (II) Sleep Button: (II) is tagged by udev as: Keyboard
[    51.512] (II) event4  - (II) Sleep Button: (II) device is a keyboard
[    51.512] (II) event4  - (II) Sleep Button: (II) device removed
[    51.537] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input5/event4"
[    51.537] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    51.538] (II) event4  - (II) Sleep Button: (II) is tagged by udev as: Keyboard
[    51.538] (II) event4  - (II) Sleep Button: (II) device is a keyboard
[    51.539] (II) config/udev: Adding input device Lenovo USB Receiver (/dev/input/event1)
[    51.539] (**) Lenovo USB Receiver: Applying InputClass "libinput pointer catchall"
[    51.539] (II) Using input driver 'libinput' for 'Lenovo USB Receiver'
[    51.539] (**) Lenovo USB Receiver: always reports core events
[    51.539] (**) Option "Device" "/dev/input/event1"
[    51.539] (**) Option "_source" "server/udev"
[    51.598] (II) event1  - (II) Lenovo USB Receiver: (II) is tagged by udev as: Mouse
[    51.598] (II) event1  - (II) Lenovo USB Receiver: (II) device is a pointer
[    51.598] (II) event1  - (II) Lenovo USB Receiver: (II) device removed
[    51.634] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:17EF:6042.0001/input/input2/event1"
[    51.634] (II) XINPUT: Adding extended input device "Lenovo USB Receiver" (type: MOUSE, id 9)
[    51.634] (**) Option "AccelerationScheme" "none"
[    51.634] (**) Lenovo USB Receiver: (accel) selected scheme none/0
[    51.634] (**) Lenovo USB Receiver: (accel) acceleration factor: 2.000
[    51.634] (**) Lenovo USB Receiver: (accel) acceleration threshold: 4
[    51.691] (II) event1  - (II) Lenovo USB Receiver: (II) is tagged by udev as: Mouse
[    51.691] (II) event1  - (II) Lenovo USB Receiver: (II) device is a pointer
[    51.693] (II) config/udev: Adding input device Lenovo USB Receiver (/dev/input/mouse0)
[    51.693] (II) No input driver specified, ignoring this device.
[    51.693] (II) This device may have been added with another device file.
[    51.695] (II) config/udev: Adding input device Lenovo USB Receiver (/dev/input/event2)
[    51.696] (**) Lenovo USB Receiver: Applying InputClass "libinput keyboard catchall"
[    51.696] (II) Using input driver 'libinput' for 'Lenovo USB Receiver'
[    51.696] (**) Lenovo USB Receiver: always reports core events
[    51.696] (**) Option "Device" "/dev/input/event2"
[    51.696] (**) Option "_source" "server/udev"
[    51.697] (II) event2  - (II) Lenovo USB Receiver: (II) is tagged by udev as: Keyboard
[    51.697] (II) event2  - (II) Lenovo USB Receiver: (II) device is a keyboard
[    51.697] (II) event2  - (II) Lenovo USB Receiver: (II) device removed
[    51.720] (II) libinput: Lenovo USB Receiver: needs a virtual subdevice
[    51.720] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:17EF:6042.0002/input/input3/event2"
[    51.720] (II) XINPUT: Adding extended input device "Lenovo USB Receiver" (type: MOUSE, id 10)
[    51.721] (**) Option "AccelerationScheme" "none"
[    51.721] (**) Lenovo USB Receiver: (accel) selected scheme none/0
[    51.721] (**) Lenovo USB Receiver: (accel) acceleration factor: 2.000
[    51.721] (**) Lenovo USB Receiver: (accel) acceleration threshold: 4
[    51.722] (II) event2  - (II) Lenovo USB Receiver: (II) is tagged by udev as: Keyboard
[    51.722] (II) event2  - (II) Lenovo USB Receiver: (II) device is a keyboard
[    51.724] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event6)
[    51.724] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[    51.724] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[    51.724] (**) Integrated Camera: Integrated C: always reports core events
[    51.724] (**) Option "Device" "/dev/input/event6"
[    51.724] (**) Option "_source" "server/udev"
[    51.725] (II) event6  - (II) Integrated Camera: Integrated C: (II) is tagged by udev as: Keyboard
[    51.725] (II) event6  - (II) Integrated Camera: Integrated C: (II) device is a keyboard
[    51.725] (II) event6  - (II) Integrated Camera: Integrated C: (II) device removed
[    51.770] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input9/event6"
[    51.770] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 11)
[    51.772] (II) event6  - (II) Integrated Camera: Integrated C: (II) is tagged by udev as: Keyboard
[    51.772] (II) event6  - (II) Integrated Camera: Integrated C: (II) device is a keyboard
[    51.773] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event11)
[    51.773] (II) No input driver specified, ignoring this device.
[    51.773] (II) This device may have been added with another device file.
[    51.774] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event12)
[    51.774] (II) No input driver specified, ignoring this device.
[    51.774] (II) This device may have been added with another device file.
[    51.775] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event13)
[    51.775] (II) No input driver specified, ignoring this device.
[    51.775] (II) This device may have been added with another device file.
[    51.776] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event14)
[    51.776] (II) No input driver specified, ignoring this device.
[    51.776] (II) This device may have been added with another device file.
[    51.777] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event15)
[    51.777] (II) No input driver specified, ignoring this device.
[    51.777] (II) This device may have been added with another device file.
[    51.778] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event16)
[    51.778] (II) No input driver specified, ignoring this device.
[    51.778] (II) This device may have been added with another device file.
[    51.778] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event17)
[    51.778] (II) No input driver specified, ignoring this device.
[    51.778] (II) This device may have been added with another device file.
[    51.779] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event18)
[    51.779] (II) No input driver specified, ignoring this device.
[    51.779] (II) This device may have been added with another device file.
[    51.780] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    51.780] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    51.780] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    51.780] (**) AT Translated Set 2 keyboard: always reports core events
[    51.780] (**) Option "Device" "/dev/input/event0"
[    51.780] (**) Option "_source" "server/udev"
[    51.781] (II) event0  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[    51.782] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[    51.782] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device removed
[    51.800] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    51.800] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[    51.802] (II) event0  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[    51.802] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[    51.803] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8)
[    51.803] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    51.803] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    51.803] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    51.804] (II) LoadModule: "synaptics"
[    51.804] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    51.807] (II) Module synaptics: vendor="X.Org Foundation"
[    51.807]    compiled for 1.19.0, module version = 1.9.0
[    51.807]    Module class: X.Org XInput Driver
[    51.807]    ABI class: X.Org XInput driver, version 24.1
[    51.807] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    51.807] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    51.807] (**) Option "Device" "/dev/input/event8"
[    51.847] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[    51.847] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1262 - 5679 (res 44)
[    51.847] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1101 - 4824 (res 65)
[    51.847] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    51.847] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    51.847] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[    51.847] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    51.847] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    51.847] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    51.847] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    51.887] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event8"
[    51.887] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[    51.887] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    51.887] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    51.887] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.035
[    51.888] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    51.888] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    51.888] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    51.888] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    51.888] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    51.889] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[    51.889] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    51.892] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event9)
[    51.892] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[    51.892] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[    51.892] (**) TPPS/2 IBM TrackPoint: always reports core events
[    51.892] (**) Option "Device" "/dev/input/event9"
[    51.892] (**) Option "_source" "server/udev"
[    51.892] (II) event9  - (II) TPPS/2 IBM TrackPoint: (II) is tagged by udev as: Mouse Pointingstick
[    51.892] (II) event9  - (II) TPPS/2 IBM TrackPoint: (II) trackpoint device set to range 31
[    51.892] (II) event9  - (II) TPPS/2 IBM TrackPoint: (II) device is a pointer
[    51.892] (II) event9  - (II) TPPS/2 IBM TrackPoint: (II) device removed
[    51.927] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input12/event9"
[    51.927] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 14)
[    51.927] (**) Option "AccelerationScheme" "none"
[    51.927] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[    51.927] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    51.927] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    51.929] (II) event9  - (II) TPPS/2 IBM TrackPoint: (II) is tagged by udev as: Mouse Pointingstick
[    51.929] (II) event9  - (II) TPPS/2 IBM TrackPoint: (II) trackpoint device set to range 31
[    51.929] (II) event9  - (II) TPPS/2 IBM TrackPoint: (II) device is a pointer
[    51.930] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse2)
[    51.930] (II) No input driver specified, ignoring this device.
[    51.930] (II) This device may have been added with another device file.
[    51.932] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event10)
[    51.932] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[    51.932] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[    51.932] (**) ThinkPad Extra Buttons: always reports core events
[    51.932] (**) Option "Device" "/dev/input/event10"
[    51.932] (**) Option "_source" "server/udev"
[    51.933] (II) event10 - (II) ThinkPad Extra Buttons: (II) is tagged by udev as: Keyboard Switch
[    51.933] (II) event10 - (II) ThinkPad Extra Buttons: (II) device is a keyboard
[    51.933] (II) event10 - (II) ThinkPad Extra Buttons: (II) device is a switch device
[    51.933] (II) event10 - (II) ThinkPad Extra Buttons: (II) device removed
[    51.960] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event10"
[    51.960] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 15)
[    51.962] (II) event10 - (II) ThinkPad Extra Buttons: (II) is tagged by udev as: Keyboard Switch
[    51.962] (II) event10 - (II) ThinkPad Extra Buttons: (II) device is a keyboard
[    51.962] (II) event10 - (II) ThinkPad Extra Buttons: (II) device is a switch device
[    51.988] (**) Lenovo USB Receiver: Applying InputClass "libinput keyboard catchall"
[    51.988] (II) Using input driver 'libinput' for 'Lenovo USB Receiver'
[    51.988] (**) Lenovo USB Receiver: always reports core events
[    51.988] (**) Option "Device" "/dev/input/event2"
[    51.988] (**) Option "_source" "_driver/libinput"
[    51.989] (II) libinput: Lenovo USB Receiver: is a virtual subdevice
[    51.989] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:17EF:6042.0002/input/input3/event2"
[    51.989] (II) XINPUT: Adding extended input device "Lenovo USB Receiver" (type: KEYBOARD, id 16)
[    52.544] (II) intel(0): EDID vendor "AUO", prod id 5949
[    52.544] (II) intel(0): Printing DDC gathered Modelines:
[    52.544] (II) intel(0): Modeline "1920x1080"x0.0  141.00  1920 1936 1952 2104  1080 1083 1097 1116 -hsync -vsync (67.0 kHz eP)
[   282.353] (II) event5  - (II) Power Button: (II) device removed
[   282.363] (II) event7  - (II) Video Bus: (II) device removed
[   282.396] (II) event4  - (II) Sleep Button: (II) device removed
[   282.410] (II) event1  - (II) Lenovo USB Receiver: (II) device removed
[   282.440] (II) event6  - (II) Integrated Camera: Integrated C: (II) device removed
[   282.476] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device removed
[   282.527] (II) event9  - (II) TPPS/2 IBM TrackPoint: (II) device removed
[   282.560] (II) event10 - (II) ThinkPad Extra Buttons: (II) device removed
[   282.573] (II) event2  - (II) Lenovo USB Receiver: (II) device removed
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "synaptics"
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "libinput"
[   282.587] (II) UnloadModule: "libinput"
[   282.668] (II) Server terminated successfully (0). Closing log file.

Last edited by Morok (2017-11-18 03:10:44)

Offline

#8 2017-11-18 03:09:28

Morok
Member
Registered: 2017-11-17
Posts: 7

Re: Neither X no DE won't start

Also, why won't sddm start?

Offline

#9 2017-11-18 03:47:55

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

Re: Neither X no DE won't start

There are many, many threads about SDDM from the last several weeks. A simple search will suffice.



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2017-11-18 06:51:56

Morok
Member
Registered: 2017-11-17
Posts: 7

Re: Neither X no DE won't start

what about my initial question?

Offline

#11 2017-11-18 06:56:09

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

Re: Neither X no DE won't start

My guess would be the racing SDDM service is blocking TTY1. Disable it and see if your autologin works. Also, fix your xinitrc (see the wiki page for the details).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2017-11-18 18:29:42

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,741
Website

Re: Neither X no DE won't start

Morok wrote:
$ cat /var/log/Xorg.0.log

That seems to show a successful X session, I asked to see the logs for a failed session.

jasonwryan wrote:

My guess would be the racing SDDM service is blocking TTY1.

Although the OP has sddm.service enabled that will only be run if the default is set to graphical.target, which I presume the OP has not done as they appear to desire a console login.

We should check though:

ls -l /etc/systemd/system/default.target

Offline

#13 2017-11-19 02:34:57

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,140

Re: Neither X no DE won't start

Head_on_a_Stick wrote:
jasonwryan wrote:

My guess would be the racing SDDM service is blocking TTY1.

Although the OP has sddm.service enabled that will only be run if the default is set to graphical.target, which I presume the OP has not done as they appear to desire a console login.

We should check though:

ls -l /etc/systemd/system/default.target

This probably doesn't even exist. Enabling sddm.service creates display-manager.service. There is no default.target on my system. (Of course, there's a default target. But there's no default.target. The former is graphical. Enabling sddm.service achieved this. If I disable it, I'll get a command-line instead.)

If there is no default.target under /etc, as is the case by default, I assume that the default.target is the one under /usr/lib/systemd/system, which links to graphical.target. However, I'm not certain of this.

Last edited by cfr (2017-11-19 02:35:34)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#14 2017-11-19 13:37:46

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,741
Website

Re: Neither X no DE won't start

cfr wrote:

Enabling sddm.service creates display-manager.service. There is no default.target on my system. (Of course, there's a default target. But there's no default.target. The former is graphical. Enabling sddm.service achieved this. If I disable it, I'll get a command-line instead.)

If there is no default.target under /etc, as is the case by default, I assume that the default.target is the one under /usr/lib/systemd/system, which links to graphical.target. However, I'm not certain of this.

Ah, interesting, thanks!

We could ask systemd instead:

systemctl status default.target

I think my box must have that there because I find it useful to toggle between CLI & DM logins:

# systemctl set-default graphical.target # multi-user.target to change back

although if the OP wants to use the console then SDDM should probably be removed to simplify things.

Offline

Board footer

Powered by FluxBB