Skip to content

Setup for option xorg

Martin Viereck edited this page Aug 21, 2022 · 3 revisions

Setup for option --xorg

  • Option --xorg runs from console without additional setup.
  • To run a second core Xorg server from within an already running X session, you have two possibilities:
    • Run x11docker as root, or
    • Edit or create file /etc/X11/Xwrapper.config and replace line:
allowed_users=console

with lines:

allowed_users=anybody
needs_root_rights=yes

On Debian and its derivates like Ubuntu and Mint you need to install package xserver-xorg-legacy. Depending on your hardware and system setup, you may not need line needs_root_rights=yes.

Without this configuration you might get an error message like:

(EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)
Clone this wiki locally