Since around 4 days ago X wont run, and my web searches show i'm hitting
the same sorts of issues that arose when X moved away from running as root.

In strace, i see;
$ grep Permi startx11.out
319   setpriority(PRIO_PROCESS, 320, -1) = -1 EACCES (Permission denied)
320   openat(AT_FDCWD, "/dev/tty0", O_WRONLY) = -1 EACCES (Permission
denied)
320   openat(AT_FDCWD, "/proc/mtrr", O_WRONLY|O_CLOEXEC) = -1 EACCES
(Permission denied)

$ ls -l /dev/tty0 /proc/mtrr
crw--w---- 1 root tty  4, 0 Oct  4 18:14 /dev/tty0
-rw-r--r-- 1 root root    0 Oct  4 18:14 /proc/mtrr

$ grep libexec startx11.out
320   faccessat(AT_FDCWD, "/usr/libexec/Xorg.wrap", X_OK) = 0
320   execve("/usr/libexec/Xorg.wrap", ["/usr/libexec/Xorg.wrap",
"-nolisten", "tcp", ":0", "-auth", "/home/adam/.serverauth.303"],
0x55b02e0cdc20 /* 38 vars */) = 0

$ ls -l /usr/libexec/Xorg.wrap
-rws--x--x 1 root root 14392 Oct  2 19:19 /usr/libexec/Xorg.wrap

Also from Xorg.0.log
[   176.550] (EE) systemd-logind: failed to get session: PID 320 does not
belong to any known session

I cant work out why there's an issue given the suid root on Xorg.wrap, so I
rebuilt systemd and the X stuff, but no change.

Any ideas?

Reply via email to