Project

General

Profile

Solved: No keyboard or mouse functionality in xorg after migrating to openrc

masochism-os - 10 months ago -

I followed these migration instruction: https://wiki.parabola.nu/OpenRC#Migrating_from_a_Systemd_installation.

Once my window manager starts up, the keyboard and mouse do nothing. Dmesg shows "systemd-logind: failed to get session: pid 1725 does not belong to any known session" and a bunch of the following errors: "libinput: device-name: failed to create device" for the power button, mouse, video bus, etc.

There shouldn't be a systemd-logind on an openrc system, right? Pacman says elogind is for systemd. I have elogind-openrc installed, but when I try to uninstall elogind, I get warnings that it's a dependency of elogind-openrc and warnings that removing elogind breaks dependency systemd for polkit, libgudev, upower, and a bunch of other important-looking packages. I force uninstalled elogind and saw at next boot something like "elogind failed to start."


Replies (4)

RE: No keyboard or mouse functionality in xorg after migrating to openrc - anonymous - 10 months ago -

Hello. You should have installed "libelogind" package. You can check needed packages also in Installation Guide https://wiki.parabola.nu/Installation_Guide (4.7.2 and 4.11.2 section). Also check that you have xf86-input-* packages from "xorg-drivers" (https://www.parabola.nu/groups/x86_64/xorg-drivers/) group.

RE: No keyboard or mouse functionality in xorg after migrating to openrc - masochism-os - 10 months ago -

anonymous wrote:

Hello. You should have installed "libelogind" package. You can check needed packages also in Installation Guide https://wiki.parabola.nu/Installation_Guide (4.7.2 and 4.11.2 section). Also check that you have xf86-input-* packages from "xorg-drivers" (https://www.parabola.nu/groups/x86_64/xorg-drivers/) group.

libelogind and the xf86-input-libinput driver were already installed. I tried installing libevdev and the xf86-input-evdev driver as well. The problem remains.

The installation guide needs to be updated. It references packages that aren't in the repo, for example, openrc-desktop and notsystemd-udev.

RE: No keyboard or mouse functionality in xorg after migrating to openrc - anonymous - 10 months ago -

1. Check "dbus-openrc" and "elogind-openrc" packages. Openrc-desktop is not need.
2. You should not have it in run level. Install "your-initfreedom", it will delete systemd-specific packages as conflicts.

There shouldn't be a systemd-logind on an openrc system, right?

3. Check work mouse and keyboard in DE as root user.
4. Keyboard is wrong in tty?

RE: No keyboard or mouse functionality in xorg after migrating to openrc - masochism-os - 10 months ago -

Solved. I had to add my user account to the input group.

    (1-4/4)