2

I'm running Arch Linux on a Lenovo ThinkPad with integrated Intel GPU hardware. After my recent pacman update, KDE fails to start. The system ran fine before the update. There were no errors during the update and I did not force anything or do anything unusual.

The first and only error message in the xorg log is:

xf86OpenSerial: Cannot open device /dev/input/event17. Permission denied

I have sddm disabled currently. I boot up, log in, and type startx. KDE appears to start, but then the screen goes blank. Every few seconds, the desktop background will flash, but mostly the screen is blank and unresponsive to the mouse.

While this was happening I switched to virtual console 2, logged in and viewed the xorg log. The following photograph shows the error message (mentioned above). Grep indicates that there are no other error messages.

enter image description here

If I kill the GUI user session, switch back to vitual console 1 and run startx again, X will start but KDE does not start. At that point, my situation is exactly the same as described in this thread.

My plasma desktop is not starting after the last update... It's giving a black screen and a little graphical message at the top left screen corner saying: Could not sync environment to dbus.

Here's a photo of my screen. It's plain old X.

enter image description here

The solution proposed there is to remove ~/.config. I tried that and it did not resolve the problem or change anything.

As part of my troubleshooting, I tried adding my user to the input group (even though my other Arch KDE machines work without having done this), which is the group that owns files /dev/input/event*

sudo usermod -a -G input myuser

Now there are no errors shown in the xorg log, but KDE still fails to start and I get X with the dialog message: Could not sync environment to dbus.

Further searching led me to the following blog:

X freezing as "systemd-logind: got pause for [...]"

However, I do not have two instances of dbus-daemon running. Just one.

The xorg log continues to show these messages:

(II) AIGLX: Suspending AIGLX clients for VT switch
(II) systemd-logind: got pause for 13:64
(II) systemd-logind: got pause for 13:75
(II) systemd-logind: got resume for 13:64
(II) systemd-logind: got pause for 13:64
(II) systemd-logind: got resume for 13:75
(II) systemd-logind: got pause for 13:75
(II) systemd-logind: got pause for 13:81

The system is using xf86-input-evdev and xorg-xinput. My user's .xinitrc is standard and was created according to the Arch wiki and it hasn't changed recently.

UPDATE

Next I removed ~/.cache as per mviereck's comment.

That did not resolve it. The error now is

xf86OpenConsole: Cannot Open /dev/tty0 (Permission Denied). 

My user is a member of the tty group.

I also reinstalled xorg-server as per this forum thread but that did not resolve the issue.

  • You can try to remove ~/.cache, too. – mviereck Dec 5 '17 at 19:51
  • @mviereck I tried that but still no luck. The error now is xf86OpenConsole: Cannot Open /dev/tty0 (Permission Denied). My user is a member of the tty group. I also reinstalled xorg-server as per bbs.archlinux.org/viewtopic.php?id=38633 but that did not resolve it. – MountainX Dec 6 '17 at 5:11
  • Try startx -- vtN with N being the tty number you are logged in. (vt1...vt6 as in tty1....tty6). Newer versions of Xorg have a more strict vt handling. Or try startkde, maybe it runs X / xinit better than startx. – mviereck Dec 6 '17 at 9:59
  • With startx -- vt1 I get the same X dialog error "Could not sync environment to dbus." When I run startx it calls startkde. If I call startkde directly, the $DISPLAY env var is not set (and probably others are not set either). – MountainX Dec 7 '17 at 3:28
  • I'm about to commit the intolerable sin of re-installing Arch... – MountainX Dec 7 '17 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.