Bug#899416: x11-common: several problems starting X server on fresh stretch netinstall
Package: x11-common
Version: 1:7.7+19
Severity: important
Dear Maintainer,
I faced several problems when trying to start the x-server via either xinit or startx
1. first, clients could not connect to the x-server. when I tried starting via
service x11-common start or via systemctl, I got "service has been masked".
to work around this, I had to reinstall the server after deleting the
/lib/systemd/system/x11-common.service symlink pointing to /dev/null
as suggested by the answer to question 804946 in askubuntu.com
2. Then, I was getting permission errors with /dev/tty0 and /dev/tty2.
I worked around this with sudo chown $(whoami) /dev/tty[0-9],
but suspect a user shouldn't have to do this
3. Now, I am getting the error: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted). I've googled this error and there doesn't seem to be a consistent workaround to this problem
Additional notes:
- xinit, startx do work as root
- I am running debian stretch 9.4 on VirtualBox
Questions:
- How do I resolve the current situation with problem #3?
- Why am I facing so many problems on a fresh debian netinstall?
- Is it possible to make the "xf86EnableIOPorts: failed to set IOPL for I/O (Operation
not permitted)" error message more meaningful?
-- System Information:
Debian Release: 9.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages x11-common depends on:
ii lsb-base 9.20161125
x11-common recommends no packages.
x11-common suggests no packages.
-- no debconf information
Reply to: