You are not logged in.

#1 2025-05-21 14:12:37

Not-MilanGurung
Member
Registered: 2025-05-21
Posts: 4

[SOLVED] Libinput touchpad config prevented sddm from loading

I encountered a problem when I created a basic touch pad configuration following the wiki in

 /etc/X11/xorg.conf.d/30-touchpad.conf 

  After I rebooted by system, it gave the error :

 Failed to read display number from pipe 

Removing the configuration file solved the issue but now I am curious on whether I did something wrong or is this some kind of bug.

Last edited by Not-MilanGurung (2025-05-24 04:32:47)

Offline

#2 2025-05-21 18:45:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,802

Re: [SOLVED] Libinput touchpad config prevented sddm from loading

What were the contents of said configuration file?

Offline

#3 2025-05-22 03:35:46

Not-MilanGurung
Member
Registered: 2025-05-21
Posts: 4

Re: [SOLVED] Libinput touchpad config prevented sddm from loading

V1del wrote:

What were the contents of said configuration file?

Here is the config; copied straight from the wiki:

Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
    Option "TappingButtonMap" "lmr"
EndSection

I didn't have time to modify it further because I was in class

Offline

#4 2025-05-22 18:51:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,802

Re: [SOLVED] Libinput touchpad config prevented sddm from loading

That should™ be fine. Resulting xorg log from the SDDM failure?

Offline

#5 2025-05-23 02:55:37

Not-MilanGurung
Member
Registered: 2025-05-21
Posts: 4

Re: [SOLVED] Libinput touchpad config prevented sddm from loading

Here is the journal log (Xorg log only goes back one session and I am now 4 sessions ahead. Not sure what the difference is between them is)

May 21 19:21:52 notMilan sddm[738]: Initializing...
May 21 19:21:52 notMilan sddm[738]: Starting...
May 21 19:21:52 notMilan sddm[738]: Logind interface found
May 21 19:21:52 notMilan sddm[738]: Adding new display...
May 21 19:21:52 notMilan sddm[738]: Loaded empty theme configuration
May 21 19:21:52 notMilan sddm[738]: Xauthority path: "/run/sddm/xauth_hjzlUQ"
May 21 19:21:52 notMilan sddm[738]: Using VT 2
May 21 19:21:52 notMilan sddm[738]: Display server starting...
May 21 19:21:52 notMilan sddm[738]: Writing cookie to "/run/sddm/xauth_hjzlUQ"
May 21 19:21:52 notMilan sddm[738]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_hjzlUQ -noreset -displayfd 16
May 21 19:21:52 notMilan sddm[738]: Failed to read display number from pipe
May 21 19:21:52 notMilan sddm[738]: Display server stopping...
May 21 19:21:52 notMilan sddm[738]: Attempt 1 starting the Display server on vt 2 failed
May 21 19:21:54 notMilan sddm[738]: Display server starting...
May 21 19:21:54 notMilan sddm[738]: Writing cookie to "/run/sddm/xauth_hjzlUQ"
May 21 19:21:54 notMilan sddm[738]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_hjzlUQ -noreset -displayfd 16
May 21 19:21:54 notMilan sddm[738]: Failed to read display number from pipe
May 21 19:21:54 notMilan sddm[738]: Display server stopping...
May 21 19:21:54 notMilan sddm[738]: Attempt 2 starting the Display server on vt 2 failed
May 21 19:21:56 notMilan sddm[738]: Display server starting...
May 21 19:21:56 notMilan sddm[738]: Writing cookie to "/run/sddm/xauth_hjzlUQ"
May 21 19:21:56 notMilan sddm[738]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_hjzlUQ -noreset -displayfd 16
May 21 19:21:56 notMilan sddm[738]: Failed to read display number from pipe
May 21 19:21:56 notMilan sddm[738]: Display server stopping...
May 21 19:21:56 notMilan sddm[738]: Attempt 3 starting the Display server on vt 2 failed
May 21 19:21:56 notMilan sddm[738]: Could not start Display server on vt 2
May 21 19:30:29 notMilan sudo[1381]:    milan : TTY=tty2 ; PWD=/home/milan ; USER=root ; COMMAND=/usr/bin/rm /etc/X11/xorg.conf.d/30-touchpad.conf
May 21 19:32:04 notMilan sddm[738]: Signal received: SIGTERM
May 21 19:32:04 notMilan systemd[1]: sddm.service: Deactivated successfully.

Additionally, I remember installing and uninstalling libinput-gestures, and updating tuxedo-drivers-dkms for my laptop (the source changed from GitHub to Gitlab). I first tried uninstalling, and rebuilding the drivers (rebooting after each action) but it didn't solve anything (the sddm logs for all those sessions are the same as this).  Then I removed the touchpad.conf and rebooted, and sddm successfully launched.
I can try recreating the error if needed.

Last edited by Not-MilanGurung (2025-05-23 02:58:33)

Offline

#6 2025-05-23 14:52:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,802

Re: [SOLVED] Libinput touchpad config prevented sddm from loading

We'd need the actual xorg log. SDDM is not going to know why the xorg server died.

Offline

#7 2025-05-24 04:30:40

Not-MilanGurung
Member
Registered: 2025-05-21
Posts: 4

Re: [SOLVED] Libinput touchpad config prevented sddm from loading

I found my mistake. I wrongfully assumed that I just copied the config from the wiki when I actually also copied something else (found using when I looked through my browser history) and there I found

 ... 
EndSection

The ...  creates the error. I kinda feel dumb for making such a simple mistake. I will in future make sure to make backups of configs instead of out right removing them, and also use logrotate for xorg logs. Anyway thanks for the help V1del.

Offline

Board footer

Powered by FluxBB