X server only starts as root
16,450
Edit /etc/X11/Xwrapper.config
as follow :
allowed_users=anybody
needs_root_rights=yes
Related videos on Youtube
Author by
IW16
Updated on September 18, 2022Comments
-
IW16 over 1 year
I have an Arch Linux system, stock kernel and drivers. For some strange reason, xinit produces an error when it is started by a non-root user. The logs say this:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
However, I can
stat
andls
the file from the non-root user and the permission on it are 755-
Tom Hunt over 8 yearsPossibly relevant: bugzilla.redhat.com/show_bug.cgi?id=1203780 Is your xorg the latest version? Are you using a wrapper?
-
ojs over 8 yearsUmm, on my arch-linux the permissions on
/dev/tty0
are 620, and owner isroot
and group id istty
. Try setting the write permission for group and see if that helps.
-
-
Hi-Angel over 7 yearss/Edit/Create. ⁺¹.
-
Oli almost 7 yearsJust helped me on a raw Ubuntu 16.04 Server+X install, thanks.
-
placid chat over 2 yearsmaybe
allowed_user=console
would be a better invocation?