"old-style" startx from console prompt vs xinit 1.3.4

Jakub Bogusz qboosh at pld-linux.org
Thu Sep 18 21:55:45 CEST 2014


For trouble-shooting/search purposes:

xinit 1.3.4 by default adds current vt number to X server command line,
which doesn't work when invoking startx from console prompt (at least
without systemd or so) - X server starts, but is spinning 100% on CPU,
failing to read from current /dev/tty* device with EIO, with keyboard
disfunctional.

Possible workarounds:
- pass X server path to avoid adding vt number:
  startx -- /usr/bin/Xwrapper
- pass other vt explicitly, e.g.:
  startx -- vt10
  (may need to give tty privileges to user)

Also note, that with KMS it's possible to start non-suid Xserver
(without Xwrapper), e.g. startx -- /usr/bin/X vt10
but the user needs access to vt and possibly other devices (like
/dev/psaux for PS/2 mouse).


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list