* [gentoo-user] Xorg-server start on VT07
@ 2018-10-03 12:22 John R. Shannon
0 siblings, 0 replies; only message in thread
From: John R. Shannon @ 2018-10-03 12:22 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2634 bytes --]
I'm trying to get a display manager (slim) and Xorg-server working in a
LXC container. I'm using systemd.
I can successfully ssh into the container and:
systemctl start slim.service
with everything working as desired.
However, when slim.service is started as part of the container's
startup, the Xserver fails to start because:
Oct 02 07:54:57 XorgContainer slim[37]: Fatal server error:
Oct 02 07:54:57 XorgContainer slim[37]: (EE) xf86OpenConsole: Cannot
open virtual console 7 (Operation not permitted)
The permissions on tty7:
# ls -l /dev/tty7
crw--w---- 1 root tty 4, 7 Oct 2 07:52 /dev/tty
The server's log has:
[ 138.732] ABI class: X.Org Video Driver, version 23.0
[ 138.732] (II) LoadModule: "evdev"
[ 138.732] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 138.732] (II) Module evdev: vendor="X.Org Foundation"
[ 138.732] compiled for 1.19.5, module version = 2.10.6
[ 138.732] Module class: X.Org XInput Driver
[ 138.732] ABI class: X.Org XInput driver, version 24.1
[ 138.732] (II) LoadModule: "kbd"
[ 138.732] (II) Loading /usr/lib64/xorg/modules/input/kbd_drv.so
[ 138.732] (II) Module kbd: vendor="X.Org Foundation"
[ 138.732] compiled for 1.19.5, module version = 1.9.0
[ 138.732] Module class: X.Org XInput Driver
[ 138.732] ABI class: X.Org XInput driver, version 24.1
[ 138.732] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[ 138.732] (EE)
Fatal server error:
[ 138.732] (EE) xf86OpenConsole: Cannot open virtual console 7
(Operation not permitted)
/etc/slim.conf has:
xserver_arguments -nolisten tcp -br -deferglyphs 16 -keeptty vt07
The use flags and Xorg driver specification in make.conf are:
USE="X acpi fontconfig gallium gtk icu inotify jpeg
lcms libkms mpi png policykit rdp smp sockets svg symlink syslog
systemd
threads tiff truetype udev usb vmware xft xorg -consolekit -dbis
-fortran -ipv6 -nls -sendmail"
VIDEO_CARDS="vmware"
INPUT_DEVICES="evdev"
There is one package specific use flag:
# package.use# required by x11-drivers/xf86-video-vmware-13.3.0::gentoo
# required by x11-base/xorg-drivers-1.19::gentoo[video_cards_vmware]
# required by x11-base/xorg-server-1.19.5-r2::gentoo[xorg]
# required by x11-drivers/xf86-input-keyboard-1.9.0::gentoo
# required by @selected
# required by @world (argument)
>=media-libs/mesa-18.1.6 xa
The LXC container is a privileged container.
The software is up-to-date as of this AM.
I'm not sure how to debug this.
--
John R. Shannon
john@johnrshannon.com
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4369 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-03 12:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-03 12:22 [gentoo-user] Xorg-server start on VT07 John R. Shannon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox